Michael McCandless
26be4aa353
don't swallow unexpected IOException in TestLockFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764734 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 10:49:23 +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
6cab0952aa
fix SnapshotDeletionPolicy to remove the test dir if present to prevent false failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764579 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 19:35:32 +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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Michael McCandless
e91fb48db1
LUCENE-1520: re-use single byte[] for all fields when testing norms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@734974 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 11:11:24 +00:00
Michael McCandless
5c948da5fb
LUCENE-1520: prevent OOM in CheckIndex with large segment that has many fields w/ norms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@734967 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 10:48:11 +00:00
Michael McCandless
888af0337d
LUCENE-1519: upcast to long to prevent overflow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@734415 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 15:09:57 +00:00
Michael McCandless
d666ae5eda
LUCENE-1502: a few small cleanups to CharArraySet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@732141 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 22:01:35 +00:00
Michael McCandless
873fbbc1f1
LUCENE-1509: don't return dup file names from IndexCommit.getFileNames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@731747 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 22:31:04 +00:00
Michael McCandless
0b3705a012
remove 2 invalid tests of modified utf8 null byte
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@731727 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 21:11:44 +00:00
Grant Ingersoll
c40a7d8397
minor javadoc edits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@731152 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 01:29:16 +00:00
Michael McCandless
5c8ea7a321
LUCENE-1499: enforce IndexFileNameFilter as singleton
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@728746 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:21:40 +00:00
Michael McCandless
7abe0311bc
LUCENE-1444: fix broken site links in javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@728262 13f79535-47bb-0310-9956-ffa450edef68
2008-12-20 09:43:06 +00:00
Michael McCandless
4561cb369d
add comments from Doug describing how BooleanScorers work
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@727475 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 19:16:10 +00:00
Michael McCandless
d3987d9ed4
LUCENE-1484: remove synchronization on SegmentReader.document by using ThreadLocal to maintain thread-private clones of FieldsReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@727338 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 10:36:30 +00:00
Michael McCandless
f92d3cc82f
LUCENE-1478: small cosmetic cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724552 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 23:27:34 +00:00
Grant Ingersoll
ffa2ee2203
LUCENE-1462: Make TermVectorOffsetInfo serializable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724501 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:51:39 +00:00
Michael McCandless
efc985cbf4
LUCENE-1478: allow SortField to use a custom numeric FieldCache parser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724484 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:07:45 +00:00
Michael McCandless
e0efcd52ea
LUCENE-1481: implement equals() and hashCode() for Sort & SortField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724379 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 15:28:16 +00:00
Mark Robert Miller
8660ccb303
LUCENE-1390: Added ASCIIFoldingFilter, a Filter that converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists. ISOLatin1AccentFilter, which handles a subset of this filter, has been deprecated.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724053 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 23:25:42 +00:00
Michael McCandless
19c82a230d
don't construct verbose message Strings unless infoStream is non-null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724033 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 20:05:40 +00:00
Mark Robert Miller
36a03da823
A couple changes with the new token api went into QueryParser.java but not in QueryParser.jj. A fresh javacc would lead to compilation errors.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724032 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 19:40:53 +00:00
Michael McCandless
4a0a5664dd
LUCENE-1468: switch Directory.list() to Directory.listAll(), which does no filtering of returned array
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723789 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 17:03:13 +00:00
Michael McCandless
1fb2d4f280
LUCENE-1457: fix possible overflow bugs during binary search
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723149 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 23:46:19 +00:00
Mark Robert Miller
139f71599e
LUCENE-1246: check for null sub queries so that BooleanQuery.toString does not throw NullPointerException.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722897 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 14:15:22 +00:00
Michael McCandless
cfef10bb9d
LUCENE-1474: clear pendingDelCount after flushing deletes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722645 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 22:33:35 +00:00
Michael McCandless
eb881d5f3b
LUCENE-1433: improvements to changes.html generation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722329 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 01:58:00 +00:00
Michael McCandless
e3d5b53e53
LUCENE-1461: more careful checking of lower/upper bound to the FieldCacheRangeFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722203 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:52:54 +00:00
Michael McCandless
278dc0fc04
LUCENE-1296: add protected method CachingWrapperFilter.docIdSetToCache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722174 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 18:50:45 +00:00
Michael McCandless
371a33eda8
LUCENE-1464: in FSDir, don't mkdir until first createOutput is called
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721670 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 12:16:54 +00:00
Michael McCandless
f562594180
LUCENE-1461: added FieldCacheRangeFilter, which speeds up creation of RangeFilter by using the FieldCache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721663 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 11:50:28 +00:00
Mark Robert Miller
ea3824bf34
LUCENE-1465: NearSpansOrdered returns payloads from first possible match
...
rather than the correct, shortest match; Payloads could be returned even
if the max slop was exceeded; The wrong payload could be returned in
certain situations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720669 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 23:38:56 +00:00
Michael Busch
eb88fc88fd
LUCENE-1467: Add nextDoc() and next(int) methods to OpenBitSetIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720609 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 21:39:47 +00:00
Michael McCandless
129a630839
LUCENE-1459: fix CachingWrapperFilter to do the right thing if the wrong type of bitset is in its cache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@719716 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 21:17:06 +00:00
Michael Busch
898cfe87cd
LUCENE-1422: New TokenStream API that uses a new class called AttributeSource instead of the now deprecated Token class. All attributes that the Token class had have been moved into separate classes: TermAttribute, OffsetAttribute, PositionIncrementAttribute, PayloadAttribute, TypeAttribute and FlagsAttribute.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718798 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 23:41:49 +00:00
Michael McCandless
72e94add53
LUCENE-1453: make sure reopen of IndexReaders that own the directory don't close the directory too soon
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718540 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 09:57:51 +00:00
Michael McCandless
0beb6bd966
LUCENE-1456: remove buggy but unused dead code in FieldInfo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718537 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 09:53:13 +00:00
Michael McCandless
a18441f0de
LUCENE-1447: improve SegmentTermPositions.getPayload() IOException message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@714231 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 10:51:01 +00:00
Yonik Seeley
0979fdc423
LUCENE-1451: Add public constructors to FSDirectory and subclasses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@714110 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 19:22:22 +00:00
Michael McCandless
e213a4e828
LUCENE-1452: fixes cases during merge and lazy field access where binary field is truncated to 0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713962 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 10:02:44 +00:00
Michael McCandless
8f0d81c89f
LUCENE-38: make sure empty term, if present in index, is included on open ended lower range query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713696 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 10:08:10 +00:00
Michael McCandless
854cae6c35
LUCENE-1424: correctly handle null lower or upper term in RangeQuery.getEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713687 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 09:31:20 +00:00
Otis Gospodnetic
076fb9b323
LUCENE-711 - initialize List with correct size
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713634 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 04:23:05 +00:00
Michael McCandless
4646692022
LUCENE-1450: make sure RangeQuery/Filter check all terms in the index when using a Collator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713332 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 09:43:39 +00:00
Michael Busch
9d8c882385
LUCENE-1424: Changed QueryParser#newRangeQuery() to return a ConstantScoreRangeQuery to make backwards-compatibility tests pass again; this does not change any behavior since ConstantScoreRangeQuery subclasses RangeQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713225 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 00:01:52 +00:00
Michael McCandless
4596360907
LUCENE-1449: if deletion policy deletes head commit point and then IW is closed w/ no further changes, write a new segments_N
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713206 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 22:42:14 +00:00
Yonik Seeley
8e8e8ddec4
set svn:eol-style to native on java files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712922 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 02:35:46 +00:00
Yonik Seeley
b179b038a1
LUCENE-1443: Performance improvement for OpenBitSetDISI.inPlaceAnd()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712908 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 01:54:49 +00:00
Michael McCandless
abe6ea0828
LUCENE-1424: enable MultiTermQuery to do constant scoring; refactor Range, Wildcard, Prefix to expose this
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712890 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 00:40:00 +00:00
Michael McCandless
9136b7a0e0
LUCENE-1442: fix double-counting of offsets of multiple instances of NOT_ANALYZED field under the same field name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712233 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 19:37:39 +00:00
Michael McCandless
391119f207
LUCENE-1441: fix KeywordTokenizer to set start/end offset on its token
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712232 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 19:36:35 +00:00
Michael McCandless
24d76157a0
LUCENE-1420: let Similarity.computeNorm compute the norm; add option to discount overlap tokens when computing lengthNorm
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@710117 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 18:03:58 +00:00
Michael McCandless
4990152243
LUCENE-1427: speed up QueryWrapperFilter by not computing scores nor an intermediate OpenBitSet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709459 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 16:18:13 +00:00
Michael McCandless
0ee1707d9f
LUCENE-1430: don't throw false AlreadyClosedException when IndexReader.open hits IOException on first try opening index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709456 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 16:09:12 +00:00
Michael McCandless
d6f39b29b7
update javadocs to clarify how IndexWriter handles hitting an OOME
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709198 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 16:33:40 +00:00
Michael McCandless
cdeff84532
add missing index version number to CheckIndex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@708971 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:30:50 +00:00
Michael McCandless
58966ab728
LUCENE-1429: don't throw IllegalStateEx during close() after hitting OOME when autoCommit=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@708549 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 12:08:19 +00:00
Michael McCandless
fa79b04042
LUCENE-1426: next steps towards flexible indexing: use the same API when writing a new segment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@707836 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 10:40:00 +00:00
Michael McCandless
29124f644a
minor javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@707833 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 10:15:14 +00:00
Grant Ingersoll
8dfe073760
LUCENE-1406. Added Arabic stemming and normalization. Also added new method to WordListLoader to allow for comments in word lists.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706342 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 17:19:29 +00:00
Michael McCandless
0b90b5e23d
LUCENE-1382: add opaque userData String passed to IndexWriter.commit, recorded into the segments file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706240 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 11:33:13 +00:00
Michael McCandless
0250cccacf
LUCENE-1411: add expert API to IndexWriter to open an index for writing on an arbitrary commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706171 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 09:48:55 +00:00
Michael Busch
f8e6c62a30
LUCENE-1419: Add expert API to set custom indexing chain.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@704193 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 18:12:11 +00:00
Daniel Naber
c027596aa2
update example so no deprecated code is used
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703881 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 21:24:56 +00:00
Daniel Naber
7ecd3260ad
update to non-deprecated API (affects commented-out code only)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703880 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 21:21:25 +00:00
Michael McCandless
da0d24d7df
add instantiated index under Javadocs -> contrib
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703694 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 17:28:23 +00:00
Yonik Seeley
00f98b1fd7
LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703565 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 19:45:19 +00:00
Michael McCandless
d02bbe2dfd
LUCENE-1412: clarify Directory.copy javadocs: the source dir cannot change while copy is running
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@702271 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 21:23:24 +00:00
Michael McCandless
18d98f4ac7
fix SegmentInfos format doc in fileformats doc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@701445 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 17:01:48 +00:00
Michael McCandless
a106cf2512
change trunk docs to 2.9-dev
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@701428 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 16:12:29 +00:00
Michael McCandless
0606e8b2dd
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698936 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 12:11:37 +00:00
Michael McCandless
a40530e4a4
LUCENE-1401: remove new deprecated IndexWriter ctors; default autoCommit=false for new ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698932 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 12:04:38 +00:00
Michael McCandless
d8a60238e3
LUCENE-1402: make CheckIndex back-compatible again; improve programmatic access
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698909 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 09:43:11 +00:00
Michael McCandless
0fa718244c
LUCENE-1404: fixed NPE in NearSpansUnordered.isPayloadAvailable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698487 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 09:45:25 +00:00
Michael McCandless
4001544144
adding missing copyright headers found by RAT
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698033 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 23:11:04 +00:00
Michael McCandless
2befbd45b7
LUCENE-1397: fix thread hazard whereby optimize can throw 'BG merge hit exception' IOException without setting the root cause
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698025 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 22:53:19 +00:00
Michael McCandless
89ea7dfa59
improve javadocs for IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698024 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 22:41:33 +00:00
Michael McCandless
6927ee46a4
LUCENE-1396: improve PhraseQuery.toString: gaps are shown with a ? and multiple terms at the same position are joined with |
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697469 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 10:41:41 +00:00
Michael McCandless
5433872499
LUCENE-1392: small javadocs/extra imports fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697115 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 14:51:04 +00:00
Michael McCandless
7987b38f46
LUCENE-1395: javadoc fix for SegmentMerger
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697110 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 14:45:33 +00:00
Grant Ingersoll
a8c0a8a810
LUCENE-1279: Add support for Collator to RangeFilter, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696056 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:03:21 +00:00
Michael McCandless
31811e9f45
LUCENE-1379: fix corner case when Similarity.sloppyFreq() returns 0.0 the last matching doc is skipped
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696013 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 19:25:07 +00:00
Michael McCandless
088a42b846
LUCENE-1135: fix rare deadlock case in testAddIndexOnDiskFull
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696005 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 18:49:16 +00:00
Michael McCandless
b88b6a73ad
LUCENE-1388: add initialValue() method to CloseableThreadLocal
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695899 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 14:24:17 +00:00
Michael McCandless
9d23731bea
more javadocs fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695581 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 19:01:33 +00:00
Michael McCandless
1ec2ab7d5a
fix IndexWriter's javadocs for commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695574 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 18:33:33 +00:00
Otis Gospodnetic
0195fcd03d
LUCENE-1378 - Removed the remaining 199 @author references
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695514 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 15:42:11 +00:00
Otis Gospodnetic
8d02d7859f
LUCENE-1131 - Added numDeletedDocs() to IndexReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695510 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 15:33:15 +00:00
Michael McCandless
d2aeaeeff2
add missing copyright headers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695211 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 12:38:31 +00:00
Michael McCandless
ac6ee32b60
LUCENE-1383: workaround the 'leak' in Java's ThreadLocal to prevent Lucene from causing OutOfMemoryError in certain situations, eg J2EE applications
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695184 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 10:32:59 +00:00
Michael McCandless
f82e52e3bf
print stack trace when thread test fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694808 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 21:14:08 +00:00
Michael McCandless
5790a86987
move comment to the right place
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694665 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 09:43:06 +00:00
Michael McCandless
4218996230
LUCENE-1366: rename Field.Index.* options
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694004 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:38:52 +00:00
Chris M. Hostetter
ccf96e6b6b
we have less and less vector refrences, let's switch the example to something more common
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@693997 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:30:52 +00:00
Grant Ingersoll
2bb9ab2246
LUCENE-1354: Provide programmatic access to CheckIndex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@693508 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 16:34:18 +00:00
Michael McCandless
d5a40278bc
LUCENE-1369: switch from Hashtable to HashMap and from Vector to List, when possible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692921 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 19:22:40 +00:00
Michael McCandless
6242cb3322
LUCENE-1151: fix misleading javadoc comment and testcase for StandardAnalyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692634 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 10:58:33 +00:00
Michael McCandless
9e88734177
LUCENE-1126: modify JFlex grammar to fallback to the JRE's Character.isDigit() (using :digit:) and Character.isLetter() (using :letter:) to define inclusion of unicode characters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692211 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 19:48:29 +00:00
Grant Ingersoll
f262830a7f
fix minor typo in javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692109 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 15:36:08 +00:00
Michael McCandless
e398f4e930
LUCENE-1376: catch BG merge exceptions even if all merges finish before FG thread (running optimize) advances to while loop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691964 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:14:04 +00:00
Michael McCandless
e6dcf14620
LUCENE-1375: added IndexCommit.getTimestamp method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691952 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 09:40:29 +00:00
Doron Cohen
80aed8ddae
LUCENE-1356: Allow easy extensions of TopDocCollector.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691824 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 23:18:51 +00:00
Michael McCandless
626fa7664f
LUCENE-1374: fix test case to close reader/writer in try/finally; add assert b!=null in RAMOutputStream.writeBytes (matches FSIndexOutput which hits NPE)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691694 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 17:34:29 +00:00
Michael McCandless
3f65c64d9e
LUCENE-1374: fixed NPE case when merging compressed fields with heterogeneous segments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691617 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 13:59:31 +00:00
Michael McCandless
4ae5fcbf53
LUCENE-1371: add convenience method TopDocs Searcher.search(Query query, int n)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691549 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 09:06:13 +00:00
Michael McCandless
bfff632dbc
LUCENE-753: Add new NIOFSDirectory implementation to use java.nio.* for access the same file concurrently with no locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690539 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:33:06 +00:00
Michael McCandless
4b9a300730
LUCENE-1135: fix concurrency issues in IndexWriter when calling commit, rollback, close, optimize, addIndexes*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690537 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:16:29 +00:00
Michael McCandless
1bbfaa5445
LUCENE-1061: make it simpler to override concrete Query implementations created by QueryParser by factoring out protected newXXXQuery() methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690535 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:12:19 +00:00
Yonik Seeley
09114186ba
javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690306 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 15:39:52 +00:00
Yonik Seeley
0b9512aa23
fix OpenBitSet.hashCode rotate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690302 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 15:33:44 +00:00
Michael McCandless
4661a1b02b
LUCENE-1367: add IndexCommit.isDeleted()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@689791 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 11:50:15 +00:00
Michael McCandless
85102bd84a
LUCENE-1280: prevent NPE in PhraseQuery.toString() when the PhraseQuery is empty
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688689 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 10:02:16 +00:00
Michael McCandless
f0d2a151ca
LUCENE-1329: enable read-only IndexReaders; the default is to get a read-write IndexReader on open, but in 3.0 this will change to read-only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688323 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 13:47:18 +00:00
Michael McCandless
59b8dca69a
LUCENE-1365: deprecate addIndexes(Directory[]) in favor of addIndexesNoOptimize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688315 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 13:32:05 +00:00
Grant Ingersoll
09467ad18e
LUCENE-1001: Make payloads accessible from SpanQuery's
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687379 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 16:06:36 +00:00
Michael McCandless
bb6b711718
LUCENE-1333: improvements to Token reuse API and full cutover to reuse API for all core and contrib analyzers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687357 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 14:38:07 +00:00
Michael McCandless
0541628af1
LUCENE-1249: fix small issues with TermVectorsReader.clone
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687046 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 13:01:11 +00:00
Michael McCandless
a486bff689
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687039 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 12:48:02 +00:00
Michael McCandless
e31a9da835
LUCENE-1334: add Term(String fieldName) constructor that sets term text to empty string
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687014 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 10:40:39 +00:00
Michael McCandless
bc47023b3a
fix javadoc warnings in Searcher.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@686801 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 15:58:30 +00:00
Michael McCandless
a26f3734c6
LUCENE-1219: add Fieldable.getBinaryValue/Offset/Length reuse API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@686723 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 10:31:03 +00:00
Otis Gospodnetic
4d33a23bd2
- Javadoc typos fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@684406 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 04:09:56 +00:00
Doron Cohen
78ffc2800f
javadoc fix.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@683593 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 11:51:18 +00:00
Michael McCandless
8d8e83518c
LUCENE-1301: fix cause of rare NPE in TestIndexWriterExceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@683206 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 09:56:00 +00:00
Michael McCandless
60b43961da
LUCENE-1340: add Fieldable.omitTf to not index term freq, positions, payloads for the field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682812 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 17:17:42 +00:00
Grant Ingersoll
dd066edcf1
LUCENE-1351: clean additional ligatures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682766 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 15:47:33 +00:00
Grant Ingersoll
316cfd14df
LUCENE-1349: Mark Fieldable as changeable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682689 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 12:27:42 +00:00
Doron Cohen
82c1724efb
LUCENE-1348: relax TestTimeLimitedCollector.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682619 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 07:58:07 +00:00
Doron Cohen
0eb1be2b48
LUCENE-1310: Phrase query with term repeated 3 times needed more slop than expected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682186 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 15:40:14 +00:00
Michael McCandless
e217b2b883
LUCENE-1347: fix hang in rollback() after previous rollback() call hit exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@681082 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 15:38:16 +00:00
Yonik Seeley
d916665ab7
LUCENE-1346: replace Vector with ArrayList in Queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@680361 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 13:58:39 +00:00
Michael McCandless
7c842e3c34
LUCENE-1339: make IndexReader incRef and decRef expert public methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@678716 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 11:14:36 +00:00
Michael McCandless
7198ead131
LUCENE-1301: refactor DocumentsWriter into a package-private indexing chain, as a first step towards flexible indexing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@677865 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 09:20:12 +00:00
Michael McCandless
43c2038ca0
fix javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@675503 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 10:36:05 +00:00
Michael McCandless
a9ce6fd334
LUCENE-1331: catch if FSDirectory is used after being closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@675485 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 09:27:44 +00:00
Michael McCandless
dc65b35533
LUCENE-1324: add TokenFilter.reset()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673990 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 10:06:17 +00:00
Michael McCandless
22f76f1ebf
LUCENE-1325: add IndexCommit.isOptimized() method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673979 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 09:43:12 +00:00
Michael McCandless
4099732195
LUCENE-1326: be sure to call Inflator/Deflator.end when working with zlib for compressed fields, to avoid memory leaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673972 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 09:20:41 +00:00
Michael McCandless
b60829fb0c
LUCENE-1322: remove unnecessary synchronization in CSIndexInput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673371 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 11:57:27 +00:00
Michael McCandless
ebf4625870
LUCENE-1323: fix MultiReader to make a private copy of the subReaders array
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673103 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 15:30:31 +00:00
Michael McCandless
5890f58fa4
improve javadocs for numRamDocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@672290 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 15:00:08 +00:00
Michael McCandless
13c08a947c
LUCENE-1311: add IndexReader.listCommits & IndexReader.open methods to open a specific commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@671218 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 15:41:06 +00:00
Doron Cohen
d69885c9d7
LUCENE-1303: BoostingTermQuery's explanation marked as a Match
...
depending only upon the non-payload part of the score.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@666949 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 04:15:10 +00:00
Doron Cohen
5503aba23b
fix javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@666100 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 13:37:53 +00:00
Michael McCandless
6bbb079a68
fix IndexCommit.equals to compare version of the commit instead of segments filename, in addition to the Directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@664419 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 00:51:11 +00:00
Michael Busch
455afb322d
Thread.getId() is a java 1.5 feature. Change to Thread.getName().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@662545 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 20:21:38 +00:00
Michael McCandless
d8c8c0e2c0
LUCENE-1288: add getVersion, getGeneration to IndexCommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@660904 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 11:00:33 +00:00
Michael Busch
df7fb0f45c
LUCENE-1189: Fixed the QueryParser to handle escaped characters within quoted terms correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@660674 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 19:55:36 +00:00
Michael Busch
33aea48b02
Add missing javadoc to Cache.synchronizedCache().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659875 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 21:07:48 +00:00
Michael Busch
1d6d186888
LUCENE-1187: Fix ChainedFilterTest.java and BooleanFilterTest.java to not reference class from test/org/apache/lucene/search/, which is not in the contrib classpath.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659740 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 01:16:30 +00:00
Michael Busch
0ebfcc663e
LUCENE-1187: ChainedFilter and BooleanFilter now work with new Filter API and DocIdSetIterator-based filters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659635 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 19:25:05 +00:00
Michael Busch
08a2eb4665
LUCENE-1290: Deprecate org.apache.lucene.search.Hits, Hit and HitIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659626 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 18:57:55 +00:00
Michael Busch
eb0596c721
LUCENE-1195: Improve term lookup performance by adding a LRU cache to the TermInfosReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659602 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 17:20:31 +00:00
Michael Busch
a7f1cbc5be
Fixed TestIndexReaderReopen.java to fail when a thread hits an error in testThreadSafety().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659326 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 00:20:32 +00:00
Michael McCandless
2175d84d64
LUCENE-1282: added workaround for nasty JRE bug that strikes when merging very large segments; also added safety to abort the merge (preventing index corruption) if we detect the bug has struck
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@658902 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 22:14:16 +00:00
Michael Busch
4eb8692588
Set eol-style to native for all files in src/java and src/test that did not
...
have this property set before.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@658136 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 07:40:54 +00:00
Michael McCandless
6bafbdf98f
LUCENE-1283: factor out ByteSliceWriter from DocumentsWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@657397 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 16:49:18 +00:00
Michael McCandless
73ab487b7b
fix intermittant failure when random byte sequence creates invalid UTF16 string
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@657320 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 08:12:09 +00:00
Otis Gospodnetic
a32375551e
LUCENE-1060 Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@657278 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 01:47:53 +00:00
Michael McCandless
b591e8c580
LUCENE-1282: upgrade an assert to a real check, to work around Sun JRE hotspot bug to prevent index corruption
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@655030 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 08:48:50 +00:00
Michael McCandless
39651e029d
LUCENE-510: fix backwards compatibility bug when bulk-merging stored fields from pre-UTF8 segments that contain non-ascii stored fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@654774 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 12:04:46 +00:00
Michael McCandless
5a4f2572c0
fix incorrect javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@654767 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 11:31:51 +00:00
Michael McCandless
8540820fe1
LUCENE-1274: add preparCommit() to IW to do phase 1 of 2-phase commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@653878 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 18:41:10 +00:00
Michael McCandless
8f1feaa484
LUCENE-1255: revert this change (allow pos=-1 again) since it's not backwards compatible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@652116 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:01:55 +00:00
Michael McCandless
aecd167b05
LUCENE-1267: record per-segment deletion count in segments file; add maxDoc() & numDocs() in IW; deprecate docCount() in favor of maxDoc()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@651919 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 11:14:10 +00:00
Michael McCandless
963ec9e522
LUCENE-1270: fix intermittant case where IW.close() can hang after IW.addIndexesNoOptimize is called
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@651026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 19:37:21 +00:00
Michael McCandless
e35d9f6c62
LUCENE-1255: in CheckIndex, accept pos=-1 if index is < 2.4; added NOTE to remind user to turn on assertions for more thorough checking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@650984 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 18:26:07 +00:00
Doron Cohen
abc0d25a52
LUCENE-1157 and LUCENE-1256: HTML changes log, created automatically from CHANGES.txt.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649949 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 18:29:15 +00:00
Michael McCandless
59c8f9cd76
add warnings to javadoc for IndexModifier.docCount
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649598 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 16:35:08 +00:00
Michael McCandless
074df18090
LUCENE-1266: actually use the doWait param in IndexWriter.optimize(boolean doWait)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649429 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 09:35:44 +00:00
Michael McCandless
44daebab7c
LUCENE-1150: put back public tokenImage/TOKEN_TYPES in StandardTokenizer and WikipediaTokenizer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@648183 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 08:48:41 +00:00
Michael McCandless
a6ff3c93df
LUCENE-1262: fix issue that causes BufferedIndexInput to return incorrect bytes after exception was hit during refill
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@647639 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 22:55:17 +00:00
Chris M. Hostetter
360051ec49
clarify slightly confusing comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@647364 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 02:25:54 +00:00
Michael McCandless
62cf2ecb7f
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@645539 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 14:30:34 +00:00
Michael McCandless
5cfd9c8244
LUCENE-1255: if position is negative, silently change it to 0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@644400 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 16:42:06 +00:00
Michael McCandless
378442872f
LUCENE-1254: don't reject segments > maxMergeDocs/Size in IW.addIndexesNoOptimize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@643303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 06:58:42 +00:00