Commit Graph

3941 Commits

Author SHA1 Message Date
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
Patrick O'Leary 4f7ef62e1f Fixed NPE for minimal bounding box search
LUCENE-1568

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756849 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 00:46:27 +00:00
Michael McCandless a00257a7ba LUCENE-652: add compress/decompressString, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756760 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 21:10:12 +00:00
Michael Busch a7697e8cef LUCENE-1327: Fix TermSpans#skipTo() to behave as specified in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756669 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:31:43 +00:00
Michael McCandless c443dcc662 LUCENE-1561: rename omitTf -> omitTermFreqAndPositions in Field*
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756663 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:26:01 +00:00
Michael McCandless 39c8421992 LUCENE-652: add org.apache.lucene.document.CompressionTools; deprecate Field.Store.COMPRESS
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756635 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:13:42 +00:00
Michael Busch dc1447005d LUCENE-1529: Properly test drop-in replacement of jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756374 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 08:47:25 +00:00
Michael McCandless 52676e3248 LUCENE-1445: include junit jar in source dist, and servlet-api jar in source & binary dist
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756038 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 15:08:08 +00:00
Michael McCandless 7d18c4997a LUCENE-1543: allow MatchAllDocsQuery to specify a field whose norms are used to set document scores
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756029 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 14:40:55 +00:00
Michael McCandless 6bf0e6e09b LUCENE-1435: add contrib/collation (CollationKeyFilter), to convert tokens into indexable CollationKeys
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755914 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 10:51:55 +00:00
Michael McCandless 787e518048 term vectors use 3 (not 4) files in the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755747 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 21:42:32 +00:00
Michael McCandless e44e6b0603 LUCENE-1490: forgot CHANGES.txt update
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755746 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 21:42:17 +00:00
Michael McCandless 5d05762169 LUCENE-1434: add IndexableBinaryStringTools
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755742 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 21:35:51 +00:00
Michael McCandless 96863198a5 LUCENE-1490: fix latin1 conversion of HALFWIDTH_AND_FULLWIDTH_FORMS characters to only apply to the correct subset
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755666 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 17:28:53 +00:00
Michael McCandless 68f4d8b1a8 revert accidental changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755652 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 17:06:46 +00:00
Michael McCandless 7004e8c042 LUCENE-1145: small improvements to DisjunctionSumScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755639 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 16:44:50 +00:00
Michael McCandless cd5028b79a improve IndexWriter.rollback javadoc src/java/org/apache/lucene/index/IndexWriter.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755535 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 10:22:51 +00:00
Michael McCandless 904b7967c1 LUCENE-1564: don't let Field.setValue switch between binary & non-binary fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@754789 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 23:24:39 +00:00
Michael McCandless 36329624f9 republish versioned site
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@753425 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 21:20:06 +00:00
Michael McCandless 75d6fab25b LUCENE-1551: add expert IndexReader.reopen(IndexCommit)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@752538 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 17:32:37 +00:00
Michael McCandless cce1e98416 small javadoc fixes to IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@752432 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 12:43:00 +00:00