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
Michael McCandless
09b3a56ae2
LUCENE-1251: be sure to close the descriptor even if super.close() hits an exception, in FSIndexOutput.close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@642339 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 19:10:58 +00:00
Michael McCandless
828333ab52
LUCENE-1247: remove always-true assert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@642152 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 09:06:17 +00:00
Otis Gospodnetic
758e123591
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@641497 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 19:22:28 +00:00
Michael McCandless
8af3598b74
LUCENE-510: change index format to store strings as true UTF8 not modified UTF8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@641303 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 13:39:25 +00:00
Michael McCandless
0bd6f8ec04
LUCENE-1244: don't use hard-coded path in AnalysisTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@640741 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 08:35:51 +00:00
Michael McCandless
8b0b533472
LUCENE-1242: small speedups to bulk merging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@640516 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:45:55 +00:00
Michael McCandless
df7cf49580
fix possible false failure in testCloseWithThreads case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@639961 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 08:23:41 +00:00
Michael McCandless
10230efa5d
just adding some further asserts on the size of the term vector & stored fields index files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@639399 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 18:21:33 +00:00
Doron Cohen
4bd9dba46f
LUCENE-1238: Fixed intermittent failures of TestTimeLimitedCollector.testTimeoutMultiThreaded.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@638568 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 21:08:08 +00:00
Michael McCandless
a7e55a2a79
LUCENE-1233: correct javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637844 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 11:31:46 +00:00
Grant Ingersoll
47da76d1b9
LUCENE-1234: Make BoostingSpanScorer protected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637331 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 01:48:04 +00:00
Michael McCandless
b309970c3d
LUCENE-1233: return empty array instead of null for certain get*s methods in Document
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637053 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 11:08:28 +00:00
Doron Cohen
966ae0382e
LUCENE-1228: IndexWriter.commit() was not updating the index version.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637041 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 10:35:18 +00:00
Michael Busch
b3e82f8939
LUCENE-1226: Fixed IndexWriter.addIndexes(IndexReader[]) to commit successfully created compound files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636893 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 20:57:32 +00:00
Michael McCandless
2768bacab2
LUCENE-1223: fix lazy field loading to not allow string field to be loaded as binary, nor vice/versa
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636568 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 23:02:38 +00:00
Michael McCandless
4b3709be87
LUCENE-1214: preseve original exception in SegmentInfos write & commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636467 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 19:23:17 +00:00
Michael McCandless
e5f9b4e1cb
LUCENE-1212: factor DocumentsWriter into separate source files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636458 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 19:09:12 +00:00
Michael McCandless
a6258c76fd
LUCENE-1217: use Field.isBinary instead of 'instanceof'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636139 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 22:53:50 +00:00
Michael McCandless
9dc489edb1
LUCENE-1222: make sure IW.doAfterFlush is called regardless of whether adds or deletes are flushed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636045 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 18:16:31 +00:00
Doron Cohen
29560fcf50
LUCENE-1213: MultiFieldQueryParser ignored slop for single field phrases.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635839 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 08:06:54 +00:00
Michael McCandless
6420539c07
LUCENE-1211: small speedup to DocumentsWriter by optimizing the common case of sorting only 2 values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635193 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 08:26:16 +00:00
Michael McCandless
fa4d10baf9
LUCENE-1210: fix deadlock case on hitting exception in mergeInit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635190 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 08:19:00 +00:00
Michael McCandless
10f2695b65
LUCENE-1208: if exception is hit after marking flushPending but before flushing, clear flushPending to prevent deadlock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@634831 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 21:47:15 +00:00
Michael McCandless
f3effe3627
LUCENE-1204: improve TestStressIndexing2 test by interleaving deletes by term & query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@634355 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 17:20:56 +00:00
Michael McCandless
c113c6419d
LUCENE-1201: add IndexReader.getIndexCommit to see which index commit a reader is reading
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@634251 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 12:57:08 +00:00
Michael McCandless
69f35943bd
LUCENE-1200: prevent rare deadlock in IndexWriter.addIndexes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@634232 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 11:52:46 +00:00
Michael McCandless
5b113c8af6
LUCENE-1194: add IndexWriter.deleteDocuments(Query)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@634219 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 11:02:04 +00:00
Michael McCandless
33bee3c60c
LUCENE-1199: do defensive check of indexReader != null before trying to close it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@632879 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 23:34:40 +00:00
Michael McCandless
3efa1c47ca
LUCENE-1198: don't increment numDocsInRAM unless DocumentsWriter.ThreadState.init succeeds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@632871 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 23:24:07 +00:00
Daniel Naber
00fe257ddf
LUCENE-1174: remove outdated information from javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@632581 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 11:46:47 +00:00
Michael McCandless
b18dde8a43
LUCENE-1197: fix DocumentsWriter to not overcount RAM usage when term vectors are on
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@632306 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 12:42:47 +00:00
Michael McCandless
7af43e46d6
LUCENE-1191: if we hit OOM then don't commit any changes to the index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@632124 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 21:35:42 +00:00
Michael McCandless
8f9781bbdb
LUCENE-1196: don't throw EOF when seeking to the end of RAMFile when file is multiple of 1024 in length
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@632120 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 21:13:59 +00:00
Michael McCandless
d7d1d680f2
LUCENE-1184: allow SnapshotDeletionPolicy to be re-used across close/open of IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@631223 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:23:45 +00:00
Yonik Seeley
6302172390
fix for reordering scorers from highest to lowest original skip (possible slight performance gain only... no correctness implications)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@630698 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 22:43:24 +00:00
Michael Busch
b86e8e9097
LUCENE-1185: Avoid checking if the TermBuffer 'scratch' in SegmentTermEnum is null for every call of scanTo().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@630377 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 02:35:14 +00:00
Grant Ingersoll
d5271e5619
LUCENE-1182: Added delegation to scorePayload
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@629772 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 13:15:19 +00:00
Otis Gospodnetic
c61a33d4a2
- Fixed javadoc typos for expungeDeletes()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@628423 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 04:15:30 +00:00
Michael McCandless
b9dbd3b10e
LUCENE-1179: provide more details when terms are out of order
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@628105 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 16:23:31 +00:00
Michael McCandless
cc64e6fdde
LUCENE-1179: allow Fields with empty string field names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@628080 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 15:04:16 +00:00
Michael McCandless
9f2e3cf7bc
LUCENE-1172: some small additional speedups for DocumentsWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@627707 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 11:22:04 +00:00
Michael McCandless
ac32a540c3
LUCENE-997: add missing synchronization in unit test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@627700 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 10:36:31 +00:00
Michael McCandless
8c9f2ce227
LUCENE-1044: fix CheckIndex tool to properly identify 2.4 index format
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@627315 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 09:04:34 +00:00
Doron Cohen
4b8b5ce1d7
fix multi-thread test for LUCENE-997 (search timeout).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@627298 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 07:50:42 +00:00
Michael McCandless
ec18d3ad7c
LUCENE-1176: fix corruption case when adding docs with no term vectors followed by docs with term vectors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@627122 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 21:31:25 +00:00
Doron Cohen
527957bc94
LUCENE-997: Add search timeout (partial) support.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@627101 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 20:55:32 +00:00
Michael McCandless
40f9324c62
LUCENE-1175: add missing synchronization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@621685 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 18:27:14 +00:00