Commit Graph

3415 Commits

Author SHA1 Message Date
Michael McCandless 571a058767 LUCENE-1634: add calibrateSizeByDeletes to LogMergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775489 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 15:58:36 +00:00
Michael McCandless af550281cb LUCENE-1629: remove unnecessary source files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775468 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 14:08:38 +00:00
Michael McCandless f81f6796a2 LUCENE-1629: correct ASF source headers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775444 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 09:55:34 +00:00
Michael McCandless 130c568b44 LUCENE-1638: fix thread hazard when autoCommit=true and multiple threads are committing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775249 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 17:30:43 +00:00
Yonik Seeley ca5a7436fa LUCENE-1596: check that enum and termdocs came from same reader before invoking optimization
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775201 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 15:50:12 +00:00
Yonik Seeley f4415a3924 LUCENE-1596: MultiTermDocs speedup when set with MultiTermDocs.seek(MultiTermEnum)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774846 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 16:40:23 +00:00
Michael McCandless 61dc82c6d0 LUCENE-1629: set javadocs encoding to UTF-8
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774796 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 14:48:37 +00:00
Uwe Schindler 2cbb1e2d43 set eol to native
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774733 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 11:29:41 +00:00
Michael McCandless be0a47b7e3 LUCENE-1629: move CHANGES entry to contrib; add TestArabicAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774727 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 10:50:52 +00:00
Michael McCandless e01aad89fe LUCENE-1629: adding new contrib analyzer SmartChineseAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774718 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 10:09:22 +00:00
Mark Robert Miller cc240447d4 pendingOutput is a bit generic for a field in a large class - changed to pendingSegnOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774626 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 03:57:09 +00:00
Michael McCandless 549996ec70 fix javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774289 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 12:16:35 +00:00
Yonik Seeley dc0ba58d0e LUCENE-1633: fix toString typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@773863 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 12:21:21 +00:00
Michael McCandless d4f9809520 LUCENE-1593: optimize core Collectors for in-docID-order scorer case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@773194 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 10:36:41 +00:00
Michael McCandless 4a41b8c229 LUCENE-1625: properly set openReaderPassed in CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@773190 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 10:21:41 +00:00
Mark Robert Miller 3dbed702f0 update changes.txt for LUCENE-1621
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@772158 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 11:47:30 +00:00
Mark Robert Miller 3c434afb8f LUCENE-1621: deprecate MultiTermQuery:getTerm
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@772156 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 11:42:05 +00:00
Michael McCandless aa870e356f fix CHANGES.txt number
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@771619 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 08:28:45 +00:00
Michael McCandless 703f1d794b add getters to FSD; change listAll to directly create String[]
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@771260 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 10:16:21 +00:00
Mark Robert Miller 6bcd89a916 fix for LUCENE-1425
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770993 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 22:46:26 +00:00
Michael McCandless 3a3223639c LUCENE-1618: added FileSwitchDirectory, which will be used for NRT readers in IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770841 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 22:12:24 +00:00
Michael McCandless a068b83719 LUCENE-1623: fix case that was swallowing IOException; use .clear() instead of creating new ArrayList/HashMap
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770839 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 22:08:43 +00:00
Chris M. Hostetter 582356dc2e LUCENE-1494: Added FieldMaskingSpanQuery which can be used to cross-correlate Spans from different fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770794 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 19:14:31 +00:00
Michael McCandless ab1254b4e6 fix Bollean -> Boolean typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770715 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 15:34:43 +00:00
Michael McCandless a5748695cc LUCENE-1623: add CHANGES entry on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770631 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:54:35 +00:00
Michael McCandless 311640cd35 LUCENE-1623: properly handle back-compatibility of field names with non-ascii characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770625 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:37:08 +00:00
Michael McCandless baa4034c01 LUCENE-1624: don't write a new empty commit when create=true and autoCommit=false on creating IndexWriter, unless dir has no index yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770615 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:25:52 +00:00
Uwe Schindler 673b90e651 Correct JavaDocs in TrieUtils. This also adds a missing test for equals() and hashcode() of the TrieRangeQueries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770602 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 09:55:01 +00:00
Chris M. Hostetter 9620458453 another bit of sanity checking for queries: rewriting should be equal to cloning and rewriting
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770483 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 23:18:13 +00:00
Michael McCandless b58e470eb7 LUCENE-1611: fix case where OutOfMemoryException in IndexWriter could cause infinite merging to happen
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770414 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:50:34 +00:00
Michael McCandless 9ba59706b0 try to prevent false failure of testTimedSearchTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770151 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 10:32:56 +00:00
Patrick O'Leary 46619cfa23 Fixed bug caused by multiSegmentIndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769639 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 03:53:21 +00:00
Michael McCandless 888a897063 LUCENE-1616: switch to single setOffset API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769543 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:17:38 +00:00
Michael McCandless e4d9711c97 remove dead code (exceptions list) from ConcurrentMergeScheduler; add comment to the 250 msec sleep
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769533 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 20:59:44 +00:00
Michael McCandless 72d1873533 LUCENE-1604: allow IndexReader.norms to return null if the field has no norms; this is off by default but will be hardwired to on in 3.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769524 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 20:38:47 +00:00
Michael McCandless f3189d8063 LUCENE-1617: add -Dtestpackage=XXX and -Dtestpackageroot=lucene to run a package's tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769522 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 20:23:52 +00:00
Patrick O'Leary 9242c2b6e1 Fix class cast exception in SerialChainFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769470 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 17:14:09 +00:00
Michael McCandless 8c8500d1f8 make default exception handler in ConcurrentMergeHandler pause for 250 msec after each exception, to prevent saturating CPU
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769431 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 15:12:53 +00:00
Michael McCandless ea90d1152d add missing interrupt restore on InterruptedException
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769409 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 14:05:43 +00:00
Michael McCandless 3b71cc921a LUCENE-1619: remove unnecessary initTermBuffer()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769300 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 08:46:25 +00:00
Michael McCandless 984ac64054 add defensive asserts for the indexInterval / skipInterval in tis/tii files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769294 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 08:33:37 +00:00
Michael McCandless 6fd8d227d9 LUCENE-1615: remove some more deprecated uses of Fieldable.omitTf
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768908 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 09:34:05 +00:00
Michael McCandless 1533642443 remove redundant CHANGES entries from trunk if they are already covered in 2.4.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768906 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 09:27:53 +00:00
Michael McCandless 65fd24fbc4 LUCENE-1610: fix changes-to-html to properly format <code>...</code>
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768427 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 22:21:38 +00:00
Michael McCandless ce0113725e fix a few small things Steven Rowe found
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768411 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 20:45:18 +00:00
Mark Robert Miller b839a65395 move detectType to SortField
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768385 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:59:04 +00:00
Michael McCandless 91dcc5cfcb LUCENE-1516: add missing getter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768378 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:32:30 +00:00
Mark Robert Miller b8bb58c1ca put in warning about fvhq not doing auto resolution on the SortFields passed to it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768371 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:00:39 +00:00
Otis Gospodnetic 09c6c1a44c - Fixed javadoc and some crazy indentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768337 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 15:51:31 +00:00
Mark Robert Miller 2bed56df6a put back auto resolution that LUCENE-1483 moved out - needed for those using fshq without indexsearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768275 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 12:30:10 +00:00