Commit Graph

1657 Commits

Author SHA1 Message Date
Michael McCandless 8068979bec fix off-by-one error
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@611296 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 20:46:05 +00:00
Michael Busch da6c43f5d7 Separate project's web site from version-specific documentation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@611094 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 07:50:59 +00:00
Michael McCandless 5aaf587516 LUCENE-1125: fix over-zero-filling that was drastically slowing down small docs w/ term vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@610858 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 18:11:53 +00:00
Michael McCandless 2677871bbb LUCENE-508: make sure SegmentTermEnum.prev() is accurate (= last term) after next() returns false
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609780 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 21:15:48 +00:00
Michael McCandless eaba22c72a Fixed a few issues uncovered by YourKit profiling:
* We were allocating 2X the size of each char block, but only
    actually using the first half!
  * Improved accuracy of numBytesAlloc tracking in DW
  * Small optimization to not use token.setTermText from DW


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609546 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 09:48:06 +00:00
Michael McCandless 393a1d0575 LUCENE-1119: small optimization to TermInfosWriter.add to take a char[] instead of Term/String
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609378 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 19:29:45 +00:00
Michael McCandless 26bc874e62 LUCENE-1118: skip terms > 255 (by default) characters in length in StandardAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609330 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 15:37:44 +00:00
Michael McCandless d86944d06f fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608956 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 18:46:33 +00:00
Grant Ingersoll f715fc6031 LUCENE-1103
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608852 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 14:29:15 +00:00
Michael McCandless 2d633f98a2 LUCENE-1112: skip immense terms and mark a doc for deletion if it hits a non-aborting exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608534 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 15:49:50 +00:00
Doron Cohen 40eb1cd53f LUCENE-766: test added for adding two fields with same
name but different term vector setting.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608367 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 07:32:38 +00:00
Daniel Naber 0ae1e1a905 LUCENE-1113: fix for Document.getBoost() documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607913 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 21:05:15 +00:00
Doron Cohen f4639c0ab0 LUCENE-1095: option added to StopFilter and QueryParser to consider position increments.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607591 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 21:19:17 +00:00
Doron Cohen b367e863e6 LUCENE-1101: TokenStream.next(Token) reuse 'policy': calling Token.clear() should be responsibility of token producer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607521 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 07:34:30 +00:00
Doron Cohen efbd1260a9 Rename section "Javadocs" to "Javadocs for Official Releases",
Following discussion http://www.nabble.com/site-javadocs-link-broken-tt14507459.html


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607350 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 22:43:36 +00:00
Grant Ingersoll ac27fb02de Changed from overriding next(Token) to next()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607246 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 14:17:48 +00:00
Grant Ingersoll da2a912919 LUCENE-1068: updated StandardTokenizer, Analyzer to allow for the replaceInvalidAcronym
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607161 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 02:46:11 +00:00
Doron Cohen 93b9adc280 LUCENE-1099: Make Tokenizer.reset(Reader) public.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606865 13f79535-47bb-0310-9956-ffa450edef68
2007-12-26 09:21:46 +00:00
Michael McCandless 9a9d138d8b remove 'implements Cloneable' from MergePolicy.MergeSpecification
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606657 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 02:35:12 +00:00
Michael Busch c0040adc27 LUCENE-1098: Make inner class StandardAnalyzer.SavedStreams static and final.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606647 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 00:48:31 +00:00
Michael Busch 3084aecc85 Added news item to website about nightly maven snapshots
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606641 13f79535-47bb-0310-9956-ffa450edef68
2007-12-23 23:57:33 +00:00
Doron Cohen 23da0335a5 LUCENE-1096: Fixed Hits behavior when hits' docs are deleted along with iterating the hits.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606614 13f79535-47bb-0310-9956-ffa450edef68
2007-12-23 20:50:29 +00:00
Michael McCandless 89fe185d71 LUCENE-1097: change IndexWriter.close(false) to ask merge threads to abort, and, wait for them to finally finish
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606441 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 10:06:28 +00:00
Grant Ingersoll 6e20e41418 should not have been committed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606305 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 20:45:35 +00:00
Michael McCandless 0c6efd3dee make sure to close the IndexInput used to read index version
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606299 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 20:31:48 +00:00
Grant Ingersoll 7dfe984867 Checkin of WikpediaTokenizer that extends StandardTokenizer using JFlex. examples/wikipedia/README contains info on running.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606292 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 20:08:24 +00:00
Grant Ingersoll 7a3a61e45d Checking in simple performance test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605957 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 15:07:59 +00:00
Michael McCandless 52d307607c LUCENE-1094: don't corrupt fdt file on hitting an exception partway through indexing a document
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605912 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 13:07:29 +00:00
Grant Ingersoll be794a3832 LUCENE-25 added test for stopwords in query parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605535 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 13:36:32 +00:00
Grant Ingersoll 516143dea0 LUCENE-1045: Applied original LUCENE-1045.patch that refactors original 1045 patch to use ExtendedFieldCache and DOES NOT make FieldCache a class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605225 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 15:13:05 +00:00
Michael McCandless 905674805c LUCENE-1092: fix KeywordAnalyzer.reusableTokenStream so it can successfully be reused
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@605149 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 09:20:04 +00:00
Michael McCandless 10c1ec3a66 LUCENE-1089: add new PriorityQueue.insertWithOverflow method to allow for re-use
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@604949 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 18:05:13 +00:00
Doron Cohen c3f210db67 LUCENE-1019: CustomScoreQuery enhanced to support multiple ValueSource queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603837 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 06:28:27 +00:00
Doron Cohen adb9a5c594 LUCENE-1079: DocValues cleanup: constructor & getInnerArray().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603753 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 22:06:33 +00:00
Michael Busch c607f48fef Revert Lucene-944
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603415 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 23:38:01 +00:00
Grant Ingersoll c2130982e3 LUCENE-1042: Committed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603061 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 21:49:41 +00:00
Grant Ingersoll 8c18fd87a1 remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603057 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 21:21:40 +00:00
Grant Ingersoll 07e7b557fe javadocs update
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603056 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 21:21:12 +00:00
Michael McCandless b0d2b1c90e LUCENE-1044: revert the doSync option to FSDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@602165 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 17:42:33 +00:00
Otis Gospodnetic 9d35e30330 - Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@602163 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 17:29:47 +00:00
Michael McCandless ce9b80539d LUCENE-1082: fix NPE in IndexReader.lastModified(*) methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@602055 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 10:13:11 +00:00
Grant Ingersoll 11895271a3 LUCENE-1058: override the close method so it doesn't try to close the null Reader input
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601748 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 14:42:58 +00:00
Michael Busch 2e678a307d LUCENE-1064: Changed TopDocs constructor to be public.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601662 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 09:06:40 +00:00
Grant Ingersoll 47d31b60f3 LUCENE-1080
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601602 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 03:34:06 +00:00
Michael McCandless 8a8944de1a LUCENE-1078: remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601337 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 13:59:37 +00:00
Doron Cohen a0c9992f0b make LuceneTestrCase abstract for junit to run smoother from Eclipse.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601222 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 06:41:14 +00:00
Michael McCandless 0d2d6475ac LUCENE-1072: make sure an exception raised in Tokenizer.next() leaves DocumentsWriter in OK state
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601121 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 22:29:42 +00:00
Michael McCandless c23cb457ef LUCENE-1075: fix possible thread hazard with IndexWriter.close(false)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601114 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 22:19:08 +00:00
Michael McCandless 5f73506dd3 LUCENE-1073: create SnapshotDeletionPolicy to facilitate taking a live backup of an index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601104 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 22:03:24 +00:00
Grant Ingersoll 72bb91f4ee Added some convenience constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600986 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 15:56:57 +00:00
Grant Ingersoll 1476b13d10 Rearranged javadocs location per Apache policy. Added in some Wiki links to help promote the wiki
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600915 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 12:55:23 +00:00
Grant Ingersoll db6b495182 constructor should have been public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600628 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 18:44:48 +00:00
Michael McCandless ddf136d928 LUCENE-1072: make sure on hitting a too-long term that IndexWriter is still usable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600465 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 10:09:10 +00:00
Grant Ingersoll 3372ce6f03 altered info about mailing list archives
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600372 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 20:37:38 +00:00
Grant Ingersoll a0b63a9a4f commented out OSSummit info until we know when it is scheduled
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600108 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 12:38:17 +00:00
Grant Ingersoll cad3d26ca4 Added some more javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599833 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 14:38:30 +00:00
Michael McCandless 97fbfb5427 LUCENE-982: add new method optimize(int maxNumSegments) to IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599766 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 10:09:45 +00:00
Grant Ingersoll 261382fd4e LUCENE-1058: Added new buffering tokenizer/token filter for reducing redundant analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599478 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 15:18:08 +00:00
Michael Busch 12d0cc180e remove obsolete todo comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599285 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 05:52:12 +00:00
Michael Busch 67e0d82230 LUCENE-1071: Fixed SegmentMerger to correctly set payload bit in the merged segment.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599264 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 04:43:03 +00:00
Michael McCandless 8e79f64fbc remove some dead/unnecessary code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599131 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 20:20:21 +00:00
Michael McCandless db52f4ed7f LUCENE-1069: fix CheckIndex to properly take deletions into account
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598696 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 17:08:50 +00:00
Michael McCandless 6ebd306103 LUCENE-1067: make access to RAMFile's buffers thread safe
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598693 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 17:01:21 +00:00
Daniel Naber 47c8416e68 LUCENE-921: add some javadoc / turn comments into javadoc comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598462 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 23:31:39 +00:00
Daniel Naber 5882ec0659 LUCENE-1045: make SortField.AUTO work with long
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598376 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 18:45:39 +00:00
Daniel Naber 498d582423 remove unused variables; typo fixes in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598317 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 15:48:51 +00:00
Michael McCandless e729f9dee5 LUCENE-1059: various small fixes based on code inspection from Tzvika Barenholz
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598296 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 14:52:01 +00:00
Daniel Naber 1a7f578c26 fix typo in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598074 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 22:42:41 +00:00
Daniel Naber f668a48266 LUCENE-1066: better explain output for idf
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598072 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 22:39:33 +00:00
Michael Busch 54e5550c4d LUCENE-1062: Add setData(byte[] data), setData(byte[] data, int offset, int length), getData(), getOffset() and clone() methods to o.a.l.index.Payload. Also add the field name as arg to Similarity.scorePayload().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597741 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 21:17:32 +00:00
Yonik Seeley f7ee9f6dfb LUCENE-693: Speed up nested conjunctions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597702 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 16:58:54 +00:00
Michael McCandless 02d9b51ede LUCENE-887: setDaemon(true) on merge threads so JVM will exit if only they remain
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597382 13f79535-47bb-0310-9956-ffa450edef68
2007-11-22 11:32:35 +00:00
Michael McCandless aa7c63e82b LUCENE-1044: put back original ctor for FSIndexOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597371 13f79535-47bb-0310-9956-ffa450edef68
2007-11-22 10:46:18 +00:00
Grant Ingersoll 87cbdd0e1f fixed typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596904 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 02:17:37 +00:00
Yonik Seeley 6b6464ec9c LUCENE-1040: CharArraySet rehash fixes from Mike
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596685 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 14:23:10 +00:00
Michael Busch b04703fe8f LUCENE-1055: Remove gdata from trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596501 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 00:46:27 +00:00
Yonik Seeley e395be3faf LUCENE-1040: new CharArraySet, make StopFilter directly use it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596484 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 23:23:04 +00:00
Chris M. Hostetter 49e85ee76d documents with a score <= 0 can in fact be collected as matches
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596462 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 22:03:22 +00:00
Yonik Seeley 88a01d6174 remove java5 code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596444 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 20:57:35 +00:00
Yonik Seeley f818ff09d8 LUCENE-1057: copy payload in Token.next()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596440 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 20:45:09 +00:00
Yonik Seeley e9a5866777 LUCENE-1057: call clear when reusing token, change clear to only resent essential fields, re-add Token.clone()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596398 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 19:10:37 +00:00
Michael Busch 0805999b66 LUCENE-743: Add IndexReader.reopen() method that re-opens an existing IndexReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596004 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 21:34:23 +00:00
Michael McCandless e35a66d8a3 LUCENE-1052: add set/getTermInfosIndexDivisor to IndexReader to reduce memory usage of the TermInfos index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595458 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 21:14:27 +00:00
Michael McCandless c5c1913410 LUCENE-1050: detect errors on releasing the lock (if delete of the lock file fails)s
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595448 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 20:42:54 +00:00
Michael Busch bb37d2bcff LUCENE-1051: Generate separate javadocs for core, demo and contrib classes, as well as an unified view.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595013 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 19:16:19 +00:00
Michael McCandless ec560e3855 LUCENE-1044: default doSync to false for now because performance cost of the simple 'sync() before every close()' approach is too severe in many cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@594824 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 10:25:34 +00:00
Michael Busch 68d95edb9b Remove redundant else-clause from SegmentTermPositions#readDeltaPosition(). This might be a small performance gain.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@594411 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 03:33:36 +00:00
Chris M. Hostetter 881d811641 ossummit rescheduled, new dates unknown - use new gif and remove explicit date refrences
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593938 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 18:45:16 +00:00
Michael McCandless 8b450203fe LUCENE-1020: close each SegmentReader after we've finished testing that segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593819 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 22:33:10 +00:00
Michael McCandless 439ba586fc LUCENE-1044: add doSync option to FSDirectory.getDirectory, defaulting to true, to sync() each file descriptor before close()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593799 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 17:51:00 +00:00
Michael McCandless f69f98c0e4 LUCENE-1048: fix Lock.obtain(...) to work properly on very large timeouts, eg Long.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593774 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 13:43:18 +00:00
Michael McCandless a98a30818f LUCENE-1043: speed up merging of stored fields by bulk-copying bytes for contiguous range of non-deleted docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593131 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 11:07:04 +00:00
Michael McCandless d1989f46fa LUCENE-1047: change MergePolicy & MergeScheduler from interface to abstract base class to have future freedom to add default methods without breaking backwards compatibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593115 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 10:21:29 +00:00
Michael McCandless 5227c5cedd LUCENE-843: change public -> package protected for two advanced static methods on SegmentReader used only during merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593114 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 10:12:17 +00:00
Grant Ingersoll 413c92f178 LUCENE-1038: Sets the document number of the term vector being mapped.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@591620 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 13:41:46 +00:00
Grant Ingersoll 7012f67027 LUCENE-1015: Added support for caching longs and doubles in a new interface, ExtendedFieldCache and *Impl. Added support into the various sorting fields. Put in some testing for it.
Removed the author tag in NumberTools.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@590530 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 01:28:25 +00:00
Michael McCandless 526d97676d LUCENE-1036: make sure the priority argument to Thread.setPriority(...) in ConcurrentMergeScheduler is in-bounds
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@589549 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 09:00:56 +00:00
Michael McCandless e7debdf9e3 LUCENE-1020: created basic tool to check an index, print details of each segment, and fix the index by removing broken segments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@587107 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 14:22:24 +00:00
Michael McCandless 38bbbb51de LUCENE-1022: share writer's infoStream with LogMergePolicy & ConcurrentMergeScheduler
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@587101 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 14:04:31 +00:00
Doron Cohen 1df7007219 LUCENE-1028: Fixed Weight serialization for few queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@587050 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 09:58:48 +00:00
Michael McCandless 112f227ecc LUCENE-1012: correct the javadocs for maxMergeDocs / maxMergeMB to state that the limit applies to each segment being merged, not to the resulting merged segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@585572 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:54:22 +00:00
Michael McCandless 3b6b765939 LUCENE-1021: make all unit tests subclass from a new LuceneTestCase, so that we can assert no unhandled exceptions occurred in ConcurrentMergeScheduler's threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@583534 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 16:46:35 +00:00
Michael McCandless 5f4975211a add NOTE that the input Directory[] to addIndexes* must not be opened by a writer while the method is running
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@583450 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 12:26:18 +00:00
Michael McCandless ceebb95d63 LUCENE-1018: fix intermittent exception in TestConcurrentMergeScheduler
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582508 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 15:12:43 +00:00
Daniel Naber 9de7367279 fix typos in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582478 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 11:09:20 +00:00
Michael McCandless 065553bd20 LUCENE-1013: fix IndexWriter.setMaxMergeDocs(N) to work out-of-the-box again
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582384 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 20:51:53 +00:00
Chris M. Hostetter 2ac108d096 javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582381 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 20:31:42 +00:00
Chris M. Hostetter ef03dedeef javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582375 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 19:26:32 +00:00
Michael McCandless af6b980c45 LUCENE-1009: missed one file in the 'merge slowdown' fix causing it to still be slow when compound doc stores are used; also fixed default for comopund doc store = compound doc file format
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582193 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 10:18:06 +00:00
Chris M. Hostetter 5a1fdc2a72 more explicit javadocs about Scorer contract for iterating in doc id order
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582054 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 01:53:29 +00:00
Michael McCandless f19266575e LUCENE-1011: 'get multiple writers over NFS' to work even when NFS client dir listing cache can be stale
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581625 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 15:24:12 +00:00
Chris M. Hostetter 7c349594d6 clean up con icons so they float right; also using forrest 0.8 images
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581504 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 06:15:32 +00:00
Michael McCandless f3119614e6 LUCENE-1007: woops ... Integer.SIZE is Java 1.5 only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581355 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 19:21:28 +00:00
Michael McCandless 54729a50b6 LUCENE-1007: allow flushing by ram, doc count, or both (whichever comes first) in IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581353 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 19:15:43 +00:00
Erik Hatcher b89d70d042 Add OSSummit Asia news
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581328 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:05:26 +00:00
Michael McCandless 8df6312a30 LUCENE-1009: Fix merge slowdown with LogByteSizeMergePolicy when autoCommit=false and documents are using stored fields and/or term vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580646 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 21:22:35 +00:00
Michael McCandless 8315089cdd LUCENE-1010: fix corruption case, hit during merge, case when docs with and without term-vectors are mixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580643 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 21:11:57 +00:00
Yonik Seeley 16342bedb9 qp accept empty string: LUCENE-1006
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580584 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 14:10:56 +00:00
Michael McCandless 014f23033f LUCENE-1008: fix corruption case when document has no term vector fields after other docs with term vector fields were added
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580578 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 12:52:45 +00:00
Chris M. Hostetter 7496e8834f typo in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580553 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 07:40:50 +00:00
Michael McCandless a28eb4d978 LUCENE-994: change defaults in IndexWriter to maximize 'out of the box' indexing speed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@579360 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 20:02:07 +00:00
Chris M. Hostetter c028a06388 removing empty file -- was confusing clover
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@577635 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 08:46:38 +00:00
Michael Busch 68aa146535 LUCENE-986: Refactored SegmentInfos from IndexReader into the new subclass DirectoryIndexReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@577596 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 07:27:07 +00:00
Michael McCandless 963635448e LUCENE-845: fixed a case that was allowing same segment name to be used twice when a concurrent merge was aborted in between
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@576934 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 14:44:04 +00:00
Michael McCandless ddb17c6397 LUCENE-984: reduce TermVectorsWriter to just the merging use case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@576807 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 09:53:34 +00:00
Michael McCandless 299d6357dd LUCENE-845, LUCENE-847, LUCENE-870: factor MergePolicy & MergeScheduler out of IndexWriter, improve overall concurrency of IndexWriter, and add ConcurrentMergeScheduler
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@576798 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 09:27:14 +00:00
Chris M. Hostetter ec0c99a3c6 MultiSegmentReader doesn't have svn:eol-style=native, and was commited with DOS line endings ... hopefully just setting the property will fix it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@576731 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 06:46:17 +00:00
Michael McCandless e7179ea866 LUCENE-992: move buffered deletes into DocumentsWriter so IndexWriter.updateDocument is atomic
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@574260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 14:33:51 +00:00
Grant Ingersoll bce939dcb2 LUCENE-991: Fixed explain() method reporting issues when no payloads present.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@573881 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 16:57:28 +00:00
Grant Ingersoll 373f0d777f fixed typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@573558 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 12:29:07 +00:00
Grant Ingersoll 6c761bde63 updated mailing list info
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@573260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 13:28:58 +00:00
Michael McCandless bcb5b6ff24 LUCENE-987: deprecate IndexModifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@570247 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 21:18:16 +00:00
Grant Ingersoll 2b4e5a82de ApacheCon US news
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@569806 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 11:18:38 +00:00
Michael Busch 9c2a036db3 - LUCENE-908: Improvements and simplifications for how the MANIFEST file and the META-INF dir are created.
- LUCENE-935: Various improvements for the maven artifacts. Now the artifacts also include the sources as .jar files. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@568766 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 23:16:48 +00:00
Michael McCandless 27c4c6a3b1 LUCENE-985: throw clearer exception when term is too long (> 16383 chars)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567338 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 23:15:14 +00:00
Michael McCandless c1a76d9dbe LUCENE-978: ensure all streams are closed when we hit exception in constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567253 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 09:42:21 +00:00
Michael McCandless 06d4849ca8 LUCENE-871: speedups for ISOLatin1AccentFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567085 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 16:58:36 +00:00
Grant Ingersoll f38b1cf2f8 LUCENE-975: New PositionBasedTermVectorMapper for getting term vector information on a position by position basis.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@565994 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 01:14:54 +00:00
Yonik Seeley a94db219bd LUCENE-977: internal hashing improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@565368 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 14:59:03 +00:00
Michael McCandless c25c1282ef LUCENE-976: add missing openInput(String, int) to MMapDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@564785 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 22:20:35 +00:00
Michael McCandless d42de32984 LUCENE-969: deprecate Token.termText() & optimize core tokenizers by re-using tokens & TokenStreams
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@564715 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 18:34:33 +00:00
Grant Ingersoll 82eb074afd LUCENE-974: Removed Author tags from all existing code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@564236 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 15:21:19 +00:00
Michael McCandless 2d954694dc LUCENE-966: sizable (~6X faster) speedups to StandardTokenizer by using JFlex instead of JavaCC
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@564036 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 22:26:44 +00:00
Michael McCandless 32b981044f LUCENE-948: handle stale dir listing caches on NFS (so quickly switching writers between machines works)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@562546 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 18:41:22 +00:00
Michael Busch 60c6a847b5 LUCENE-832: ParallelReader fixed to not throw NPE if isCurrent(), isOptimized() or getVersion() is called.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@561611 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 00:43:11 +00:00
Michael Busch 4b11c35b08 LUCENE-970: FilterIndexReader now implements isOptimized().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@561162 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 22:29:56 +00:00
Michael McCandless 1bc5a68549 LUCENE-964: remove DocumentWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@560378 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 20:50:19 +00:00
Michael Busch c1496444b2 LUCENE-781: MultiReader fixed to not throw NPE if isCurrent(), isOptimized() or getVersion() is called.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@560024 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 22:52:08 +00:00
Grant Ingersoll 2d16613438 LUCENE-868: Added a Javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@559083 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 15:30:45 +00:00
Michael Busch 273d28f000 LUCENE-939: Check explicitly for boundary conditions in FieldInfos.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@558917 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 03:05:21 +00:00
Grant Ingersoll e97d5830ce LUCENE-868: New Term Vector access mechanism. Allows for applications to define how they access term vector information instead of having to pack/unpack the TV info returned by the old way.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@558592 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 03:17:25 +00:00
Daniel Naber 86432275f6 protect object against NPE in finally block, as an NPE here would hide the original exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@558160 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 21:38:55 +00:00
Daniel Naber 58027a24bb improve setMaxFieldLength documentation; remove unused import statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@558132 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:53:58 +00:00
Doron Cohen e2d3fe1787 LUCENE-957: RAMDirectory fixed for more than Integer.MAX_VALUE bytes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557678 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 16:27:48 +00:00
Michael McCandless a3298ce85c LUCENE-963: added caveats to javadocs for new Field setValue(...) methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557553 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 10:16:30 +00:00
Michael McCandless 66bacd0b13 LUCENE-963: add setters to Field to allow re-using Field instances during indexing (for better performance)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557445 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 01:33:59 +00:00
Grant Ingersoll 4293019522 LUCENE-960: Added SpanFilter mechanism that provides BitSet information and Span information in a filter. This can be used to get position information on where in a Document that is "on" in the filter matched.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557105 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 00:52:07 +00:00
Michael McCandless aae68e0ba6 LUCENE-962: fixed case where unhandled exception in addDocument or updateDocument could fail to delete unreferenced files in the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@557082 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 23:22:56 +00:00
Yonik Seeley 230ecaa169 remove synchronization in Document: LUCENE-959
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@556693 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 18:46:58 +00:00
Michael McCandless f55e4057d2 LUCENE-938: fixed certain cases where an unhandled exception could cause IndexWriter to lose buffered deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@556010 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 14:23:47 +00:00
Michael McCandless 8355ab88b3 LUCENE-843: fixed the triggerMerger logic from LUCENE-887 that I accidentally lost
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@555793 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 22:15:20 +00:00
Michael Busch 5b944011ff LUCENE-944: Remove deprecated methods setUseScorer14() and getUseScorer14() from BooleanQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@555717 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 18:41:40 +00:00
Michael Busch 7c612dcb2d LUCENE-951: Fixed NullPointerException in MultiLevelSkipListReader that was thrown after a call of TermPositions.seek().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@555683 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 16:23:46 +00:00
Michael Busch c8f84d6707 LUCENE-955: Fixed SegmentTermPositions to work correctly with the first term in the dictionary.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@555678 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 16:14:54 +00:00
Yonik Seeley d7c0af3f30 replace div with shift since idiv takes ~40 cycles and compiler can't do strength reduction w/o knowing ops are non-negative
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553947 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 16:34:40 +00:00
Michael McCandless 4db9625e28 LUCENE-843: add missing 'synchronized' to allThreadsIdle() method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553854 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 11:57:18 +00:00
Michael McCandless 3e1a31748e LUCENE-843: SegmentInfo.clone() failed to copy some fields; in certain cases _x.nrm might not be created even when fieldInfos says it has norms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553298 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 19:03:21 +00:00
Michael McCandless 50787ab505 LUCENE-892: don't do extra buffer-to-buffer copies in CompoundFileReader.CSIndexInput
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553269 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 17:00:22 +00:00
Michael McCandless cff5767e44 LUCENE-843: speed up IndexWriter performance
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@553236 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 15:16:38 +00:00
Doron Cohen ba90fb06c1 LUCENE-946: replace text from an online collection (used in
few test cases) with text that is surely 100% free.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@552009 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 19:43:19 +00:00
Chris M. Hostetter 3e39b0a9a0 LUCENE-936: example doesn't match text
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@550680 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 04:35:29 +00:00
Chris M. Hostetter 290c339ef9 regening all docs using forrest 0.8 ... removing sitemap.xmap per forrest 0.8 upgrade instructures, all other changes are just the effects of skin changes in 0.8
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@550678 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 04:29:29 +00:00
Doron Cohen 1d77b82dbf LUCENE-933: QueryParser fixed to not produce empty sub
BooleanQueries "()" even if the Analyzer 
            proudced no tokens for input.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@550647 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 00:40:20 +00:00
