Commit Graph

2703 Commits

Author SHA1 Message Date
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 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
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
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 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
Michael McCandless 6be2c0765c LUCENE-1044: also re-default doSync back to false in contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596874 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 23:17:44 +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
Grant Ingersoll 31f50ad41d minor change in the wording
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596303 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 13:57:16 +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 Busch 01719c5065 Set eol-style property to native for ParallelReader.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596002 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 20:28:03 +00:00
Michael Busch 1abb04580f Disable verbose standard output in MemoryIndexTest by default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596000 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 20:19:17 +00:00
Mark Harwood 04ae927f38 Added toString implementation on BooleanFilter.java, provided by Jason Calabrese
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595996 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 20:08:06 +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 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 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 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
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