Commit Graph

3445 Commits

Author SHA1 Message Date
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
Otis Gospodnetic 0ff777acd4 - Added LIA2 cover+link
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751730 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 16:32:03 +00:00
Michael McCandless 7f6c38fc77 remove references to getDirectory methods from FSDirectory javadocs since we've deprecated them
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751276 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 14:21:26 +00:00
Michael McCandless 2e2eafd3d2 make IndexReader.getRefCount() expert and public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751241 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 10:47:44 +00:00
Michael McCandless 7f32bbf72f remove javadoc sentence about synchronizing on FSDirectory instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751077 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 21:30:51 +00:00
Michael McCandless 48fbdad305 fix javadoc for addIndexes(IndexReader[]) to remove incorrect warning that a writer cannot be changing the underlying index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750851 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 11:24:55 +00:00
Michael McCandless 11079efed4 LUCENE-1554: remove false-positive assert that may (rarely) trip when it's not supposed to
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750849 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 11:22:12 +00:00
Michael McCandless ebb8c8ec3d LUCENE-1553: fix test-only method addMyself to keep track of more than 1 ConcurrentMergeScheduler created during tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750405 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 09:54:07 +00:00
Michael McCandless cf28799cb0 LUCENE-1552: reset success to false in addIndexes(IndexReader[])
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750162 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 21:34:53 +00:00
Mark Robert Miller 480c2afd15 LUCENE-689: NullPointerException thrown by equals method in SpanOrQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750009 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 13:50:06 +00:00
Michael McCandless 90f52a651e replace java 5 only constructs w/ java 1.4 equivalents
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749875 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 01:50:27 +00:00
Mark Robert Miller e256f679e3 typo in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749625 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 15:00:02 +00:00
Michael McCandless 8062dc0814 add dates to changes2html.pl
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749403 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 18:38: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 ae19121e4c LUCENE-1314: change reference counting to properly track deleted docs & shared core readers inside SegmentReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749009 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 12:12:36 +00:00
Michael McCandless 45edef4e88 remove extra tags subdir from back-compat tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@748995 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 10:52:48 +00:00
Michael McCandless 166b92281f LUCENE-1549: add some more checks to CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@748826 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 12:01:19 +00:00
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