Commit Graph

916 Commits

Author SHA1 Message Date
Michael McCandless c40a12dd46 jdocs: note that calling close(false) can hit MergeAbortedExc's in optimize, addIndexes(IndexReader[]), expungeDeletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063837 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 19:18:48 +00:00
Uwe Schindler 9e51a873f6 LUCENE-2889: Remove @lucene.experimental from Numeric*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063762 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 15:47:28 +00:00
Michael McCandless c403d3e756 LUCENE-2887: sharpen jdocs for IndexReader.undeleteAll
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063513 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 23:15:01 +00:00
Uwe Schindler bb391fd3ed LUCENE-1846: DateTools now uses the US locale everywhere, so DateTools.round() is safe also in strange locales
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063501 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 22:56:18 +00:00
Michael McCandless 323ea4134d LUCENE-2474: add expert ReaderFinishedListener API, for external caches to evict entries for readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063498 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 22:42:37 +00:00
Uwe Schindler fcf6e305b4 LUCENE-1472: Removed synchronization from static DateTools methods by using a ThreadLocal. Also converted DateTools.Resolution to a Java 5 enum.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063493 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 22:26:59 +00:00
Robert Muir a4a913d01b LUCENE-792: add test for PrecedenceQueryParser NOT bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063478 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 22:00:14 +00:00
Simon Willnauer 68f67a4b23 LUCENE-2888: Several DocsEnum / DocsAndPositionsEnum return wrong docID when next() / advance(int) return NO_MORE_DOCS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063332 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 16:12:35 +00:00
Michael McCandless 5642eb07c4 LUCENE-2010: drop segments that are 100% deleted docs in IW/IR commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063323 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 15:40:51 +00:00
Shai Erera 913a9e4491 LUCENE-1250: fix equals() to check for null and not fail on NPE (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063272 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 13:34:48 +00:00
Adriano Crestani Campos a20e2cd89a applying patches from LUCENE-2855 and LUCENE-2867 to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063095 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 01:22:35 +00:00
Steven Rowe 1b44e0b9a5 added support for maven artifact generation of the new Solr UIMA contrib; the top-level get-maven-poms target now forces copying of all of the source pom.xml files, even if the source is not newer than the target files, so that version changes will always take effect when specified through the -Dversion ant cmdline option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062936 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:33:14 +00:00
Robert Muir 3f255f6cea LUCENE-2236: per-field similarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062927 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:13:31 +00:00
Michael McCandless 25f5488fd2 LUCENE-2884: fix StandardPostingsReader's enums to not try to load skip data when there wasn't any
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062908 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 18:16:01 +00:00
Michael McCandless 8d1994b2e3 LUCENE-2382: check for aborted merge when merging postings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062889 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 17:26:17 +00:00
Michael McCandless ff27795666 add verbosity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062876 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 16:56:58 +00:00
Shai Erera 047d76bf6a LUCENE-2693: Add delete term and query need to more precisely record the bytes used (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062832 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 15:35:55 +00:00
Robert Muir 924e745b06 add assertion to check that skip pointer isn't past EOF
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062810 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 14:51:15 +00:00
Simon Willnauer ce53019db5 LUCENE-2882: Cut over SpanQuery#getSpans to AtomicReaderContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062775 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 13:51:06 +00:00
Robert Muir 32e156ffdb LUCENE-2879: MultiPhraseQuery summed its own idf instead of Similarity.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062633 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 03:33:45 +00:00
Michael McCandless 68dc071064 make sure bulk merging is working
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062509 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 20:00:08 +00:00
Michael McCandless 29fd9b86c0 fix typo in CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062451 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 15:24:33 +00:00
Michael McCandless a58d5763bc sync CHANGES from 3.x Bug Fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062428 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 13:58:20 +00:00
Uwe Schindler 4addc16415 Fix incorrect Interface override
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062409 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 12:27:51 +00:00
Shai Erera a2218c398f remove nocommit in SegmentReader and simplify code which gets the DocStoreSegment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062388 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 11:11:42 +00:00
Shai Erera 133e70cad6 LUCENE-2720: IndexWriter should throw IndexFormatTooOldExc on open, not later during optimize/getReader/close (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062325 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 05:10:48 +00:00
Robert Muir 81dba8b8e8 LUCENE-2824: Optimize BufferedIndexInput to do less bounds checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061622 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 04:10:05 +00:00
Robert Muir e2675f59f8 LUCENE-2872: remove warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061619 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 04:01:49 +00:00
Steven Rowe 74360c80f5 LUCENE-2657: Replace Maven POM templates with full POMs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061613 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 03:44:13 +00:00
Robert Muir 4f2a9e7aa3 LUCENE-2876: Remove Scorer.getSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061499 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:36:44 +00:00
Michael McCandless 1a0f78778b LUCENE-2872: block-encode terms in between indexed terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061453 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 18:53:55 +00:00
Michael McCandless fb20497e42 LUCENE-2843: fix silly ob1 in the index term selectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061230 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 11:34:10 +00:00
Uwe Schindler 1099f8465d LUCENE-2875: Rework token metadata for NumericTermAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061060 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:20:43 +00:00
Robert Muir ede75ff9ae LUCENE-2869: remove Query.getSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061050 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:03:19 +00:00
Uwe Schindler 460fa90564 LUCENE-2374: Added Attribute reflection API: It's now possible to inspect the contents of AttributeImpl and AttributeSource using a well-defined API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061039 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 22:41:16 +00:00
Uwe Schindler 0e731a4b64 LUCENE-2875: Support cloning of NumericTermAttribute by refactoring NumericTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060900 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 18:59:02 +00:00
Michael McCandless bc23b9f4d3 add asserts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060872 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 17:21:49 +00:00
Robert Muir 07af30a7c8 can't reliably crash recent IBM J9 jvms this way
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060807 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 13:17:33 +00:00
Robert Muir dfa449c1c6 LUCENE-2874: Highlighting overlapping tokens outputs doubled words
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060779 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 12:05:00 +00:00
Uwe Schindler fc57be7f36 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060608 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 22:52:41 +00:00
Michael McCandless d7491ea757 typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060440 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 16:14:12 +00:00
Michael McCandless 43fe48710b LUCENE-2755: fix accidental commit that caused CMS to deadlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060437 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 16:12:00 +00:00
Uwe Schindler 78e306799d Fix incorrect Interface override
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060415 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 15:25:38 +00:00
Shai Erera 2a0484bd40 LUCENE-2295: remove maxFieldLength (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060340 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 12:01:40 +00:00
Michael McCandless e43fdc9654 say how many msec flush took, in infoStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060324 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 11:31:35 +00:00
Robert Muir fcd36f5770 clear javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060098 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 21:25:46 +00:00
Robert Muir 9aefaf7b2b synchronized contrib/CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1059936 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 14:45:21 +00:00
Robert Muir 140101dc38 synchronize CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1059914 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 13:20:54 +00:00
Shai Erera 9906198ff3 LUCENE-2755: documentation updates, formatting and tiny mods to CMS (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1059905 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 12:49:28 +00:00
Shai Erera 39fad978a0 LUCENE-2701: port to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1059751 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 04:47:03 +00:00