Commit Graph

3611 Commits

Author SHA1 Message Date
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
Uwe Schindler ca6451958b Add extra check to TokenStream tests, only get attribute not create it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763793 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 20:32:35 +00:00
Uwe Schindler b5c4f8e67d Add field name to term statistics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763778 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:31:42 +00:00
Michael McCandless 3c91517add LUCENE-1516: add near real-time search to IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763737 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 17:17:46 +00:00
Michael McCandless bb8b2e1462 LUCENE-1590: don't allow stored-only fields to mess up the index-only attrs like omitNorms and omitTermFreqAndPositions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763591 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 10:37:50 +00:00
Michael McCandless 6b4831fd1d LUCENE-1591: workaround bug in xerces so we can process Wikipedia's XML
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763416 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 21:50:33 +00:00
Michael McCandless cb95e45419 LUCENE-1561: don't change Fieldable interface for the rename; add deprecated to AbstractField's omitTf methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763354 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 19:17:56 +00:00
Michael McCandless 9fc1c180b2 LUCENE-1546: also declare all subclasses' doCommit() to be deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763024 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:52:49 +00:00
Uwe Schindler c7ac1fdec3 LUCENE-1582: Fix missing public accessor in ShiftAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763004 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:25:46 +00:00
Patrick O'Leary 42783c57e5 Commit LUCENE-1588 DistanceFieldComparatorSource
deprecate BoundaryBoxFilter

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@762801 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 14:54:50 +00:00
Uwe Schindler 13ae26b7fe LUCENE-1582: Make TrieRange completely independent from Document/Field with TokenStream of prefix encoded values
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@762710 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 11:47:35 +00:00
Michael McCandless b86ded6fae LUCENE-1582: enable FieldCache.Parser to stop early
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@762684 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 10:59:22 +00:00
Michael McCandless c7fe3c5cb0 LUCENE-1586: add IndexReader.getUniqueTermCount
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@762647 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:25:14 +00:00
Michael McCandless bddac65336 share single IndexSearcher instance in ReadTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@762307 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 12:20:42 +00:00
Michael McCandless 3fc80aa239 clarify limitations of implementation vs file format itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@761886 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 10:18:05 +00:00
Michael McCandless 47ee1d3c27 make it clear that IW.commit() commits all changes, not just added/deleted docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@761414 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 20:16:57 +00:00
Michael McCandless 8ebc550760 change 'ant test' to run core, contrib & back-compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@761303 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 14:14:42 +00:00
Michael McCandless fe475f0176 small optimization: re-use a single TermDocs instance when deleting-by-Term
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@761000 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 18:25:18 +00:00
Michael McCandless ef613da566 carry over 2.4.1's CHANGES entry to trunk's CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@760831 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 09:52:30 +00:00
Michael McCandless 12e212ccae LUCENE-1579: make sure cloned SegmentReaders share the same entry in FieldCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@760486 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 15:41:08 +00:00
Michael McCandless 7be6fa54f0 fix javadocs for optimize, on transient disk usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@760186 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 21:31:01 +00:00
Grant Ingersoll c2b6731cc4 Add StopFilter makeStopSet methods that take a list, since we just call Arrays.asList() again anyway and we might already have a list
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@760058 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 17:26:55 +00:00
Michael McCandless 7aa012ca27 LUCENE-1573: don't ignore, or enter spinloop, when Thread.interrupt() is called
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@759556 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 19:10:55 +00:00
Michael McCandless c73712d1bb LUCENE-1576: fix BrazilianAnalyzer to downcase before filtering stop words
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@759307 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 19:04:25 +00:00
Michael McCandless 2d221f79ad add javadoc NOTE about package-private APIs for MergePolicy & MergeScheduler
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@759068 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 09:19:05 +00:00
Michael McCandless 0f17904f1e remove slow download host; only download zip file once for all tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@759061 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 08:44:33 +00:00
Michael McCandless 198aa70b35 LUCENE-1500: fix compilation errors in contrib/benchmark by allowing doHighlight method to throw InvalidTokenOfsetsException
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@758575 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 10:03:34 +00:00
Mark Harwood 73a02ec6fe Fix for Lucene-1500 - new exception added to Highlighter API to handle TokenStreams with Tokens that exceed given text length
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@758460 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 23:05:14 +00:00
Mark Robert Miller 126f4b18d3 LUCENE-1563:Add example test case for surround query language
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@757762 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 12:28:13 +00:00
Michael McCandless c6f7aa41a3 fix clone() case that could incorrectly leave stored fields files open
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@757185 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 13:21:58 +00:00
Michael McCandless 04c0d1f81a LUCENE-652: deprecate FieldSelectorResult.LOAD_FOR_MERGE, since it's really an internal option and is used only for dealing with compressed fields, which are now externalized
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756911 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 10:35:52 +00:00