Michael McCandless
6248e14515
LUCENE-1548: fix distance normalization in LevenshteinDistance to not produce negative distances
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@748534 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 14:07:12 +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
Michael McCandless
5cbdc2b8f2
fix make newComparator public in TestSort
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@748150 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:46:54 +00:00
Michael McCandless
f6fe5a1fe0
make abstract FieldComparatorSource.newComparator public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@748123 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 12:59:58 +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
5e56337374
make TopFieldDocs ctor public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747745 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 11:02:57 +00:00
Chris M. Hostetter
b97ee3a1a5
some javadoc cleanup, and deprecation note for older version of norm modification tool
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747627 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 00:29:17 +00:00
Michael McCandless
6fc659a345
LUCENE-1547: fix rare thread hazard in IndexWriter.commit()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747251 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 01:30:35 +00:00
Michael McCandless
90d98045d8
clarify IndexWriter.rollback javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747247 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 01:20:11 +00:00
Michael McCandless
fa48227f98
LUCENE-1483: add missing deprecations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747019 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 13:59:50 +00:00
Uwe Schindler
174e8237b9
Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746792 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:29:42 +00:00
Uwe Schindler
c314ad000f
LUCENE-1470: API change in RangeBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746790 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:17:13 +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
Michael McCandless
f8dc3bbd7d
LUCENE-1314: add asserts during *Reader.clone() that the incoming SegmentInfo/s matches the current reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746343 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 19:37:25 +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
Mark Robert Miller
107da37d21
update javadoc for allowDocsOutOfOrder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@745886 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 14:44:53 +00:00
Uwe Schindler
03db7c81c1
LUCENE-1470: Remove the recursion from splitRange and implement with loop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@745533 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 15:08:02 +00:00
Michael McCandless
cd89bc9de3
LUCENE-1314: allow clone of subreaders; add note to getSequentialSubReaders javadoc to not use sub-readers to make changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@744653 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 10:56:36 +00:00
Uwe Schindler
8b79fa51a5
LUCENE-1470: New implementation using encoding of TrieUtils and TrieRangeFilter that now also supports 32bit and 64bit fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@744207 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 18:27:01 +00:00
Michael McCandless
18b819abe0
correct java code fragment in javadocs for reopen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@743303 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 11:14:47 +00:00
Karl-Johan Wettin
6e692d38ec
LUCENE-1531
...
Added support for BoostingTermQuery to XML query parser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@742411 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 11:49:33 +00:00
Michael McCandless
c45b701113
LUCENE-1538: don't bottlneck threads on IndexReader.isDeleted in ValueSourceQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@742406 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 11:26:20 +00:00
Yonik Seeley
5388a5c7ac
LUCENE-1314: fix reopen bug wrt fields that don't have norms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@741838 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 03:30:24 +00:00
Michael McCandless
dbe0898d63
LUCENE-1535: use random seed for randomness, but print the seed on failure for reproducibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@741311 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 21:53:40 +00:00
Michael McCandless
396cfd9fe1
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740855 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 20:15:42 +00:00
Michael McCandless
8846fd359e
replace 'if' with 'assert' to eek performance in BitVector.get
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740806 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 17:34:02 +00:00
Uwe Schindler
80b471b0cc
one Math.max too much, sorry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740444 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:07:11 +00:00
Uwe Schindler
b2c04094ef
Fix jUnit test problem with exclusive range if upper==lower (thanks to Michael McCandless):
...
[junit] junit.framework.AssertionFailedError: Returned count of
range query must be equal to exclusive range length expected:<0> but
was:<-1>
at org.apache.lucene.search.trie.TestTrieRangeQuery.testRangeSplit(TestTrieRangeQuery.java:203)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740442 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:05:29 +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
62d56d9410
LUCENE-1483: add expert IndexSearcher ctor to search sub-readers in natural order (vs default sort-by-numDocs order)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740021 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 16:21:49 +00:00
Uwe Schindler
e7edb24bc0
fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@739441 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 22:44:20 +00:00
Uwe Schindler
cb55b1671b
Add some extra check for validity of c'tor parameters in TrieRangeFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@739439 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 22:38:04 +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
20753f2e31
LUCENE-1507: add DocIdSet.EMPTY_DOCIDSET
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738895 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 15:39:11 +00:00
Michael McCandless
48c3220021
LUCENE-1487: improve javadoc for FieldCacheTermsFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738862 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 14:13:35 +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
Michael Busch
13d5245314
LUCENE-1528: Add support for Ideographic Space to the queryparser.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738592 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 19:24:28 +00:00
Michael McCandless
1bc276f689
go back to http:// for checking out back compat tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738345 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 02:51:37 +00:00
Michael McCandless
96e0aaf49e
LUCENE-1483: switch to newly added MultiReaderHitCollector for all core collectors, that is aware of segment transitions during searching, to improve performance of searching and warming
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738219 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 20:15:21 +00:00
Uwe Schindler
f1ab1aee64
Implement a shortcut, when range has min>max. In this case a static empty SortedVIntList is returned.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738182 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 18:12:34 +00:00
Uwe Schindler
153acfd064
LUCENE-1530: Support inclusive/exclusive for TrieRangeQuery/-Filter, remove default trie variant setters/getters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738109 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 15:15:24 +00:00
Michael McCandless
c6f6f01643
LUCENE-1316: don't call synchronized IndexReader.isDeleted when scoring MatchAllDocsQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@737513 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 14:38:43 +00:00
Michael McCandless
c10a419fa4
setting tag so back-compat tests run against fixed sources
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@737273 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 00:36:59 +00:00
Michael McCandless
4764105ff4
LUCENE-1527: open reader non-readOnly for doing deletes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@737175 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 20:33:51 +00:00
Uwe Schindler
7ef048e01c
Optimize the test index as preparation for LUCENE-1483, because the statistics on visited terms in TrieRangeQuery/-Filter only work correctly for optimized indexes (as the count is reset on each query execution. So the new multisegment-search must have a one-segment index to only execute the query one time)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@737079 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 16:44:17 +00:00
Michael McCandless
d545a46df5
LUCENE-1525: add missing maven dependencies for contrib/{benchmark,highlighter}; fix svn eolstyle to native
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@736340 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 16:59:39 +00:00
Michael McCandless
8a5dce7ac3
LUCENE-1523: make Directory.isOpen protected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@736039 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 17:05:36 +00:00
Mark Robert Miller
3382933ff4
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@735586 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 00:11:03 +00:00
Mark Robert Miller
8bf2fda5bd
LUCENE-1224: Short circuit FuzzyQuery.rewrite when input token length is small compared to minSimilarity.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@735517 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 18:24:14 +00:00
Michael McCandless
8c58de6092
LUCENE-1521: fix 2 more cases of int overflow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@735043 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 16:18:33 +00:00