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 |
|