Commit Graph

759 Commits

Author SHA1 Message Date
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
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 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 b67cbd7325 for LUCENE-1079, document the change under "API Changes".
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603756 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 22:30:45 +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
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
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 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
Michael Busch 11a7bf835b LUCENE-935: Allow to deploy maven artifacts to a remote m2 repository via scp and ssh authentication.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600440 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 07:31:02 +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 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
Daniel Naber 52320d2e75 format fixes only (inserting line breaks)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598382 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 18:53:26 +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
Grant Ingersoll c70ec4af66 spelling correction
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597993 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 14:27:08 +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 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
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 McCandless 5992c5a1cf LUCENE-1020: update CHANGES.txt for this issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595444 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 20:32:13 +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 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 658aebd28a LUCENE-847: woops, I forgot to add an entry to CHANGES.txt for this rather large change!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593117 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 10:28:23 +00:00
Michael McCandless dc79f47688 fix typos in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@592487 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 16:58:19 +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
Michael Busch 8508386bcb LUCENE-935: Defined property "m2.repository.url" to allow setting the url to a maven remote repository to deploy to.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@590873 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 01:26:43 +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
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 a4dcb122be LUCENE-1031: fix a bunch of mis-spellings in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@586410 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:01:38 +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
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
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
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
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
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 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 bd493d6c80 minor formatting change to #13
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@574229 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 12:51:29 +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 a30a6e44d8 Added apply-patch target
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@568965 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 13:17:49 +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
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
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 McCandless 19ca21a1dd correcting my inability to count from 2 to 3
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@562282 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 23:01:46 +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 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
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
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 52b5113a04 remove binary (was UTF-8 BOM) from start of CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@556995 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 17:57:35 +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 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
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 39ade207b8 LUCENE-843: woops ... move the CHANGES.txt entries into the right section (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553268 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 16:59:18 +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
Otis Gospodnetic 71f2c1da8b - LUCENE-906: Elision filter for French.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@551744 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 00:36:09 +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 d955a970b6 LUCENE-622: Add ant target and pom.xml files for building maven artifacts of the Lucene core and the contrib modules.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547860 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 04:45:13 +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
Chris M. Hostetter 373af70a20 LUCENE-930: Various contrib building improvements to ensure contrib dependencies are met, and test compilation errors fail the build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@546226 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 19:29:41 +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 5655c72ecf Updated trunk to dev version 2.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545059 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 04:28:41 +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 f266fcd2fc Oups! I can't count anymore...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545013 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:54:04 +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 4355588972 LUCENE-740: Added SNOWBALL-LICENSE.txt to the snowball package and a remark about the license to NOTICE.TXT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544703 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 01:33:11 +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 Busch 0fe4946a60 LUCENE-904: The "package" targets in build.xml now also generate .md5 checksum files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544341 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 01:18:48 +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
Doron Cohen 6aa6ee4763 LUCENE-900: enable Java assertions in "ant test".
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@543551 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:44:49 +00:00
Daniel Naber 6e98fa61d4 LUCENE-763: LuceneDictionary skips first word in enumeration
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@543220 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 19:13:36 +00:00
Michael Busch 11dfdad8ab fixed typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@543078 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 07:54:29 +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 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
Chris M. Hostetter cb38e0c06c LUCENE-885: include contribs in 'ant test' ... includes fixes for several contribs to make tests run cleanly regardless of what working directory they are run in
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542769 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 07:18:29 +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 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
Michael Busch a65fa86c1d Add issue number LUCENE-807 to log entry in CHANGES.txt and remove duplicate caption "New features".
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542267 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 16:39:29 +00:00
Michael Busch 38ae8ea97b LUCENE-802: Added LICENSE.TXT and NOTICE.TXT to Lucene jars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@542260 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 16:32:29 +00:00
Daniel Naber 8e9dd085ab LUCENE-886: cleanup: javadoc improvements; don't print exceptions to stderr but re-throw them; new test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@541885 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 11:06:38 +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
Daniel Naber 3c4dc0484b LUCENE-883: consecutive calls to Spellchecker.indexDictionary() won't insert terms twice anymore. Fixes the test case failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@539732 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 11:27:54 +00:00
Daniel Naber b5c6b784c7 whitespace cleanup only for better readability (adding line breaks)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@539729 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 11:15:12 +00:00
Daniel Naber 52acd10f63 LUCENE-882: Spellchecker doesn't need to store ngrams
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@539727 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 11:04:38 +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
Doron Cohen d759ee642d LUCENE-875 (javadocs) reopened: the CHANGES.txt part.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536947 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 17:42:09 +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
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
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
Otis Gospodnetic dc395c92bf - Updated the note for LUCENE-730 to mention that docs can now be delivered out of order during scoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529819 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 00:38:50 +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
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 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
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
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
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
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
Doron Cohen 78a6922c43 LUCENE-829: (close readers in contrib/benchmark) - also update CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518874 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 06:47:44 +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
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 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 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
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 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
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
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
Otis Gospodnetic 534be1599d - LUCENE-759: Two n-gram producting TokenFilters (using them for the spellchecker in SOLR-81)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513876 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 18:19:53 +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 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
Doron Cohen 64449841ed LUCENE-804: fix build.xml to pack a compilable src_dist
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@510711 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 23:45:34 +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
Yonik Seeley 4cb0175dd7 update version
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507636 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 17:37:06 +00:00
Yonik Seeley 3a7486b054 starting 2.1 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507610 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 16:37:32 +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 881ab33b81 Forgot changes.txt updates for 762
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@506083 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 18:12:17 +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 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
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 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 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
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 ca55ebad18 document deletion of unused extension "tvp"
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494524 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 19:03:29 +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 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
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
Otis Gospodnetic 8b7f6e4ef6 - LUCENE-759: New n-gram-capable tokenizers and their unit tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489802 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 23:43:17 +00:00
Grant Ingersoll d9ebc50096 Lucene 757 - Added init-dist target and had package and package-*-src call it to ensure the dist dir is created.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489254 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 03:14:02 +00:00
Otis Gospodnetic 17315a9be7 - LUCENE-741: command-line utility for modifying or removing field norms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489213 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 22:32:13 +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
Otis Gospodnetic fa71e29bd4 - self.add() to LUCENE-728
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489182 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 19:42:21 +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
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 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
Grant Ingersoll 0d8f7b704a Mapped java.io.tmpdir to the same value as tempDir.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488004 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 16:45:53 +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
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 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
Michael McCandless f4d9f44828 LUCENE-669: I forgot attribution to Michael Busch for this (thanks Michael!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485686 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 15:01:07 +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
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
Michael McCandless 989b1cb981 LUCENE-672: added description of the 'under-merging' bug that was also fixed with this change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480238 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 22:20:24 +00:00
Otis Gospodnetic 57ce49d49a - LUCENE-728: Removed duplicate/old MoreLikeThis and SimilarityQueries classes,
as their new home is under contrib/queries.
  This means contrib/similarity is not completely empty.  I am leaving it in SVN
  for now, as it seems like it could be a nice warm home for custom Similarity
  implementations.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480200 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 20:46:42 +00:00
Otis Gospodnetic 338991bd51 - LUCENE-717: Avoid build failure when (unused) lib directory does not exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480191 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 20:33:00 +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
Otis Gospodnetic bd76b754b0 - Fixed Mark's surname, thanks Eric ;)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479480 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 00:51:25 +00:00
Grant Ingersoll 0f6aa1309a git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479474 13f79535-47bb-0310-9956-ffa450edef68 2006-11-27 00:18:36 +00:00
Otis Gospodnetic 61f2c83fd9 - Gave Mark credits for hit LUCENE-703 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479459 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 23:41:20 +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
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
Daniel Naber 5cf957527f LUCENE-722: DEFAULT spelled DEFALT in MoreLikeThis.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477932 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 22:26:45 +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
Yonik Seeley cd39647656 expanded description of LUCENE-651
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477207 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 14:51: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 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 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 ca0804ca4f Updated docs - Added entry to changes.txt for the new QueryParser use of ConstantScoreRangeQuery, added entry to whoweare docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@475629 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 08:18:20 +00:00
Grant Ingersoll 6a36e71604 http://issues.apache.org/jira/browse/LUCENE-706
Changed 22 to 8

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@471614 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 02:20:39 +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
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
Otis Gospodnetic 38d2797fa3 - Some Emacs meta-Q action
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 06:11:56 +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 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 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 323328ca97 clarify change entry a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464200 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 14:18:56 +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
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 885e92add1 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@442407 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:06:29 +00:00
Yonik Seeley 254945aa32 Decouple locking from Directory: LUCENE-635
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437897 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:13:10 +00:00
Grant Ingersoll 9f374d9202 Applied patch from:
http://issues.apache.org/jira/browse/LUCENE-664

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@434091 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 17:28:04 +00:00
Grant Ingersoll 4ba69db562 Initial check in of scoring.xml documentation. I have also added lucene.css stylesheet and included it in the Anakia Site VSL, although I am open to other ways of including style information on a per document basis (I just don't know Velocity to make the changes).
I have not linked in scoring.xml to the main documentation yet, as I wanted others to proofread/edit before making it official.  Once it is official, I will hook it in via the projects.xml

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433627 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 13:38:16 +00:00
Chris M. Hostetter 9763d03f48 LUCENE-650: Fixed NPE in Locale specific String Sort when Document has no value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433049 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 21:17:59 +00:00
Yonik Seeley fa293670a1 fix getPositionIncrement: LUCENE-659
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432443 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 00:16:42 +00:00
Yonik Seeley 8e3608845d keep track of number of buffered documents: LUCENE-388
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432125 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 02:52:21 +00:00
Otis Gospodnetic f7849f1469 - Undid LUCENE-388, as it turned out it caused problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431303 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 06:58:42 +00:00
Otis Gospodnetic c5d950da35 - LUCENE-388: optimize maybeMergeSegments() to speed up indexing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431153 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 08:20:13 +00:00
Otis Gospodnetic a9691a40e8 - Modified some CJK Unicode code point ranges in StandardTokenizer.jj,
and added a few more of them to increase CJK character coverage.
  Also documented some of the ranges.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431152 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:47:34 +00:00
Otis Gospodnetic 5705f8dfd2 - LUCENE-478: Updated Unicode code point ranges for CJK
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431151 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:02:26 +00:00
Otis Gospodnetic 1a933665d6 - LUCENE-629: indexing and optimizing performance improvements when working with compressed fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431148 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:12:07 +00:00
Otis Gospodnetic 395115d8d7 - Typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431147 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:06:23 +00:00
Daniel Naber 1d65537c75 remove "s" and "t" as stopwords because they make searching less precise, e.g. "t-online" gives the same results as "online" with "t" being a stopword
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 13:11:09 +00:00
Daniel Naber 52e9e3dac3 LUCENE-641: fix off-by-one bug for maximum field length
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426883 13f79535-47bb-0310-9956-ffa450edef68
2006-07-30 11:56:57 +00:00
Daniel Naber 8c0d234ffa fix LUCENE-638: ignore files unrelated to Lucene in FSDirectory.list(); also make rename more robust by using try/finally
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426774 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 09:54:48 +00:00
Chris M. Hostetter b747b5c81d LUCENE-623: RAMDirectory.close() now nulls out it's 'file' references
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@419723 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 22:14:07 +00:00
Chris M. Hostetter 13bb6026a7 LUCENE-621 - new static methods for modifing default lock timeouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418386 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 21:46:29 +00:00
Otis Gospodnetic ddae8f0c57 - LUCENE-593, inner Iterator fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418368 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 20:14:48 +00:00
Chris M. Hostetter 2f24fda616 fixed bug LUCENE-451 by adding new functionality in LUCENE-605 -- new ComplexExplanation class can model matching independent of having a positive value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@417275 13f79535-47bb-0310-9956-ffa450edef68
2006-06-26 18:38:47 +00:00
Daniel Naber 8ebdf9fc86 LUCENE-608: deprecate Document.fields(), add getFields()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416440 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 18:37:32 +00:00
Yonik Seeley 79ae648af5 syntax change for ecj compilation: LUCENE-611
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416431 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 17:48:25 +00:00
Yonik Seeley a7dda11801 revert LUCENE-415, it's not needed for lucene 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416424 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 17:22:06 +00:00
Yonik Seeley 9c011b1b33 disambiguate inner class call to doc() for ecj compilation: LUCENE-610
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416111 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 21:11:53 +00:00
Yonik Seeley e2c8931219 revert Document.getFields for back compatibility: LUCENE-609
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416090 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 19:49:27 +00:00
Yonik Seeley 66a23a8786 truncate new segment files before use: LUCENE-415
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415808 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 21:28:42 +00:00
Yonik Seeley c81983524f ParallelTermEnum.next() fails to advance properly to new fields: LUCENE-607
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415793 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 20:40:06 +00:00
Chris M. Hostetter c5cd491839 LUCENE-557: Lots of new Explanation test cases (and utilities for writing future test cases) as well as fixes for blatent bugs in the Explanation methods of BooleanQuery and FilteredQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415476 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 01:13:13 +00:00
Otis Gospodnetic af594700a0 - LUCENE-601: RAMDirectory and RAMFile made Seriazable. Thanks Karl.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@414739 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 05:20:49 +00:00
Yonik Seeley 025936b4ae remove searcher reference from MatchAllDocsQuery so it's Serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413965 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 19:45:55 +00:00
Grant Ingersoll d4cc19d03e Implementation of Issue 545. Introduction of new Fieldable interface (extracted from Field) which is now used where Field used to be used. Field now implements Fieldable.
Added new method to IndexReader and derived classes for working with the new FieldSelector interface.  The FieldSelector interface defines a mechanism for doing lazy loading, amongst other things.  Implemented Lazy loading of fields in the FieldsReader class.  Added test case to TestFieldsReader.java

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413201 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 01:23:22 +00:00
Daniel Naber 2b9effb894 deprecate the analysis.nl.WordlistLoader class because it's not robust (fails silently) and use analysis.WordlistLoader instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413180 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 22:15:47 +00:00
Chris M. Hostetter 00ff3cbdc5 damn, i forgot to be explicit about the issue number
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@411875 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 17:59:50 +00:00
Chris M. Hostetter 2123b476df LUCENE-503: New ThaiAnalyzer and ThaiWordFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@411863 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 17:29:01 +00:00
Chris M. Hostetter ffd73d8d62 LUCENE-587 fix Explanation.toHtml to produce valid HTML
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@411343 13f79535-47bb-0310-9956-ffa450edef68
2006-06-03 00:06:28 +00:00
Yonik Seeley 62df9360f1 SpellChecker min score is incorrectly changed by suggestSimilar: LUCENE-575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410973 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:37:14 +00:00
Yonik Seeley 3afc9192b9 SpellChecker min score is incorrectly changed by suggestSimilar: LUCENE-575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410971 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:36:13 +00:00
Yonik Seeley 847df551dc ISOLatin1AccentFilter fails to preserve positionIncrement: LUCENE-583
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410970 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:32:51 +00:00
Yonik Seeley 1d6371df43 remove final, implement Cloneable, setTermText(): LUCENE-438
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410954 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:15:37 +00:00
Yonik Seeley 4944720897 make MultiTermDocs.skipTo use sub TermDocs.skipTo: LUCENE-586
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410941 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 20:33:18 +00:00
Daniel Naber 94cc256054 make web application demo work again: don't use a QueryParser method that doesn't exist anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410678 13f79535-47bb-0310-9956-ffa450edef68
2006-05-31 21:46:46 +00:00
Doug Cutting b9ec9b71e4 Add boilerplate for post 2.0.0 changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409704 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 17:40:18 +00:00
Doug Cutting 1915582612 Preparing for 2.0.0 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409697 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 16:50:37 +00:00
Doug Cutting 777ab03972 LUCENE-485. Don't hold commit lock while removing obsolete index files. Contributed by Luc Vanlerberghe.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409690 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 16:14:12 +00:00
Chris M. Hostetter d2b63d328b LUCENE-577: initial checkin of SweetSpotSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409472 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 21:21:29 +00:00
Chris M. Hostetter dd3d979905 LUCENE-496 - Command line tool for modifying the field norms of an existing index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409428 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 18:49:04 +00:00
Yonik Seeley f68744c32b remove 2GB file limitation from RAMIndexInput and RAMIndexOutput: LUCENE-546
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@408916 13f79535-47bb-0310-9956-ffa450edef68
2006-05-23 15:01:11 +00:00
Yonik Seeley 45712c518f fix RAMDirectory(Directory) 2GB size limitation: LUCENE-546
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@408114 13f79535-47bb-0310-9956-ffa450edef68
2006-05-21 01:01:42 +00:00
Yonik Seeley 2c5bc593b8 add empty extractTerms(): LUCENE-556
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407903 13f79535-47bb-0310-9956-ffa450edef68
2006-05-19 20:29:09 +00:00
Yonik Seeley 1e700534cc fix NPE and deletion bugs in ParallelReader: LUCENE-561
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407851 13f79535-47bb-0310-9956-ffa450edef68
2006-05-19 16:39:42 +00:00
Chris M. Hostetter 0c9ec9edf7 fix for LUCENE-572
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407492 13f79535-47bb-0310-9956-ffa450edef68
2006-05-18 07:56:37 +00:00
Chris M. Hostetter a1460c87b8 fix for LUCENE-352
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407485 13f79535-47bb-0310-9956-ffa450edef68
2006-05-18 07:39:23 +00:00
Daniel Naber 55237c881f throw IllegalArgumentException if both field name and value are empty (to avoid a confusing "term out of order" exception later)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406168 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 23:50:35 +00:00
Otis Gospodnetic 67f3d7f262 - Made class non-public. http://issues.apache.org/jira/browse/LUCENE-564
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405824 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 18:29:51 +00:00
Yonik Seeley d214dd8cd1 LUCENE-512: Fixed ClassCastException in ParallelReader.getTermFreqVectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392017 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 17:25:02 +00:00
Yonik Seeley fc0d666c81 added getTermArrays() and extractTerms() to MultiPhraseQuery: LUCENE-514
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392016 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 17:12:44 +00:00
Yonik Seeley 901d7ca635 added missing extractTerms() to DisjunctionMaxQuery: LUCENE-541
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391897 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 04:16:36 +00:00
Yonik Seeley 6c32f48074 FieldSortedHitQueue - subsequent String sorts with different locales sort identically: LUCENE-526
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391895 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 04:02:09 +00:00
Yonik Seeley 825bc9bdac fixed IndexWriter.mergeSegments(minSeg,end) when end was not the last segment... only affected addIndexes(Directory[]) LUCENE-540
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391874 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 01:40:42 +00:00
Daniel Naber c095297fdb let's not forget to document the most obvious change: remove all deprecated methods and fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391795 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 20:37:46 +00:00
Yonik Seeley a2c7eb1afe Implemented FilterIndexReader.getVersion() and isCurrent()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391358 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 16:18:51 +00:00
Yonik Seeley 040e9c6c9a Fix SpanScorer next()/skipTo() incompatability: LUCENE-413
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391337 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 15:25:58 +00:00
Daniel Naber 4630f11663 re-add a way to set write and commit lock timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@386749 13f79535-47bb-0310-9956-ffa450edef68
2006-03-17 22:51:32 +00:00
Yonik Seeley 020ab2dbdf make ConstantWeight serializable: LUCENE-515
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384407 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 02:42:13 +00:00
Erik Hatcher d07f7eea12 Part of LUCENE-330: fixing FilteredQuery when nested within BooleanQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384072 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 00:59:28 +00:00