Michael Busch 7505950c5f LUCENE-937: CachingTokenFilter now uses an iterator to access the Tokens that are cached in the LinkedList.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@550060 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 15:56:34 +00:00
Michael Busch 84ebd3fa03 Improvements to Lucene 2.2 news entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@549308 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 00:44:07 +00:00
Grant Ingersoll dddb4b2d70 Removed news item occurring before 2007
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@548902 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 03:00:16 +00:00
Grant Ingersoll 73ed823c08 fix typo in 2.2 release announcement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@548896 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 02:46:44 +00:00
Michael Busch 18bf1cd45e adding benchmarktemplate.xml; this file was probably forgotten when the new forrest website was created; since then the link on benchmarks.html was broken
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@548629 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 07:21:56 +00:00
Michael Busch 482ee4062f update website for Lucene 2.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@548610 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 06:38:13 +00:00
Michael Busch 9578df3233 LUCENE-910: Change of the Payload javadoc comment in Similarity.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547995 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 23:25:34 +00:00
Doron Cohen b265b576a9 fix sample code to be compilable (part of LUCENE-925 - Analysis Package Javadocs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547871 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 06:48:31 +00:00
Doron Cohen e8ed8cac4a LUCENE-925: analysis package javadocs enhanced.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547814 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 22:16:24 +00:00
Grant Ingersoll 82f24dba0c LUCENE-926: document package javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547234 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 12:43:40 +00:00
Grant Ingersoll ca726ddf17 Lucene 925: analysis javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@547226 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 12:09:02 +00:00
Grant Ingersoll 2bc81869df LUCENE 918 and 922 docs for term vectors applied to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@546696 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 01:13:26 +00:00
Michael McCandless 1a35bbe0b3 LUCENE-924: small improvements to IndexWriter's javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545751 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 14:31:08 +00:00
Michael Busch df0a188415 LUCENE-931: adding missing license headers to various files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545696 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 06:09:46 +00:00
Michael Busch 53ef7398ce LUCENE-917: Javadoc improvements for org.apache.lucene.index.Payload
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545693 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 04:52:38 +00:00
Michael Busch 994f083846 LUCENE-923: Make SegmentTermPositionVector package-private.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545686 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 02:58:11 +00:00
Michael Busch 2cffd298a2 LUCENE-919: DefaultSkipListReader was accidentally public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545391 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 03:29:02 +00:00
Doron Cohen 899b858856 LUCENE-913: Two consecutive score() calls return different
scores for Boolean Queries.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545026 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 02:34:39 +00:00
Doron Cohen 860906333f LUCENE-912: DisjunctionMaxScorer first skipTo(target) call ignores the
skip target param and ends up at the first match.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545024 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 02:17:02 +00:00
Michael Busch 731fb3a228 LUCENE-908:
- Improves content of MANIFEST file and makes it customizable for the contribs.
- Adds SNOWBALL-LICENSE.txt to META-INF of the snowball jar 
- lucli jar now contains LICENSE.txt and NOTICE.txt.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@545010 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:48:32 +00:00
Michael Busch 35b5ace0ab LUCENE-910: added or changed warning comments for APIs related to Payloads
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544713 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 02:57:03 +00:00
Grant Ingersoll db99e27deb LUCENE-905
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544706 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 01:54:35 +00:00
Doron Cohen 1de7b02e98 LUCENE-909: Demo targets for running the demo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544685 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 23:52:05 +00:00
Michael Busch 8c62eb41a4 LUCENE-907: Include LICENSE.TXT and NOTICE.TXT in the META-INF dirs of demo war, demo jar, and the contrib jars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544611 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 19:54:38 +00:00
Doron Cohen 125fed32d8 LUCENE-446: Added Solr's search.function for scores based on field
values, plus CustomScoreQuery for simple score (post) customization.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544546 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 16:29:35 +00:00
Michael McCandless db78c85c21 LUCENE-843: making a small backwards compatible API change to return the newly added FieldInfo instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544464 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 12:12:33 +00:00
Doron Cohen bcc79d1e84 LUCENE-903: FilteredQuery explanation inaccuracy with boost.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@544254 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 20:41:06 +00:00