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
Yonik Seeley
fd5629c3f0
change seed for each test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@620669 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 23:37:39 +00:00
Michael McCandless
19fa2fb9fb
LUCENE-1173: fix corruption in bulk merging of stored fields when autoCommit=false
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@620668 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 23:25:54 +00:00
Michael McCandless
1d4ab68796
LUCENE-325: add expungeDeletes methods to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@620604 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 20:34:49 +00:00
Michael McCandless
862c44215a
LUCENE-1044: sync index files in IndexWriter to ensure index is intact if machine or OS crashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@620576 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 18:56:09 +00:00
Michael McCandless
4e99ddafe9
LUCENE-1171: better robustness in DocumentsWriter on hitting OOM at various times
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@620478 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 12:55:47 +00:00
Michael McCandless
7965c59942
LUCENE-1164: when too many merge threads are running, pause until one or more finishes, instead of doing the merge with the foreground thread
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619890 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 14:01:48 +00:00
Michael Busch
0d2df7b785
Rename local variable docIdSetIterator to filterDocIdIterator in IndexSearcher.java.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619685 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 23:22:34 +00:00
Michael Busch
9adff2072a
LUCENE-1169: Fixed bug in IndexSearcher.search(): searching with a filter might miss some hits because scorer.skipTo() is called without checking if the scorer is already at the right position.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619676 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 22:46:37 +00:00
Michael McCandless
9716742942
LUCENE-1168: fix corruption cases with mixed term vectors and autoCommit=false
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619640 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 21:13:36 +00:00
Michael McCandless
fc4bc1f5af
LUCENE-1084: fix more test cases to use user-defined MaxFieldLength ctor for IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619637 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 21:07:35 +00:00
Michael McCandless
9a186ed521
LUCENE-1084: allow user-specified max field length when instantiating IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619545 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 18:22:21 +00:00
Michael McCandless
7ea8bd35f4
LUCENE-1084: fix the remaining deprecated calls to IndexWriter ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618764 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:07:29 +00:00
Michael McCandless
53d3a0cfab
LUCENE-1163: get CharArraySet.contains(char[], int offset, int length) to actually pay attention to offset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618652 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 14:02:32 +00:00
Doron Cohen
d941d1276f
LUCENE-1157: Formatable changes log.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618636 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 13:02:12 +00:00
Michael McCandless
59c76d2f47
LUCENE-1084: fix some more deprecated IndexWriter instantiations in unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618607 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 11:12:53 +00:00
Michael McCandless
0ec1870b11
LUCENE-1151: don't mis-identify HOST as ACRONYM, but, provide static method/property to revert to backwards-compatible but buggy behavior
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618001 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 15:33:16 +00:00
Michael Busch
3e6a40e89e
LUCENE-1134: Fixed BooleanQuery.rewrite to only optimze a single clause query if minNumShouldMatch<=0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617963 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 08:21:16 +00:00
Michael Busch
18b61286fa
LUCENE-584: Changed Filter API to return a DocIdSet instead of a java.util.BitSet. This allows using more efficient data structures for Filters and makes them more flexible.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617859 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 19:04:03 +00:00
Grant Ingersoll
1caf5cb9ce
LUCENE-1045: Added short, byte support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617745 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 03:06:08 +00:00
Michael McCandless
65ec80028c
catching up fileformats docs to recent changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617727 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 01:00:04 +00:00
Michael McCandless
115faf7b5d
LUCENE-1160: see which index Directory a MergeException came from; make CMS more easily subclassed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617632 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:22:25 +00:00
Michael McCandless
7d03a8bff7
LUCENE-1084: fixing a few more IndexWriter instantiations to not use deprecated ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617104 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 11:23:38 +00:00
Doron Cohen
28605048e1
trivial, javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616738 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 12:29:48 +00:00
Daniel Naber
e793bd52be
LUCENE-1158: DateTools UTC/GMT mismatch -> fixing the javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616513 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 20:46:33 +00:00
Michael McCandless
38f8d4e837
LUCENE-1150: make StandardAnalyzer tokenizer constants public again (public access was accidentally removed with LUCENE-966)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616248 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 10:51:44 +00:00
Daniel Naber
66b5df6788
small typo fix in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615448 13f79535-47bb-0310-9956-ffa450edef68
2008-01-26 12:11:57 +00:00
Michael McCandless
eb415f5171
LUCENE-1120: also add 2.3 index tests to the backwards compatibility test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615187 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:45:12 +00:00
Michael McCandless
76dfb92a44
LUCENE-1120: speed up merging of term vectors by bulk-copying the raw bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615183 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:32:32 +00:00
Michael McCandless
ee835ccf21
LUCENE-1084: change all IW ctors to require up-front specification of max field length; deprecated existing ones
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615168 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 10:21:15 +00:00
Michael McCandless
674eae39ec
LUCENE-705: pre-set the CFS file length before building it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615160 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 09:42:29 +00:00
Michael McCandless
f99e4e7260
LUCENE-1147: add -segment option to CheckIndex tool, to check only a specific segment or segments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615159 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 09:36:21 +00:00
Grant Ingersoll
1f0e88f186
fixed javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@614894 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 15:01:59 +00:00
Grant Ingersoll
09e2766734
LUCENE-1137: Added Token.get/setFlags() Release the hounds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@614891 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 14:58:34 +00:00
Michael McCandless
9b2c39f75d
LUCENE-1144: fix NPE during DW.abort after OOM error
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613645 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 18:35:26 +00:00
Michael McCandless
17fede30c0
LUCENE-1143: clear docStoreOffset when DocumentsWriter aborts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613606 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 16:50:58 +00:00
Michael Busch
7f4bdd5a80
Fix core jar name in gcj Makefile.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613314 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 23:37:55 +00:00
Grant Ingersoll
82980ed7c4
LUCENE-1140 patch to fix StandardAnalyzer stop set NPE and test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613282 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 21:28:05 +00:00
Grant Ingersoll
ed9fdba601
LUCENE-1050 and LUCENE-1138 fixes for lock problem
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@612868 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 17:00:43 +00:00
Michael McCandless
f7740afe84
LUCENE-1130: fix thread safety issues when hitting IOExceptions in DocumentsWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@611855 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 17:06:21 +00:00
Michael Busch
a43f312375
- Add missing Wikipedia link to the javadocs menu
...
- Disable "Lucene 2.3 Documentation" tab; it's not released yet
- Remove javadocs.html and javadocs.pdf
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@611619 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 18:36:22 +00:00
Michael McCandless
8068979bec
fix off-by-one error
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@611296 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 20:46:05 +00:00
Michael Busch
da6c43f5d7
Separate project's web site from version-specific documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@611094 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 07:50:59 +00:00
Michael McCandless
5aaf587516
LUCENE-1125: fix over-zero-filling that was drastically slowing down small docs w/ term vectors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@610858 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 18:11:53 +00:00
Michael McCandless
2677871bbb
LUCENE-508: make sure SegmentTermEnum.prev() is accurate (= last term) after next() returns false
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609780 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 21:15:48 +00:00
Michael McCandless
eaba22c72a
Fixed a few issues uncovered by YourKit profiling:
...
* We were allocating 2X the size of each char block, but only
actually using the first half!
* Improved accuracy of numBytesAlloc tracking in DW
* Small optimization to not use token.setTermText from DW
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609546 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 09:48:06 +00:00
Michael McCandless
393a1d0575
LUCENE-1119: small optimization to TermInfosWriter.add to take a char[] instead of Term/String
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609378 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 19:29:45 +00:00
Michael McCandless
26bc874e62
LUCENE-1118: skip terms > 255 (by default) characters in length in StandardAnalyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609330 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 15:37:44 +00:00
Michael McCandless
d86944d06f
fix javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608956 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 18:46:33 +00:00
Grant Ingersoll
f715fc6031
LUCENE-1103
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608852 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 14:29:15 +00:00
Michael McCandless
2d633f98a2
LUCENE-1112: skip immense terms and mark a doc for deletion if it hits a non-aborting exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608534 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 15:49:50 +00:00
Doron Cohen
40eb1cd53f
LUCENE-766: test added for adding two fields with same
...
name but different term vector setting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608367 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 07:32:38 +00:00
Daniel Naber
0ae1e1a905
LUCENE-1113: fix for Document.getBoost() documentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607913 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 21:05:15 +00:00
Doron Cohen
f4639c0ab0
LUCENE-1095: option added to StopFilter and QueryParser to consider position increments.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607591 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 21:19:17 +00:00
Doron Cohen
b367e863e6
LUCENE-1101: TokenStream.next(Token) reuse 'policy': calling Token.clear() should be responsibility of token producer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607521 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 07:34:30 +00:00
Doron Cohen
efbd1260a9
Rename section "Javadocs" to "Javadocs for Official Releases",
...
Following discussion http://www.nabble.com/site-javadocs-link-broken-tt14507459.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607350 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 22:43:36 +00:00
Grant Ingersoll
ac27fb02de
Changed from overriding next(Token) to next()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607246 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 14:17:48 +00:00
Grant Ingersoll
da2a912919
LUCENE-1068: updated StandardTokenizer, Analyzer to allow for the replaceInvalidAcronym
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607161 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 02:46:11 +00:00
Doron Cohen
93b9adc280
LUCENE-1099: Make Tokenizer.reset(Reader) public.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606865 13f79535-47bb-0310-9956-ffa450edef68
2007-12-26 09:21:46 +00:00
Michael McCandless
9a9d138d8b
remove 'implements Cloneable' from MergePolicy.MergeSpecification
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606657 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 02:35:12 +00:00
Michael Busch
c0040adc27
LUCENE-1098: Make inner class StandardAnalyzer.SavedStreams static and final.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606647 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 00:48:31 +00:00
Michael Busch
3084aecc85
Added news item to website about nightly maven snapshots
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606641 13f79535-47bb-0310-9956-ffa450edef68
2007-12-23 23:57:33 +00:00
Doron Cohen
23da0335a5
LUCENE-1096: Fixed Hits behavior when hits' docs are deleted along with iterating the hits.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606614 13f79535-47bb-0310-9956-ffa450edef68
2007-12-23 20:50:29 +00:00
Michael McCandless
89fe185d71
LUCENE-1097: change IndexWriter.close(false) to ask merge threads to abort, and, wait for them to finally finish
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606441 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 10:06:28 +00:00
Grant Ingersoll
6e20e41418
should not have been committed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606305 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 20:45:35 +00:00
Michael McCandless
0c6efd3dee
make sure to close the IndexInput used to read index version
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606299 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 20:31:48 +00:00
Grant Ingersoll
7dfe984867
Checkin of WikpediaTokenizer that extends StandardTokenizer using JFlex. examples/wikipedia/README contains info on running.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606292 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 20:08:24 +00:00
Grant Ingersoll
7a3a61e45d
Checking in simple performance test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605957 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 15:07:59 +00:00
Michael McCandless
52d307607c
LUCENE-1094: don't corrupt fdt file on hitting an exception partway through indexing a document
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605912 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 13:07:29 +00:00
Grant Ingersoll
be794a3832
LUCENE-25 added test for stopwords in query parser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605535 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 13:36:32 +00:00
Grant Ingersoll
516143dea0
LUCENE-1045: Applied original LUCENE-1045.patch that refactors original 1045 patch to use ExtendedFieldCache and DOES NOT make FieldCache a class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605225 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 15:13:05 +00:00
Michael McCandless
905674805c
LUCENE-1092: fix KeywordAnalyzer.reusableTokenStream so it can successfully be reused
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605149 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 09:20:04 +00:00
Michael McCandless
10c1ec3a66
LUCENE-1089: add new PriorityQueue.insertWithOverflow method to allow for re-use
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@604949 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 18:05:13 +00:00
Doron Cohen
c3f210db67
LUCENE-1019: CustomScoreQuery enhanced to support multiple ValueSource queries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603837 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 06:28:27 +00:00
Doron Cohen
adb9a5c594
LUCENE-1079: DocValues cleanup: constructor & getInnerArray().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603753 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 22:06:33 +00:00
Michael Busch
c607f48fef
Revert Lucene-944
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603415 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 23:38:01 +00:00
Grant Ingersoll
c2130982e3
LUCENE-1042: Committed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603061 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 21:49:41 +00:00
Grant Ingersoll
8c18fd87a1
remove commented out code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603057 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 21:21:40 +00:00
Grant Ingersoll
07e7b557fe
javadocs update
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603056 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 21:21:12 +00:00
Michael McCandless
b0d2b1c90e
LUCENE-1044: revert the doSync option to FSDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@602165 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 17:42:33 +00:00
Otis Gospodnetic
9d35e30330
- Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@602163 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 17:29:47 +00:00
Michael McCandless
ce9b80539d
LUCENE-1082: fix NPE in IndexReader.lastModified(*) methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@602055 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 10:13:11 +00:00
Grant Ingersoll
11895271a3
LUCENE-1058: override the close method so it doesn't try to close the null Reader input
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601748 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 14:42:58 +00:00
Michael Busch
2e678a307d
LUCENE-1064: Changed TopDocs constructor to be public.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601662 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 09:06:40 +00:00
Grant Ingersoll
47d31b60f3
LUCENE-1080
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601602 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 03:34:06 +00:00
Michael McCandless
8a8944de1a
LUCENE-1078: remove dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601337 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 13:59:37 +00:00
Doron Cohen
a0c9992f0b
make LuceneTestrCase abstract for junit to run smoother from Eclipse.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601222 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 06:41:14 +00:00
Michael McCandless
0d2d6475ac
LUCENE-1072: make sure an exception raised in Tokenizer.next() leaves DocumentsWriter in OK state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601121 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 22:29:42 +00:00
Michael McCandless
c23cb457ef
LUCENE-1075: fix possible thread hazard with IndexWriter.close(false)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601114 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 22:19:08 +00:00
Michael McCandless
5f73506dd3
LUCENE-1073: create SnapshotDeletionPolicy to facilitate taking a live backup of an index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601104 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 22:03:24 +00:00
Grant Ingersoll
72bb91f4ee
Added some convenience constructors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600986 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 15:56:57 +00:00
Grant Ingersoll
1476b13d10
Rearranged javadocs location per Apache policy. Added in some Wiki links to help promote the wiki
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600915 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 12:55:23 +00:00
Grant Ingersoll
db6b495182
constructor should have been public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600628 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 18:44:48 +00:00
Michael McCandless
ddf136d928
LUCENE-1072: make sure on hitting a too-long term that IndexWriter is still usable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600465 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 10:09:10 +00:00
Grant Ingersoll
3372ce6f03
altered info about mailing list archives
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600372 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 20:37:38 +00:00
Grant Ingersoll
a0b63a9a4f
commented out OSSummit info until we know when it is scheduled
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600108 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 12:38:17 +00:00
Grant Ingersoll
cad3d26ca4
Added some more javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599833 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 14:38:30 +00:00
Michael McCandless
97fbfb5427
LUCENE-982: add new method optimize(int maxNumSegments) to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599766 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 10:09:45 +00:00
Grant Ingersoll
261382fd4e
LUCENE-1058: Added new buffering tokenizer/token filter for reducing redundant analysis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599478 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 15:18:08 +00:00
Michael Busch
12d0cc180e
remove obsolete todo comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599285 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 05:52:12 +00:00
Michael Busch
67e0d82230
LUCENE-1071: Fixed SegmentMerger to correctly set payload bit in the merged segment.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599264 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 04:43:03 +00:00
Michael McCandless
8e79f64fbc
remove some dead/unnecessary code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599131 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 20:20:21 +00:00
Michael McCandless
db52f4ed7f
LUCENE-1069: fix CheckIndex to properly take deletions into account
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598696 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 17:08:50 +00:00
Michael McCandless
6ebd306103
LUCENE-1067: make access to RAMFile's buffers thread safe
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598693 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 17:01:21 +00:00
Daniel Naber
47c8416e68
LUCENE-921: add some javadoc / turn comments into javadoc comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598462 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 23:31:39 +00:00
Daniel Naber
5882ec0659
LUCENE-1045: make SortField.AUTO work with long
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598376 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 18:45:39 +00:00
Daniel Naber
498d582423
remove unused variables; typo fixes in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598317 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 15:48:51 +00:00
Michael McCandless
e729f9dee5
LUCENE-1059: various small fixes based on code inspection from Tzvika Barenholz
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598296 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 14:52:01 +00:00
Daniel Naber
1a7f578c26
fix typo in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598074 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 22:42:41 +00:00
Daniel Naber
f668a48266
LUCENE-1066: better explain output for idf
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598072 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 22:39:33 +00:00
Michael Busch
54e5550c4d
LUCENE-1062: Add setData(byte[] data), setData(byte[] data, int offset, int length), getData(), getOffset() and clone() methods to o.a.l.index.Payload. Also add the field name as arg to Similarity.scorePayload().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597741 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 21:17:32 +00:00
Yonik Seeley
f7ee9f6dfb
LUCENE-693: Speed up nested conjunctions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597702 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 16:58:54 +00:00
Michael McCandless
02d9b51ede
LUCENE-887: setDaemon(true) on merge threads so JVM will exit if only they remain
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597382 13f79535-47bb-0310-9956-ffa450edef68
2007-11-22 11:32:35 +00:00
Michael McCandless
aa7c63e82b
LUCENE-1044: put back original ctor for FSIndexOutput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597371 13f79535-47bb-0310-9956-ffa450edef68
2007-11-22 10:46:18 +00:00
Grant Ingersoll
87cbdd0e1f
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596904 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 02:17:37 +00:00
Yonik Seeley
6b6464ec9c
LUCENE-1040: CharArraySet rehash fixes from Mike
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596685 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 14:23:10 +00:00
Michael Busch
b04703fe8f
LUCENE-1055: Remove gdata from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596501 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 00:46:27 +00:00
Yonik Seeley
e395be3faf
LUCENE-1040: new CharArraySet, make StopFilter directly use it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596484 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 23:23:04 +00:00
Chris M. Hostetter
49e85ee76d
documents with a score <= 0 can in fact be collected as matches
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596462 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 22:03:22 +00:00
Yonik Seeley
88a01d6174
remove java5 code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596444 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 20:57:35 +00:00
Yonik Seeley
f818ff09d8
LUCENE-1057: copy payload in Token.next()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596440 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 20:45:09 +00:00
Yonik Seeley
e9a5866777
LUCENE-1057: call clear when reusing token, change clear to only resent essential fields, re-add Token.clone()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596398 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 19:10:37 +00:00
Michael Busch
0805999b66
LUCENE-743: Add IndexReader.reopen() method that re-opens an existing IndexReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596004 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 21:34:23 +00:00
Michael McCandless
e35a66d8a3
LUCENE-1052: add set/getTermInfosIndexDivisor to IndexReader to reduce memory usage of the TermInfos index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595458 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 21:14:27 +00:00
Michael McCandless
c5c1913410
LUCENE-1050: detect errors on releasing the lock (if delete of the lock file fails)s
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595448 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 20:42:54 +00:00
Michael Busch
bb37d2bcff
LUCENE-1051: Generate separate javadocs for core, demo and contrib classes, as well as an unified view.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595013 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 19:16:19 +00:00
Michael McCandless
ec560e3855
LUCENE-1044: default doSync to false for now because performance cost of the simple 'sync() before every close()' approach is too severe in many cases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@594824 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 10:25:34 +00:00
Michael Busch
68d95edb9b
Remove redundant else-clause from SegmentTermPositions#readDeltaPosition(). This might be a small performance gain.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@594411 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 03:33:36 +00:00
Chris M. Hostetter
881d811641
ossummit rescheduled, new dates unknown - use new gif and remove explicit date refrences
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593938 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 18:45:16 +00:00
Michael McCandless
8b450203fe
LUCENE-1020: close each SegmentReader after we've finished testing that segment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593819 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 22:33:10 +00:00
Michael McCandless
439ba586fc
LUCENE-1044: add doSync option to FSDirectory.getDirectory, defaulting to true, to sync() each file descriptor before close()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593799 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 17:51:00 +00:00
Michael McCandless
f69f98c0e4
LUCENE-1048: fix Lock.obtain(...) to work properly on very large timeouts, eg Long.MAX_VALUE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593774 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 13:43:18 +00:00
Michael McCandless
a98a30818f
LUCENE-1043: speed up merging of stored fields by bulk-copying bytes for contiguous range of non-deleted docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593131 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 11:07:04 +00:00
Michael McCandless
d1989f46fa
LUCENE-1047: change MergePolicy & MergeScheduler from interface to abstract base class to have future freedom to add default methods without breaking backwards compatibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593115 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 10:21:29 +00:00
Michael McCandless
5227c5cedd
LUCENE-843: change public -> package protected for two advanced static methods on SegmentReader used only during merging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593114 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 10:12:17 +00:00
Grant Ingersoll
413c92f178
LUCENE-1038: Sets the document number of the term vector being mapped.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@591620 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 13:41:46 +00:00
Grant Ingersoll
7012f67027
LUCENE-1015: Added support for caching longs and doubles in a new interface, ExtendedFieldCache and *Impl. Added support into the various sorting fields. Put in some testing for it.
...
Removed the author tag in NumberTools.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@590530 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 01:28:25 +00:00
Michael McCandless
526d97676d
LUCENE-1036: make sure the priority argument to Thread.setPriority(...) in ConcurrentMergeScheduler is in-bounds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@589549 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 09:00:56 +00:00
Michael McCandless
e7debdf9e3
LUCENE-1020: created basic tool to check an index, print details of each segment, and fix the index by removing broken segments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@587107 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 14:22:24 +00:00
Michael McCandless
38bbbb51de
LUCENE-1022: share writer's infoStream with LogMergePolicy & ConcurrentMergeScheduler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@587101 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 14:04:31 +00:00
Doron Cohen
1df7007219
LUCENE-1028: Fixed Weight serialization for few queries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@587050 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 09:58:48 +00:00
Michael McCandless
112f227ecc
LUCENE-1012: correct the javadocs for maxMergeDocs / maxMergeMB to state that the limit applies to each segment being merged, not to the resulting merged segment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@585572 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:54:22 +00:00
Michael McCandless
3b6b765939
LUCENE-1021: make all unit tests subclass from a new LuceneTestCase, so that we can assert no unhandled exceptions occurred in ConcurrentMergeScheduler's threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@583534 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 16:46:35 +00:00
Michael McCandless
5f4975211a
add NOTE that the input Directory[] to addIndexes* must not be opened by a writer while the method is running
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@583450 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 12:26:18 +00:00
Michael McCandless
ceebb95d63
LUCENE-1018: fix intermittent exception in TestConcurrentMergeScheduler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582508 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 15:12:43 +00:00
Daniel Naber
9de7367279
fix typos in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582478 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 11:09:20 +00:00
Michael McCandless
065553bd20
LUCENE-1013: fix IndexWriter.setMaxMergeDocs(N) to work out-of-the-box again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582384 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 20:51:53 +00:00
Chris M. Hostetter
2ac108d096
javadoc typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582381 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 20:31:42 +00:00
Chris M. Hostetter
ef03dedeef
javadoc typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582375 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 19:26:32 +00:00
Michael McCandless
af6b980c45
LUCENE-1009: missed one file in the 'merge slowdown' fix causing it to still be slow when compound doc stores are used; also fixed default for comopund doc store = compound doc file format
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582193 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 10:18:06 +00:00
Chris M. Hostetter
5a1fdc2a72
more explicit javadocs about Scorer contract for iterating in doc id order
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582054 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 01:53:29 +00:00
Michael McCandless
f19266575e
LUCENE-1011: 'get multiple writers over NFS' to work even when NFS client dir listing cache can be stale
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581625 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 15:24:12 +00:00
Chris M. Hostetter
7c349594d6
clean up con icons so they float right; also using forrest 0.8 images
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581504 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 06:15:32 +00:00
Michael McCandless
f3119614e6
LUCENE-1007: woops ... Integer.SIZE is Java 1.5 only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581355 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 19:21:28 +00:00
Michael McCandless
54729a50b6
LUCENE-1007: allow flushing by ram, doc count, or both (whichever comes first) in IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581353 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 19:15:43 +00:00
Erik Hatcher
b89d70d042
Add OSSummit Asia news
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581328 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:05:26 +00:00
Michael McCandless
8df6312a30
LUCENE-1009: Fix merge slowdown with LogByteSizeMergePolicy when autoCommit=false and documents are using stored fields and/or term vectors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580646 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 21:22:35 +00:00
Michael McCandless
8315089cdd
LUCENE-1010: fix corruption case, hit during merge, case when docs with and without term-vectors are mixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580643 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 21:11:57 +00:00
Yonik Seeley
16342bedb9
qp accept empty string: LUCENE-1006
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580584 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 14:10:56 +00:00
Michael McCandless
014f23033f
LUCENE-1008: fix corruption case when document has no term vector fields after other docs with term vector fields were added
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580578 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 12:52:45 +00:00
Chris M. Hostetter
7496e8834f
typo in javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580553 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 07:40:50 +00:00
Michael McCandless
a28eb4d978
LUCENE-994: change defaults in IndexWriter to maximize 'out of the box' indexing speed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@579360 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 20:02:07 +00:00
Chris M. Hostetter
c028a06388
removing empty file -- was confusing clover
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@577635 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 08:46:38 +00:00
Michael Busch
68aa146535
LUCENE-986: Refactored SegmentInfos from IndexReader into the new subclass DirectoryIndexReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@577596 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 07:27:07 +00:00
Michael McCandless
963635448e
LUCENE-845: fixed a case that was allowing same segment name to be used twice when a concurrent merge was aborted in between
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@576934 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 14:44:04 +00:00
Michael McCandless
ddb17c6397
LUCENE-984: reduce TermVectorsWriter to just the merging use case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@576807 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 09:53:34 +00:00
Michael McCandless
299d6357dd
LUCENE-845, LUCENE-847, LUCENE-870: factor MergePolicy & MergeScheduler out of IndexWriter, improve overall concurrency of IndexWriter, and add ConcurrentMergeScheduler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@576798 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 09:27:14 +00:00
Chris M. Hostetter
ec0c99a3c6
MultiSegmentReader doesn't have svn:eol-style=native, and was commited with DOS line endings ... hopefully just setting the property will fix it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@576731 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 06:46:17 +00:00
Michael McCandless
e7179ea866
LUCENE-992: move buffered deletes into DocumentsWriter so IndexWriter.updateDocument is atomic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@574260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 14:33:51 +00:00
Grant Ingersoll
bce939dcb2
LUCENE-991: Fixed explain() method reporting issues when no payloads present.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@573881 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 16:57:28 +00:00
Grant Ingersoll
373f0d777f
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@573558 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 12:29:07 +00:00
Grant Ingersoll
6c761bde63
updated mailing list info
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@573260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 13:28:58 +00:00
Michael McCandless
bcb5b6ff24
LUCENE-987: deprecate IndexModifier
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@570247 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 21:18:16 +00:00
Grant Ingersoll
2b4e5a82de
ApacheCon US news
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@569806 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 11:18:38 +00:00
Michael Busch
9c2a036db3
- LUCENE-908: Improvements and simplifications for how the MANIFEST file and the META-INF dir are created.
...
- LUCENE-935: Various improvements for the maven artifacts. Now the artifacts also include the sources as .jar files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@568766 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 23:16:48 +00:00
Michael McCandless
27c4c6a3b1
LUCENE-985: throw clearer exception when term is too long (> 16383 chars)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567338 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 23:15:14 +00:00
Michael McCandless
c1a76d9dbe
LUCENE-978: ensure all streams are closed when we hit exception in constructor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567253 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 09:42:21 +00:00
Michael McCandless
06d4849ca8
LUCENE-871: speedups for ISOLatin1AccentFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567085 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 16:58:36 +00:00
Grant Ingersoll
f38b1cf2f8
LUCENE-975: New PositionBasedTermVectorMapper for getting term vector information on a position by position basis.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@565994 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 01:14:54 +00:00
Yonik Seeley
a94db219bd
LUCENE-977: internal hashing improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@565368 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 14:59:03 +00:00
Michael McCandless
c25c1282ef
LUCENE-976: add missing openInput(String, int) to MMapDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@564785 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 22:20:35 +00:00
Michael McCandless
d42de32984
LUCENE-969: deprecate Token.termText() & optimize core tokenizers by re-using tokens & TokenStreams
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@564715 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 18:34:33 +00:00
Grant Ingersoll
82eb074afd
LUCENE-974: Removed Author tags from all existing code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@564236 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 15:21:19 +00:00
Michael McCandless
2d954694dc
LUCENE-966: sizable (~6X faster) speedups to StandardTokenizer by using JFlex instead of JavaCC
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@564036 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 22:26:44 +00:00
Michael McCandless
32b981044f
LUCENE-948: handle stale dir listing caches on NFS (so quickly switching writers between machines works)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@562546 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 18:41:22 +00:00
Michael Busch
60c6a847b5
LUCENE-832: ParallelReader fixed to not throw NPE if isCurrent(), isOptimized() or getVersion() is called.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@561611 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 00:43:11 +00:00
Michael Busch
4b11c35b08
LUCENE-970: FilterIndexReader now implements isOptimized().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@561162 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 22:29:56 +00:00
Michael McCandless
1bc5a68549
LUCENE-964: remove DocumentWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@560378 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 20:50:19 +00:00
Michael Busch
c1496444b2
LUCENE-781: MultiReader fixed to not throw NPE if isCurrent(), isOptimized() or getVersion() is called.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@560024 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 22:52:08 +00:00
Grant Ingersoll
2d16613438
LUCENE-868: Added a Javadoc comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@559083 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 15:30:45 +00:00
Michael Busch
273d28f000
LUCENE-939: Check explicitly for boundary conditions in FieldInfos.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@558917 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 03:05:21 +00:00
Grant Ingersoll
e97d5830ce
LUCENE-868: New Term Vector access mechanism. Allows for applications to define how they access term vector information instead of having to pack/unpack the TV info returned by the old way.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@558592 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 03:17:25 +00:00
Daniel Naber
86432275f6
protect object against NPE in finally block, as an NPE here would hide the original exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@558160 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 21:38:55 +00:00
Daniel Naber
58027a24bb
improve setMaxFieldLength documentation; remove unused import statements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@558132 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:53:58 +00:00
Doron Cohen
e2d3fe1787
LUCENE-957: RAMDirectory fixed for more than Integer.MAX_VALUE bytes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557678 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 16:27:48 +00:00
Michael McCandless
a3298ce85c
LUCENE-963: added caveats to javadocs for new Field setValue(...) methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557553 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 10:16:30 +00:00
Michael McCandless
66bacd0b13
LUCENE-963: add setters to Field to allow re-using Field instances during indexing (for better performance)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557445 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 01:33:59 +00:00
Grant Ingersoll
4293019522
LUCENE-960: Added SpanFilter mechanism that provides BitSet information and Span information in a filter. This can be used to get position information on where in a Document that is "on" in the filter matched.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557105 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 00:52:07 +00:00
Michael McCandless
aae68e0ba6
LUCENE-962: fixed case where unhandled exception in addDocument or updateDocument could fail to delete unreferenced files in the index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557082 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 23:22:56 +00:00
Yonik Seeley
230ecaa169
remove synchronization in Document: LUCENE-959
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@556693 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 18:46:58 +00:00
Michael McCandless
f55e4057d2
LUCENE-938: fixed certain cases where an unhandled exception could cause IndexWriter to lose buffered deletes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@556010 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 14:23:47 +00:00
Michael McCandless
8355ab88b3
LUCENE-843: fixed the triggerMerger logic from LUCENE-887 that I accidentally lost
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@555793 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 22:15:20 +00:00
Michael Busch
5b944011ff
LUCENE-944: Remove deprecated methods setUseScorer14() and getUseScorer14() from BooleanQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@555717 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 18:41:40 +00:00
Michael Busch
7c612dcb2d
LUCENE-951: Fixed NullPointerException in MultiLevelSkipListReader that was thrown after a call of TermPositions.seek().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@555683 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 16:23:46 +00:00
Michael Busch
c8f84d6707
LUCENE-955: Fixed SegmentTermPositions to work correctly with the first term in the dictionary.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@555678 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 16:14:54 +00:00
Yonik Seeley
d7c0af3f30
replace div with shift since idiv takes ~40 cycles and compiler can't do strength reduction w/o knowing ops are non-negative
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553947 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 16:34:40 +00:00
Michael McCandless
4db9625e28
LUCENE-843: add missing 'synchronized' to allThreadsIdle() method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553854 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 11:57:18 +00:00
Michael McCandless
3e1a31748e
LUCENE-843: SegmentInfo.clone() failed to copy some fields; in certain cases _x.nrm might not be created even when fieldInfos says it has norms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553298 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 19:03:21 +00:00
Michael McCandless
50787ab505
LUCENE-892: don't do extra buffer-to-buffer copies in CompoundFileReader.CSIndexInput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553269 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 17:00:22 +00:00
Michael McCandless
cff5767e44
LUCENE-843: speed up IndexWriter performance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553236 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 15:16:38 +00:00
Doron Cohen
ba90fb06c1
LUCENE-946: replace text from an online collection (used in
...
few test cases) with text that is surely 100% free.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@552009 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 19:43:19 +00:00
Chris M. Hostetter
3e39b0a9a0
LUCENE-936: example doesn't match text
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@550680 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 04:35:29 +00:00
Chris M. Hostetter
290c339ef9
regening all docs using forrest 0.8 ... removing sitemap.xmap per forrest 0.8 upgrade instructures, all other changes are just the effects of skin changes in 0.8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@550678 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 04:29:29 +00:00
Doron Cohen
1d77b82dbf
LUCENE-933: QueryParser fixed to not produce empty sub
...
BooleanQueries "()" even if the Analyzer
proudced no tokens for input.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@550647 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 00:40:20 +00:00
Michael Busch
7505950c5f
LUCENE-937: CachingTokenFilter now uses an iterator to access the Tokens that are cached in the LinkedList.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@550060 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 15:56:34 +00:00
Michael Busch
84ebd3fa03
Improvements to Lucene 2.2 news entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@549308 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 00:44:07 +00:00
Grant Ingersoll
dddb4b2d70
Removed news item occurring before 2007
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@548902 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 03:00:16 +00:00
Grant Ingersoll
73ed823c08
fix typo in 2.2 release announcement
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@548896 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 02:46:44 +00:00
Michael Busch
18bf1cd45e
adding benchmarktemplate.xml; this file was probably forgotten when the new forrest website was created; since then the link on benchmarks.html was broken
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@548629 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 07:21:56 +00:00
Michael Busch
482ee4062f
update website for Lucene 2.2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@548610 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 06:38:13 +00:00
Michael Busch
9578df3233
LUCENE-910: Change of the Payload javadoc comment in Similarity.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547995 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 23:25:34 +00:00
Doron Cohen
b265b576a9
fix sample code to be compilable (part of LUCENE-925 - Analysis Package Javadocs)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547871 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 06:48:31 +00:00
Doron Cohen
e8ed8cac4a
LUCENE-925: analysis package javadocs enhanced.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547814 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 22:16:24 +00:00
Grant Ingersoll
82f24dba0c
LUCENE-926: document package javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547234 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 12:43:40 +00:00
Grant Ingersoll
ca726ddf17
Lucene 925: analysis javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547226 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 12:09:02 +00:00
Grant Ingersoll
2bc81869df
LUCENE 918 and 922 docs for term vectors applied to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@546696 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 01:13:26 +00:00
Michael McCandless
1a35bbe0b3
LUCENE-924: small improvements to IndexWriter's javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545751 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 14:31:08 +00:00
Michael Busch
df0a188415
LUCENE-931: adding missing license headers to various files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545696 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 06:09:46 +00:00
Michael Busch
53ef7398ce
LUCENE-917: Javadoc improvements for org.apache.lucene.index.Payload
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545693 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 04:52:38 +00:00
Michael Busch
994f083846
LUCENE-923: Make SegmentTermPositionVector package-private.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545686 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 02:58:11 +00:00
Michael Busch
2cffd298a2
LUCENE-919: DefaultSkipListReader was accidentally public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545391 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 03:29:02 +00:00
Doron Cohen
899b858856
LUCENE-913: Two consecutive score() calls return different
...
scores for Boolean Queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545026 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 02:34:39 +00:00
Doron Cohen
860906333f
LUCENE-912: DisjunctionMaxScorer first skipTo(target) call ignores the
...
skip target param and ends up at the first match.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545024 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 02:17:02 +00:00
Michael Busch
731fb3a228
LUCENE-908:
...
- Improves content of MANIFEST file and makes it customizable for the contribs.
- Adds SNOWBALL-LICENSE.txt to META-INF of the snowball jar
- lucli jar now contains LICENSE.txt and NOTICE.txt.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545010 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:48:32 +00:00
Michael Busch
35b5ace0ab
LUCENE-910: added or changed warning comments for APIs related to Payloads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544713 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 02:57:03 +00:00
Grant Ingersoll
db99e27deb
LUCENE-905
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544706 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 01:54:35 +00:00
Doron Cohen
1de7b02e98
LUCENE-909: Demo targets for running the demo.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544685 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 23:52:05 +00:00
Michael Busch
8c62eb41a4
LUCENE-907: Include LICENSE.TXT and NOTICE.TXT in the META-INF dirs of demo war, demo jar, and the contrib jars.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544611 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 19:54:38 +00:00
Doron Cohen
125fed32d8
LUCENE-446: Added Solr's search.function for scores based on field
...
values, plus CustomScoreQuery for simple score (post) customization.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544546 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 16:29:35 +00:00
Michael McCandless
db78c85c21
LUCENE-843: making a small backwards compatible API change to return the newly added FieldInfo instance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544464 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 12:12:33 +00:00
Doron Cohen
bcc79d1e84
LUCENE-903: FilteredQuery explanation inaccuracy with boost.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544254 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 20:41:06 +00:00
Michael Busch
81849454e4
LUCENE-894: Add custom build file for binary distributions that includes targets to build the demos.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544040 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 04:03:24 +00:00
Daniel Naber
e2939508e5
javadoc improvements from LUCENE-763 by Steven Parkes; small javadoc parameter reordering to avoid warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@543620 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 21:18:56 +00:00
Michael Busch
87ba4a1258
LUCENE-866: Adds multi-level skip lists to the posting lists.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@543076 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 07:48:53 +00:00
Michael Busch
f86b74623d
Add protected convenience method for LUCENE-887. It neither changes IndexWriter's behavior, nor is this a public API change.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@543071 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 07:20:14 +00:00
Michael Busch
f5c80265e0
LUCENE-698: FilteredQuery now takes the query boost into account for scoring.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542968 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 23:09:25 +00:00
Michael McCandless
0d5a4755c9
LUCENE-888: fix possible NPE in assert statement
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542667 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 21:56:43 +00:00
Michael McCandless
3e09257c09
LUCENE-888: increase internal buffer sizes used during indexing to improve overall indexing speed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542561 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 15:14:07 +00:00
Michael McCandless
4ef95040cb
javadoc improvement: clarify impact of IndexWriter's autoCommit flag on IndexReader's isCurrent method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542492 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 11:26:09 +00:00
Michael McCandless
14ba4adfbe
some small improvements to IndexWriter's top-level javadoc based on recent threads on java-dev/java-user
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542474 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 09:52:48 +00:00
Michael Busch
5877c03a01
LUCENE-730: Make scoring in docid order the default and add setAllowDocsOutOfOrder() and getAllowDocsOutOfOrder() to BooleanQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542303 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 19:33:10 +00:00
Otis Gospodnetic
304884c660
- LUCENE-891 doc patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@541702 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 16:07:18 +00:00
Otis Gospodnetic
9fbee15671
- LUCENE-890 doc patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@541701 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 16:04:24 +00:00
Michael Busch
393b4525db
LUCENE-430: Delay allocation of the buffer after a clone of BufferedIndexInput.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@541402 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 19:42:47 +00:00
Michael Busch
45f760ea24
LUCENE-881: QueryParser.escape() now also escapes the characters '|' and '&'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@540839 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 04:54:38 +00:00
Chris M. Hostetter
b1eb460b7e
clarifing javadocs for BooleanClause.SHOULD - two is not a magic number, the real issue is a lack of MUST clauses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@540460 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 07:51:41 +00:00
Daniel Naber
0f7d981498
LUCENE-884: document that wildcard search doesn't work in phrases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@539596 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 20:42:49 +00:00
Michael Busch
56547a1f36
LUCENE-880: Fixed DocumentWriter to close the TokenStreams after it has written the postings.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@538892 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 12:38:43 +00:00
Michael McCandless
03cbb8fd86
LUCENE-877: fix confusing part of file format doc about the write.lock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536719 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 23:32:13 +00:00
Doron Cohen
8ed11daae0
javadoc warnings and errors solved (except for gdata).
...
build.xml "javadocs" target will now fail if there are
javadoc warnings/errors under jdk1.4.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@535448 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 05:36:49 +00:00
Otis Gospodnetic
e7c06745f7
- Added the missing ASL v2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@534568 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 17:48:47 +00:00
Michael Busch
80c0f267f6
LUCENE-580:
...
- Added the public method reset() to TokenStream.
- Added a new constructor to Field that takes a TokenStream as argument, useful for pre-analyzed fields.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@533549 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 19:26:11 +00:00
Doron Cohen
3c60a00b69
LUCENE-789: fix MultiSearcher to not ignore its custom similarity.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@532487 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 21:10:43 +00:00
Michael Busch
d7ea0e5b19
LUCENE-869: Changed FSIndexInput and FSIndexOutput to inner classes of FSDirectory to enable extensibility of these classes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@532259 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 08:46:14 +00:00
Grant Ingersoll
a181157bfd
LUCENE-834:
...
Added documentation to Similarity class
Changed BoostingTermQuery to score all occurrences of the term in a document by making the underlying setFreqCurrentDoc() method protected so that it can be overridden in BTQ. Updated the tests to have multiple terms per document with different payloads, so that it can be averaged.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@531913 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 12:49:42 +00:00
Doron Cohen
e06188c0d6
LUCENE-736: Sloppy phrase query with repeating terms matches wrong docs.
...
For example query "B C B"~2 matches the doc "A B C D E".
Search time cost of this fix is 4%, for sloppy phrase search.
This fix also partially brings back the the tests checkSkipTo() in QueryUtils,
(which was disabled by LUCENE-730), but this is now invoked
only for non Boolean scorers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@531733 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 05:32:47 +00:00
Doron Cohen
bb6d2cc9c9
set eol style to native (otherwise too much noise in 'svn diff' for simple changes.)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@531709 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 03:33:18 +00:00
Otis Gospodnetic
e5f28aacc3
- LUCENE-730: Let BooleanScorer2 fall back to BooleanScorer when no required clauses are present
...
and only optional and less than 32 prohibited clauses are in the query.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529783 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 22:00:07 +00:00
Michael Busch
3eaeba7fb7
LUCENE-431: RAMInputStream and RAMOutputStream subclass IndexInput and IndexOutput directly now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529749 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 20:08:41 +00:00
Chris M. Hostetter
866b626f67
minor followup to LUCENE-857, fixing a small mistake in Otis's orriginal commit to ensure that the deprecated QueryFilter still cache's
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@528298 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:59:28 +00:00
Grant Ingersoll
78a3a8a677
http://www.gossamer-threads.com/lists/lucene/java-dev/47895
...
Added javadocs about when to call optimize() method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@527946 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 14:02:09 +00:00
Michael McCandless
8abc9bf1f2
LUCENE-710: fix false-positive failure case of 'delete by time' deletion policy test case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@527299 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 21:09:32 +00:00
Otis Gospodnetic
b831821324
- LUCENE-857: Removed caching from QueryFilter and added QueryWrapperFilter that can be combined
...
with CachingWrapperFilter to provide caching.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@527291 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 20:42:47 +00:00
Otis Gospodnetic
2137fae116
- Removed a @todo and replaced it with javadoc about RemoteCachingWrapperFilter that was added in LUCENE-853
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526846 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 17:25:33 +00:00
Otis Gospodnetic
48e662cf52
- LUCENE-853: Filter caching on the remote side of the RMI connection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526842 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 17:13:44 +00:00
Daniel Naber
76dffdd6e0
small javadoc improvements about ids and performance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526550 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 13:17:10 +00:00
Daniel Naber
2412d83aa2
javadoc: clarify when a reader may be closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526546 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 12:40:33 +00:00
Daniel Naber
e21ffed782
improve the example code a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526225 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 16:52:46 +00:00
Otis Gospodnetic
9d7f9911a4
- LUCENE-796: Don't call super.get*Query(....) to let sub-classes override.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@525682 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 02:06:46 +00:00
Otis Gospodnetic
80d54c70ae
- Removed unused BooleanScore param passed to the inner BucketTable class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@525669 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 01:06:16 +00:00
Otis Gospodnetic
ace79697e3
- Removed unused var
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@525668 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 01:05:34 +00:00
Grant Ingersoll
ca5430c7a0
Update links to point to Hudson
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524517 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 02:51:52 +00:00
Grant Ingersoll
1e7d6d11cc
added missing space
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524498 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 00:03:03 +00:00
Grant Ingersoll
87213e0421
added missing space
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524497 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 00:02:37 +00:00
Grant Ingersoll
d9b2257834
Updated to point to Hudson nightly builds located on lucene.zones.a.o at http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524494 13f79535-47bb-0310-9956-ffa450edef68
2007-03-31 23:48:56 +00:00
Grant Ingersoll
b591bd8efb
LUCENE-834:
...
Added in payloads search package, with one Query implementation: BoostingTermQuery.
Added isPayloadAvailable() method to TermPositions and implementations.
Modified access rights to some of the spans classes so that they could be accessed from the payloads package.
All tests pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@523302 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 12:58:15 +00:00
Grant Ingersoll
2ba4a3ad83
Undoubtedly, a vain attempt to ward of people sending user help questions to java-dev by putting a do not send message a little bit closer to the subscribe button.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@522646 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 22:16:15 +00:00
Michael McCandless
eee9d52886
LUCENE-846: don't corrupt IndexWriter instance on hitting exception (eg disk full) during addIndexes(*) when writer is opened with autoCommit=false
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@522262 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 13:18:55 +00:00
Yonik Seeley
14d70e9be7
interned comparison comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@520891 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 13:58:47 +00:00
Otis Gospodnetic
539eaa3fd7
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@519008 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 15:22:10 +00:00
Otis Gospodnetic
deabc30668
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@519007 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 15:21:53 +00:00
Otis Gospodnetic
939ed115c4
-LUCENE-828: Term equals(Object) fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@519006 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 15:21:05 +00:00
Michael McCandless
b5a0c0c3de
LUCENE-710: make IndexWriter.abort() synchronized
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518781 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 22:22:57 +00:00
Doron Cohen
40093328ca
TestWindowsMmap now creates the index $(system.tempDir)/testLuceneMmap.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518753 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 21:08:54 +00:00
Doron Cohen
b04a15016d
LUCENE-710 followup: code cosmetics and added documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518734 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 19:22:26 +00:00
Doron Cohen
a6d56d5eb9
maintain most recent file format in a single line in the code.
...
(this is less bug prone.)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518529 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 09:08:07 +00:00
Michael Busch
cb88961792
LUCENE-807: Fixed the javadoc for ScoreDocComparator.compare() to be consistent with java.util.Comparator.compare()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518518 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 08:48:00 +00:00
Michael Busch
eb20c06a62
LUCENE-755: Added the ability to store arbitrary binary metadata (payloads) in the posting list.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518486 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 05:15:43 +00:00
Michael McCandless
9da8211775
LUCENE-818: throw AlreadyClosedException when accessing IndexWriter, *Reader, RAMDirectory and FieldsReader after close()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518262 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 18:46:03 +00:00
Michael McCandless
4648912089
call rmDir() up front to prevent confusing false-positive failures from backwards compatibility unit test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518090 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 10:23:44 +00:00
Doron Cohen
d4e406ad22
LUCENE-814: javacc build targets now fix line-end-style of generated
...
files, and deleting all javacc generated files before calling javacc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517863 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:50:56 +00:00
Michael McCandless
1159f9a768
LUCENE-710: add optional autoCommit=true/false mode and customizable IndexDeletionPolicy to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517599 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 09:06:22 +00:00
Michael Busch
11fb1314e6
Corrected comments and changed a variable name in SegmentTermPositions to better reflect the meaning of the variable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517007 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 20:29:19 +00:00
Michael Busch
0b706b4688
LUCENE-761: The proxStream is now cloned lazily in SegmentTermPositions when nextPosition() is called for the first time.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516863 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 07:06:40 +00:00
Grant Ingersoll
f4490ac789
LUCENE 791, INFRA-1173:
...
Migrated references from Jakarta Lucene Wiki to Lucene Java Wiki
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516586 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:29:00 +00:00
Michael McCandless
07a632c0e9
LUCENE-825: detect null returned from Directory.list() and throw IOException not NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516120 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 17:59:11 +00:00
Michael Busch
57cf17d188
LUCENE-372: QueryParser.parse() now ensures that the entire input string is consumed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515914 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 04:18:56 +00:00
Michael Busch
397187494f
LUCENE-800: removed backslash from the TERM_CHAR list in the QueryParser to support escaping of backslashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515908 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 03:37:12 +00:00
Doron Cohen
35c0da7cab
TestBackwardsCompatibility typo - rmDir already computes fullDir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515893 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:11:50 +00:00
Michael McCandless
622d58b3f8
LUCENE-825: make sure FileNotFoundException is returned if directory.list() returns null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515495 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 08:45:58 +00:00
Michael McCandless
810700836f
LUCENE-824: remove redundant try/catch from IndexWriter.addIndexesNoOptimize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515489 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 08:32:28 +00:00
Michael McCandless
1d1e44681e
LUCENE-823: add unit test coverage to assert that when a MockRAMDirectory is closed, there are no open files; fixed 2 minor cases this check uncovered
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515316 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 21:40:55 +00:00
Michael McCandless
2380a957ef
Fixing backwards compatibility unit test to make its test dirs under tempDir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515249 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 18:52:32 +00:00
Grant Ingersoll
83efa50f5e
https://issues.apache.org/jira/browse/LUCENE-822
...
Applied Mark Miller's patch. Added Unit tests to TestRemoteSearchable and TestMultiSearcher. To get RemoteSearchable to work, had to make FieldSelector and FieldSelectorResult serializable.
All tests pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514675 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 14:28:01 +00:00
Michael McCandless
4081e733b1
LUCENE-820: improve MockRAMDirectory to mimic Windows (can't delete open files); added test case for this bug (this root cause of this bug was already fixed by the fix to LUCENE-821)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514370 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 08:25:31 +00:00
Yonik Seeley
e6a9d9b318
only open .nrm file once: LUCENE-821
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514344 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 03:23:00 +00:00
Yonik Seeley
1c3ec1d1d2
clarify Term javadoc: field shouldn't be null either
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513547 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 23:10:51 +00:00
Otis Gospodnetic
53e4c9dc02
- Wrapped looong liiines
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513258 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 10:21:16 +00:00
Yonik Seeley
1e1f9bddb1
clarify null term text
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513142 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 05:03:45 +00:00
Michael McCandless
66d4eb336f
LUCENE-812: make sure Native/SimpleFSLockFactory can be set via system property
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512493 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 23:33:31 +00:00
Doron Cohen
178500b09c
LUCENE-813: Leading wildcard fixed to work with trailing wildcard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512371 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 19:26:57 +00:00
Michael McCandless
330aa3063e
LUCENE-771: fixing the description of the naming of the write lock in the file format doc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512329 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:26:58 +00:00
Michael McCandless
1486b19a4f
LUCENE-811: make SegmentInfos class package-private again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@511384 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 00:43:45 +00:00
Michael McCandless
4541271b9d
LUCENE-793: added 3 new exceptions (subclasses of IOException) to better call out possible root causes of an IOException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@510176 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 20:01:36 +00:00
Doron Cohen
5ff29d2bef
clean IndexWriter unused code: Unused private constructor; Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@509924 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 07:22:13 +00:00
Doron Cohen
ff786381b1
search package javadoc fix: Content line; Typo; Update WildCardQuery info with QueryParser.setAllowLeadingWildcard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@509866 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 02:18:19 +00:00
Daniel Naber
45bf72b22b
tiny typo fix in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@509741 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:49:07 +00:00
Grant Ingersoll
ef5176288f
Fixed the bad link to clover tests in developer-resources.xml.
...
Added ApacheCon news items to index.xml and updated the site.
I believe the changes to the skin/images are do to me putting in the SVN eol configuration per Yonik's suggestion on the mailing list. As far as I can tell, the images still look correct.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@508992 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:50:36 +00:00
Yonik Seeley
65c9c90703
site update for Lucene 2.1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@508904 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 14:24:11 +00:00
Doron Cohen
cb2f8390b2
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@508359 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 10:00:55 +00:00
Yonik Seeley
070ed839b2
add getFilter to ConstantScoreQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507374 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 03:12:50 +00:00
Grant Ingersoll
09930c9349
LUCENE-799: Added support for Lazy compressed string fields. Thanks to Mike Klaas.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507009 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 14:06:52 +00:00
Michael McCandless
95bab8401f
LUCENE-565: merge NewIndexModifier back into IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@506964 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 10:43:08 +00:00
Grant Ingersoll
65d27c8d72
Lucene 762 - Applied original patch as I could not find a nice way to handle lazy fields as part of a readField() method on FieldSelectorResult per the suggestion on 762.
...
All tests pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@505154 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 03:16:20 +00:00
Daniel Naber
edde3b691a
there was no test case for subSearcher() -> adding at least a simple one
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@505038 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 21:12:49 +00:00
Grant Ingersoll
df6894f7ad
Added link to my FOAF page on people.a.o
...
See http://people.apache.org/foaf/index.html for info on adding a FOAF
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@504631 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 17:41:47 +00:00
Daniel Naber
55450e5b2c
LUCENE-795: deprecate Directory.renameFile()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@503911 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 22:49:42 +00:00
Michael McCandless
842995a83c
LUCENE-701: make IndexFileDeleter class package protected and final (was public unnecessarily)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@503293 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 19:45:35 +00:00
Doug Cutting
3e0bd9472d
Organize 'who we are' page to better match current active committers.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@502786 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 23:08:52 +00:00
Michael Busch
e5a6d06899
added myself to the committer list on the "Who we are" page
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@502589 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 12:43:11 +00:00
Michael McCandless
7d583030ce
LUCENE-565: added NewIndexModifier (IndexWriter subclass) to more efficiently handle updating documents (delete then add)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@502191 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 10:55:12 +00:00
Michael McCandless
4e79f49f23
LUCENE-785: make RAMDirectory serializable again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@500611 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 20:39:14 +00:00
Grant Ingersoll
ec0dc7b8f6
Updated Solr link per Solr graduation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499208 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 01:28:53 +00:00
Daniel Naber
9a57076257
revert LUCENE-781 for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499176 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 22:54:40 +00:00
Daniel Naber
fb60f574aa
LUCENE-781: fixed NPE in MultiReader.isCurrent() and getVersion()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499152 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 22:01:05 +00:00
Michael McCandless
d8979209bc
LUCENE-773: fixed NPE caused by IndexWriter assuming LockFactory was non-null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499089 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 17:33:11 +00:00
Michael McCandless
3b13126bf5
LUCENE-780: add static Directory.copy() method to copy files from one Directory to another
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@498755 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 19:21:56 +00:00
Michael McCandless
02d6b05cd6
LUCENE-773: deprecate "create" argument to
...
FSDirectory.getDirectory(*); use IndexWriter's "create" argument
instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@497612 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 22:47:03 +00:00
Michael McCandless
30083146b4
LUCENE-756: small improvement to not rely on IO operation (fileExists)
...
to check whether a "single norm file" is in use for the segment.
Instead, save this information per segment explicitly into the segment
infos file. Also renamed to "singleNormFile".
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@496851 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 20:24:52 +00:00
Michael McCandless
ff86319f03
LUCENE-776: just clarifying comment on the private DIRECTORIES cache in FSDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@496166 13f79535-47bb-0310-9956-ffa450edef68
2007-01-14 22:13:04 +00:00
Michael McCandless
9ae7389701
LUCENE-771:
...
* API change: change LockFactory.clearAllLocks() to
LockFactory.clearLock(String lockName) because locks are no longer
so "global". (This API is not released yet). Now FSDirectory
just clears specifically the write lock when create=true.
* Fix abstraction violation of LockFactory: FSDirectory now calls
clearLock() instead of doing File deletes itself (duh!).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495911 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 15:40:34 +00:00
Michael McCandless
0e556e399b
LUCENE-771:
...
* Default write lock location to the index directory and use the
name "write.lock" (without prefix).
* Make the LockFactory.clearAllLocks() method package protected.
* Remove LOCK_DIR and no-argument constructors for
SimpleFSLockFactory and NativeFSLockFactory (no more global lock
directory).
* Deprecate FSDirectory.LOCK_DIR
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495760 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 22:09:45 +00:00
Otis Gospodnetic
7c241242f0
- Added more javadoc for NO_NORMS
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495191 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 10:55:32 +00:00
Otis Gospodnetic
9b0986ae37
- Added isOptimized() to IndexReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495190 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 10:53:25 +00:00
Otis Gospodnetic
da7c50925d
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495186 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 10:51:19 +00:00
Michael McCandless
815f4f252e
LUCENE-140:
...
- Add 2 more checks on initializing SegmentReader that raise
IllegalStateException if corruption is detected. This would have
caught the second cause in LUCENE-140 (incorrectly re-using old
.del files) earlier.
- Fixed bugs in two unit tests that tripped up on these new checks.
- Fixed (tightened) one more boundary case (when lastDoc was 0) in
the pre-existing "docs out of order" check in SegmentMerger.java.
- Simplified the unit test I added to TestIndexReader to test this
issue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494933 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 19:06:36 +00:00
Michael McCandless
91204f8d54
LUCENE-767: derive maxDoc from SegmentInfo.docCount instead of file length of fieldsReader's index file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494871 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 16:06:33 +00:00
Bernhard Messer
fe9c033464
remove "tvp" from INDEX_EXTENSIONS which not used at all.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494521 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 18:56:37 +00:00
Michael McCandless
853c03ac43
LUCENE-768: make sure IndexReader.close releases write lock even after hitting an exception in one of the methods that acquire the write lock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494492 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 17:13:57 +00:00
Chris M. Hostetter
ceaa0c3091
LUCENE-732 - DateTools support for QueryParser, Resolution can be set on a per field basis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494184 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 20:02:51 +00:00
Michael McCandless
dc20634a97
LUCENE-140: Add bounds checking to BitVector's get, set, clear methods
...
to prevent index corruption on calling IndexReader.deleteDocument(int
docNum) on a "slightly" out of bounds docNum. Other changes:
* In IndexReader.deleteDocument, set hasChanges to true before
calling doDelete in case an Exception is hit in doDelete.
* Changed the "docs out of order" check to be tighter (<= instead of
<) to catch boundary case that was missed.
* Fixed small unrelated javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494136 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 18:11:08 +00:00
Yonik Seeley
0971e23550
norms test: LUCENE-756
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@493897 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 01:05:19 +00:00
Yonik Seeley
c9795dd56b
Maintain norms in a single file .nrm: LUCENE-756
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@493641 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 04:19:21 +00:00
Grant Ingersoll
f0b51f5e2b
Lucene.NET should be Lucene.Net
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@493285 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 03:38:44 +00:00
Grant Ingersoll
957be9a455
News item for LUCENE-493, announcing nightly source build availability. Also fixed a missing section tag in index.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492315 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 21:44:43 +00:00
Michael McCandless
c82b1703e3
LUCENE-764: add details to javadocs about temporary disk usage of IndexWriter optimize, addIndexes, addDocument methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492300 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 20:59:01 +00:00
Michael McCandless
411575b600
LUCENE-758: fix javadocs to clarify that RAMDirectory(Directory) makes a full copy of the original Directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@491574 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 14:06:26 +00:00
Grant Ingersoll
9814a94714
Added some info on what is in a release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@491026 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 15:19:14 +00:00
Grant Ingersoll
ec9cbca90c
LUCENE-708: Added a news item announcing the new nightly build based structure of the website.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489780 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 22:13:20 +00:00
Grant Ingersoll
c778473589
Lucene 654 - Added GData
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489253 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 03:04:53 +00:00
Otis Gospodnetic
8e6c9a7f49
- ThreadLocals' remove() was added in Java 1.5, using set(null) instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489230 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 00:21:05 +00:00
Otis Gospodnetic
42592aeb49
- LUCENE-436: removed finalize() methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489183 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 19:45:40 +00:00
Yonik Seeley
f4b3239092
fix FieldCache holding hard ref to readers: LUCENE-754
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488908 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 03:47:09 +00:00
Michael McCandless
dc910bdc53
LUCENE-701: remove unnecessary and confusing extra line
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488854 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 23:41:22 +00:00
Yonik Seeley
30c8ce4f10
remove FSIndexOutput finalizer, move FSIndexInput finalizer to it's Descriptor: LUCENE-750
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488722 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 16:31:06 +00:00
Michael McCandless
19ba76b0d4
LUCENE-750: fix one case that was not closing an IndexOutput with a try/finally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488716 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 16:17:35 +00:00
Michael McCandless
7c4b667f71
LUCENE-748: add javadoc around semantics of Exception during IndexWriter.close()
...
LUCENE-129: fix finalizers to always call super.finalize
LUCENE-301: add new constructors IndexWriter({String,File,Directory}, Analyzer) that create index if it's not already there, else append
LUCENE-701: found two cases of "open IndexWriter for create while reader is open, on Windows" that I didn't properly fix; added new test cases
LUCENE-702: corrected some small javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488640 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 11:31:27 +00:00
Michael McCandless
d6823ef374
LUCENE-702: make sure addIndexes(*) does not corrupt index on disk full; change to transactional semantics; fix IndexWriter.mergeSegments and IndexReader.commit to clean up (and leave instance consistent) on exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488330 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 16:45:29 +00:00
Yonik Seeley
f1467191f1
replace Vector with ArrayList, add clauses() to return that List of clauses: LUCENE-745
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487931 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 02:40:37 +00:00
Yonik Seeley
487fd6657c
fix confusing indentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487929 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 02:24:49 +00:00
Otis Gospodnetic
d0f24d87da
- Typo and tabs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487922 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 00:10:40 +00:00
Grant Ingersoll
9b2405c0cc
Uses JUnit Task defined tempDir instead of system temp.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487878 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 20:38:44 +00:00
Grant Ingersoll
a4e0edd530
LUCENE-713. Updated fileformats.xml to include how position and offset info is stored in the TVF file.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487874 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 20:23:30 +00:00
Grant Ingersoll
16a578c21a
Hooked in link to Clover test code coverage reports, which will be generated by the nightly build once it goes live. Currently the webserver holds a snapshot of the reports as generated on 12-16-06. See issue 708.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487860 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 19:22:10 +00:00
Otis Gospodnetic
5b21cee1b0
- Fixed typo and unused import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487514 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 10:49:21 +00:00
Yonik Seeley
86442612f3
SpanOrQuery simplification and test: LUCENE-742
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486295 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 19:52:03 +00:00
Grant Ingersoll
15df97db57
LUCENE 744 - Appended user.name property onto the directory that gets created in temp so that there aren't naming clashes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485988 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 02:44:42 +00:00
Yonik Seeley
10460b5e87
Performance improvement for SegmentMerger.mergeNorms: LUCENE-739
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485469 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 02:38:29 +00:00
Yonik Seeley
0d109d1485
read/write .del as d-gaps when the deleted bit vector is sufficiently sparse: LUCENE-738
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485463 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 02:03:38 +00:00
Grant Ingersoll
6ccabb7c8f
http://issues.apache.org/jira/browse/LUCENE-721 -- Added in Clover code coverage, thanks to Michael Busch.
...
Updated the xdocs with a new file named systemrequirements that details the system requirements for using Lucene. Linked to them via the developer-resources and the releases page. Regenerated the site.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485001 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 16:32:22 +00:00
Grant Ingersoll
e3f84c2a19
Fixed the trail (thanks Marvin) in skinconf and put in a temporary feather logo for the left image.
...
Added in developer-resources.xml that contains info on contributing, downloading nightly builds and getting code from SVN and added it under the resources section.
Fixed the news release item on the main page to be Nov. 26
Added in links to previous versions of site under the Site Versions so that we have links. These sites have been downloaded and are available on the website, just not linked to until now
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@481549 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 12:11:45 +00:00
Michael McCandless
2b39422870
LUCENE-669: don't double-close RandomAccessFile in finalize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480785 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 00:07:46 +00:00
Daniel Naber
16d9dc0f49
fix a typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480706 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 20:22:11 +00:00
Grant Ingersoll
ae1b4dba98
Readded the lock-less commits documentation that was accidentally lost.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480702 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 20:10:44 +00:00
Michael McCandless
3ec7fb833f
LUCENE-727: adding unit test for MMapDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480163 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 19:27:58 +00:00
Yonik Seeley
5b7b831122
map *:* to MatchAllDocsQuery: LUCENE-723
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480150 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 18:29:28 +00:00
Yonik Seeley
42e2191b93
non-recursive MultiTermDocs.next,skipTo: LUCENE-729
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480147 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 18:17:56 +00:00
Grant Ingersoll
fa2be4c0d2
Updated the website to new Forrest based site, see Issue 707, part one of commits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479465 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 00:00:46 +00:00
Otis Gospodnetic
fe47121a67
- LUCENE-726: removed the use of a deprecated method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479458 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 23:40:18 +00:00
Otis Gospodnetic
694dceaa33
- Added the ASF License header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479096 13f79535-47bb-0310-9956-ffa450edef68
2006-11-25 07:30:23 +00:00
Michael McCandless
a01711b245
LUCENE-720: added a few missing close's
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478241 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 17:07:00 +00:00
Michael McCandless
19f90a38ee
LUCENE-720: fix two new unit tests (with lockless) to dynamically compute field number since this number can vary depending on JRE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478239 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 17:01:31 +00:00
Yonik Seeley
9ba7a8e612
RAMDirectory.sizeInBytes, public flushRamSegments: LUCENE-709
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478014 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 02:47:49 +00:00
Michael McCandless
e6f5697499
LUCENE-701: temporarily disable 2 unit tests until I can fix to pass cross-platform/JRE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477637 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 11:49:44 +00:00
Erik Hatcher
c44be0c446
LUCENE-543: WildcardQuery without wildcarded term rewrites to a TermQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477424 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 00:09:50 +00:00
Otis Gospodnetic
0568a30552
LUCENE-651: Fixed a race condition in initialization of FieldCache.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477084 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 07:10:04 +00:00
Yonik Seeley
a37adee24c
remove Java5 method call
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477008 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 02:29:59 +00:00
Chris M. Hostetter
5569c9f610
minor change: clean up some tmp test index directories (only on successful completion of test method)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476972 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 23:14:31 +00:00
Yonik Seeley
f5661f7c58
unicode escapes for QueryParser: LUCENE-716
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476679 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 01:34:10 +00:00
Yonik Seeley
fd42f16265
backslash escapes within quotes: LUCENE-573
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476590 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 19:32:10 +00:00
Michael McCandless
4b9f177128
Lockless commits: LUCENE-701
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 02:55:14 +00:00
Michael McCandless
f09b8d311e
Lockless commits: LUCENE-701
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476383 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 00:11:59 +00:00
Michael McCandless
79bf43b2a4
Lockless commits: LUCENE-701
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476371 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:43:47 +00:00
Michael McCandless
9b7d1209ac
Lockless commits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476363 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:23:40 +00:00
Michael McCandless
d634ccf4e9
Lockless commits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476359 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:18:47 +00:00
Michael McCandless
bd6f012511
make sure to release write lock in IndexWriter if we hit IOException during construction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476345 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 22:34:17 +00:00
Michael McCandless
7e3c1bfb0d
Optimization: call System.arraycopy instead of manual for loop copying
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476110 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 11:18:11 +00:00
Mark Harwood
bb00247904
QueryParser changed to default to use of ConstantScoreRangeQuery for range queries.
...
Added useOldRangeQuery property to QueryParser to allow selection of old RangeQuery class if required.
Updated Junit tests.
Updated javadocs for RangeQuery to reflect the new default behaviour in QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@475435 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 21:26:09 +00:00
Yonik Seeley
7ca20ee19f
new ASF licenses header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@472959 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 16:21:50 +00:00
Yonik Seeley
4a5ace9a4e
remove incorrect javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@470109 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 21:35:32 +00:00
Yonik Seeley
c0d330c041
Lazy skipping on proximity file: LUCENE-687
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 22:00:31 +00:00
Yonik Seeley
eea8ea91b4
new test: LUCENE-695
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469271 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 20:53:11 +00:00
Yonik Seeley
a20830e78f
new test: LUCENE-528
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469269 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 20:52:24 +00:00
Chris M. Hostetter
1a5ac808c8
LUCENE-569: Fixed bug in ordered SpanNearQueries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468554 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 22:03:53 +00:00
Otis Gospodnetic
7abe11514a
- LUCENE-489: Add support for leading wildcard characters to QueryParser.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468291 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 06:17:24 +00:00
Yonik Seeley
4dfdd6a0af
new IndexWriter.addIndexesNoOptimize(): LUCENE-528
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468177 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 22:47:15 +00:00
Yonik Seeley
19bf841c27
Improve BufferedIndexInput.readBytes() performance: LUCENE-695
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468172 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 22:25:44 +00:00
Otis Gospodnetic
1eb10aba44
- LUCENE-657: Made FuzzyQuery non-final and the inner ScoreTerm class, protected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467853 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 03:49:58 +00:00
Yonik Seeley
e1b804ff9a
added nested conjunction tests: LUCENE-693
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467843 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 02:51:25 +00:00
Yonik Seeley
7eca52679f
factor boost into hashCode and equals to pass generic tests: LUCENE-698
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467559 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 04:24:10 +00:00
Yonik Seeley
71c3f0332d
ensure Scorer.skipTo() is interchangeable with next(): LUCENE-696
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467558 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 04:20:34 +00:00
Yonik Seeley
bc23956ebb
ConjunctionScorer tests: LUCENE-693
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467539 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 01:46:15 +00:00
Otis Gospodnetic
59d5576068
- Removed tabs and extra spaces
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@466016 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 07:09:06 +00:00
Yonik Seeley
d969f3ce2e
help TestThreadSafe fail faster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465996 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 05:13:32 +00:00
Yonik Seeley
c270fa8a2f
test demonstrating problem cloning active IndexInput in LazyField: LUCENE-690
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465995 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 05:10:49 +00:00
Yonik Seeley
247a4e2f4c
unsafe use of IndexInput.clone(): LUCENE-690
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465958 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 03:08:02 +00:00
Yonik Seeley
936b7ba82a
fix sharing of native locks by diff dirs: LUCENE-678
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465882 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 21:03:22 +00:00
Yonik Seeley
901c8c379c
DisjunctionSumScorer performance improvement: LUCENE-365
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465114 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 00:56:08 +00:00
Otis Gospodnetic
b75358ebc9
- LUCENE-544 - allow per-field boosts to be specified.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465081 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 22:26:57 +00:00
Yonik Seeley
3c35b82cb0
ConjunctionScorer performance increase: LUCENE-443
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465043 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 20:50:52 +00:00
Yonik Seeley
70472ad2cd
NativeFSLockFactory: LUCENE-678
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464611 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 18:28:02 +00:00
Yonik Seeley
cb4f27f25f
data corruption reading lazy loaded fields: LUCENE-683
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464313 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 22:37:52 +00:00
Daniel Naber
32b1946cc1
LUCENE-684: improve javadoc of deleDocuments(Term), thanks to Paul Elschot
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464201 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 14:22:51 +00:00
Grant Ingersoll
1fad6b0052
Added javadocs for FieldSelectorResult.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454769 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 15:02:29 +00:00
Grant Ingersoll
75f561901e
Updated scoring information to only have one copy of the Scoring Formula. Implemented Doron Cohen's new scoring formula description in the javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454767 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 14:57:25 +00:00
Yonik Seeley
0d4e1b171d
remove LazyField.chars to reduce memory consumption
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454434 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 17:26:49 +00:00
Yonik Seeley
efab233ed8
new PrefixFilter from Solr: LUCENE-676
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@453381 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 21:10:30 +00:00
Otis Gospodnetic
7456fdc365
- Small wording changes to make javadoc a bit easier to understand
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@448454 13f79535-47bb-0310-9956-ffa450edef68
2006-09-21 04:07:41 +00:00
Yonik Seeley
b1322d5acd
retain zero size segments resulting from a merge: LUCENE-672
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@447570 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 21:26:02 +00:00
Yonik Seeley
4465baafa5
new segment merging policy: LUCENE-672
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@443434 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 18:31:21 +00:00
Grant Ingersoll
d0b971a021
Updated scoring.xml per suggestions by Doug and Chris on issue 664. Moved the Query information and Similarity info to the o.a.l.s package.html in the Javadocs and provided links to the javadocs from the scoring file.
...
Added scoring.html into the project.xml so that it will now be live on the Lucene java site.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@442406 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:05:20 +00:00
Yonik Seeley
d0f5077d27
remove accidentally added file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@438135 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 18:01:27 +00:00
Yonik Seeley
82d2306b41
remove accidentally added files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437905 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:39:08 +00:00
Yonik Seeley
f0375e3f82
remove accidentally added files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437904 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:38:20 +00:00