Commit Graph

3941 Commits

Author SHA1 Message Date
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
Uwe Schindler 5807d11b70 LUCENE-1602: Fix incomplete toString(), hashcode() and equals() because boost was not involved there (copy'n'paste error from the Filter, which had no boost)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@767982 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 17:07:36 +00:00
Doron Cohen 6a57acf9d4 update to search/function javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@767283 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 20:19:55 +00:00
Michael McCandless 0a828c2f9d LUCENE-1573: add missing synchronized in test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@766440 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 09:38:26 +00:00
Michael McCandless e0c2792a57 Java 1.4 build of Xerces JAR
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@766300 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 11:16:27 +00:00
Michael McCandless 33f6b48d1a message (to infoStream) when a merge exception is handled
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765663 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 15:22:09 +00:00
Michael McCandless f5831d86ae LUCENE-1605: add BitVector.subset
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765649 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 14:29:26 +00:00
Mark Robert Miller 4560d9da77 update to TermEnum#skipTo javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765620 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 13:02:12 +00:00
Uwe Schindler 92c6484161 LUCENE-1602: Rewrite TrieRange to use MultiTermQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765618 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 12:58:28 +00:00
Mark Robert Miller 45986b246c feed junit found and expected in assertMatchesPattern
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765584 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 11:50:36 +00:00
Michael McCandless 55c0cc3922 LUCENE-1603: improve MultiTermQuery for better sharing, and so Trie(Numeric)RangeQuery can use it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765581 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 11:37:23 +00:00
Michael McCandless 022d104c38 LUCENE-1591: add commons-compress JAR
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765580 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 11:28:46 +00:00
Michael McCandless 8c4fff6e21 LUCENE-1591: add bzip2 compression/decompress to contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765543 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 09:46:30 +00:00
Michael McCandless fb8bb98c2a moving back compat tag forward
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765170 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 12:50:39 +00:00
Michael McCandless be84c48e87 LUCENE-1529: do not include trunk's classes when running back compat tests (to properly test jar drop-in-ability)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764958 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 21:19:45 +00:00
Michael McCandless 1699ee9d7f LUCENE-1603: some improvements to MultiTermQuery/FilteredTermEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764930 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 19:35:43 +00:00
Uwe Schindler 87e10db563 Add a missing check for inverse ranges in splitRange() and corresponding tests for inverse ranges and 0-length-ranges.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764829 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 15:28:06 +00:00
Michael McCandless 26be4aa353 don't swallow unexpected IOException in TestLockFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764734 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 10:49:23 +00:00
Uwe Schindler 3ef76ae033 Small documentation updates, test fixed according to attributes documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764654 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 00:36:02 +00:00
Michael McCandless f6f1d00d72 LUCENE-1600: don't over-intern String field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764596 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 20:07:28 +00:00
Michael McCandless 6cab0952aa fix SnapshotDeletionPolicy to remove the test dir if present to prevent false failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764579 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 19:35:32 +00:00
Michael McCandless ad79d914e4 LUCENE-1575: switch to new Collector API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764551 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 18:33:56 +00:00
Mark Robert Miller 413cabef1f Contrib queries package Query implementations do not override equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763857 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 02:21:04 +00:00
Mark Robert Miller a1b3fd7240 Add ConstantScore highlighting support to SpanScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763856 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 02:09:46 +00:00
Mark Robert Miller d74d56d9c9 LUCENE-1587: RangeQuery#equals() could consider a RangeQuery without a collator equal to one with a collator.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763840 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 00:40:31 +00:00