Commit Graph

564 Commits

Author SHA1 Message Date
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 Busch c5dd46fd02 LUCENE-1230: Include *pom.xml* in source release files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637196 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 18:14:32 +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
Grant Ingersoll 860f6bb673 LUCENE-550: put the comment in the wrong spot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636749 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 13:00:03 +00:00
Grant Ingersoll f4cc6e2269 LUCENE-550: Added RAMDirectory alternative as a contrib. Similar to MemoryIndex, but can hold more than one document
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636745 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 12:34:30 +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 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
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 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 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 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
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
Michael Busch 850ffde6a6 Add section for the 2.3.1 release to CHANGES.txt in trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@630362 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 00:11:44 +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 95e2e57c86 - Typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@628424 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 04:30:11 +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
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 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 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
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 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
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 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
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 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
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
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 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 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
Michael Busch 37573a1fdc Remove leading bytes from CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613737 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 03:07:34 +00:00
Michael Busch b8fc4eda59 Update tentative 2.3.0 release date.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613715 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 01:03:57 +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
Michael Busch 869d6f63ca Specify tentative 2.3 release date in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@610862 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 18:34:02 +00:00
Michael Busch 7d2ffdb8f7 LUCENE-1123: Allow overriding the specification version for MANIFEST.MF
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@610122 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 20:05:53 +00:00
Michael Busch fab92e9494 Update trunk to version 2.4-dev
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609846 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 02:43:24 +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 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
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
Michael Busch 75473edb02 LUCENE-746: Fix error message in AnalyzingQueryParser.getPrefixQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607832 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 12:49:44 +00:00