Commit Graph

710 Commits

Author SHA1 Message Date
Michael McCandless c514022081 LUCENE-1658: split FSDir into base class vs SimpleFSDir; strenghten javadocs on which FSDir subclass is best; add FSDir.open that picks a good default
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780225 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 10:00:45 +00:00
Michael McCandless 80a79f5bee LUCENE-1542: properly index first token(s) with 0 position increment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780220 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 09:36:10 +00:00
Mark Robert Miller 3c3b283e3c LUCENE-1653: Avoid creating a Calendar in every call to DateTools#dateToString, DateTools#timeToString and DateTools#round.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779575 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 12:01:35 +00:00
Michael McCandless d47c46f1a9 LUCENE-1575: clarify that certain float values are invalid scores
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778813 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 17:51:52 +00:00
Michael McCandless 4b6474f60c LUCENE-1654: IndexWriter now records basic diagnostics into each segment it writes; commit metadata upgraded from String to Map<String,String>
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778490 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 20:07:24 +00:00
Michael McCandless 28fe2523d9 LUCENE-1647: fix case where IndexReader.undeleteAll would make the segment's deletion count incorrect
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777686 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 19:57:53 +00:00
Michael McCandless 83e440bf6d LUCENE-1636: make TokenFilter.input final
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777197 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 17:36:53 +00:00
Grant Ingersoll 27fc5cd348 LUCENE-1550: Added new ngram spell checking distance
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776704 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 14:07:08 +00:00
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
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 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
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
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
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 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
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 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 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
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 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 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 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
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
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 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
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 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 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
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 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 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 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
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
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 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 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 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 dcd63a35e7 LUCENE-1186: add Analyzer.close() to close the internal ThreadLocal
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749326 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 15:08:54 +00:00
Michael McCandless 1afef18d4a LUCENE-1546: add IndexReader.flush(String commitUserData)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@748493 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 12:20:23 +00:00
Yonik Seeley 6c176eb016 LUCENE-1398: Add ReverseStringFilter to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747915 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:44:05 +00:00
Michael McCandless 657a887e95 LUCENE-1544: fix deadlock in IW.addIndexes(IndexReader[])
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746661 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 12:20:27 +00:00
Grant Ingersoll 36438c1ee7 remove minor typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746210 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 11:32:56 +00:00
Michael McCandless 35d2b765be LUCENE-1506: add FilteredDocIdSet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740361 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 17:53:46 +00:00
Michael McCandless 4d7f92be9b LUCENE-1314: add IndexReader.clone(boolean readOnly) and reopen(boolean readOnly)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@739238 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 11:12:48 +00:00
Michael McCandless 994ae0e18a LUCENE-1487: add FieldCacheTermsFilter, to filter by multiple terms on single-valued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738622 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 21:05:26 +00:00