Commit Graph

2861 Commits

Author SHA1 Message Date
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
Grant Ingersoll 00941055fd benchmark autocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619457 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 15:33:02 +00:00
Grant Ingersoll 0dc6c59ac1 LUCENE-494: Added QueryAutoStopWordAnalyzer in a new query subpackage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619420 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 14:13:38 +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 18adf788d8 only show the first 10 million warnings and errors when compiling
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618739 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:38:28 +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
Erik Hatcher 140a867933 Correct javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618275 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 13:31:02 +00:00
Michael Busch cc6778188f Update CHANGES.txt for LUCENE-584
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618188 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 07:42:14 +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 McCandless afb58ca0d2 when reinit() is called, reset the start time (used only when printing # docs indexed)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617991 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 14:24:30 +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 Busch 3a24900ef5 Set svn:eol-style=native for some classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617336 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 03:00:02 +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
Grant Ingersoll 3db9002efb LUCENE-1156: see CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616934 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 22:47:52 +00:00
Grant Ingersoll 61f2aa3078 allow TrecDocMaker to be more easily extended by making values protected
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616882 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 20:03:39 +00:00
Grant Ingersoll 4fc8654bc1 Made some member variables protected so they can accessed by extending classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616806 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 16:29:35 +00:00
Doron Cohen fdd5a2040b remove the byte-order mark characters (BOM)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616777 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 14:41:37 +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
Doron Cohen 559f4617c2 Undoing change committed in r616534 (LUCENE-1157: Formatable changes log).
Need to make the updates of Changes.html smoother.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616566 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 23:55:10 +00:00
Doron Cohen f0a617d6bc LUCENE-1157: Formatable changes log.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616534 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 22:04:23 +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
Grant Ingersoll b95e9a5154 LUCENE-1132: Updated documentation and deprecated bytes references in favor of character references
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616305 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:35:13 +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
Grant Ingersoll 7dd34ef888 LUCENE-1153: added lib/junit and build support
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615329 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 20:27:55 +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
Doron Cohen 8ace4103a7 LUCENE-1136: add ability to not count sub-task doLogic increment to contri/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@614956 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 18:46:57 +00:00
Grant Ingersoll 7f09c9f00e Added javadocs about UNTOKENIZED_TOKEN_FLAG conundrum
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@614905 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 15:42:50 +00:00
Grant Ingersoll 305c47f500 LUCENE-1133: Adds ability to keep certain strings as single tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@614895 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 15:05:53 +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 bc1d7789ef LUCENE-1137
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@614892 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 15:01:03 +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
Grant Ingersoll 1183763dbe LUCENE-1128 and 1129: Add highlighting support to benchmarking, plus fix minor traversalSize bug in ReadTask, also added a few new algorithms to try out
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@614885 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 14:39:44 +00:00