Commit Graph

2881 Commits

Author SHA1 Message Date
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
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
Daniel Naber 2f5507bfc9 fix returning unbalanced quotes in describeParams()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@586918 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 17:26:16 +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
Grant Ingersoll a614f0d99a Added some more algorithms for testing things out, implemented basic TREC query driver based on the sample in the javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@585677 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 20:36:20 +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
Grant Ingersoll b7253a06b7 LUCENE-1027: Added better formatting of doubles, added wikipedia-flush-by-RAM for comparison
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@583792 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 12:10:31 +00:00
Grant Ingersoll 9c9ebe5cf4 LUCENE-1027: Added support for doubles to Config, also added copies of standard and micro-standard algorithms that flush by RAM
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@583771 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 11:05:40 +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
Mark Harwood 21a07ee41e Provided DTDs for core and contrib XML query syntax. The "docs" directory contains detailed documentation generated by DTDdoc from the DTDs. The ant script used to generate these docs is also included but not hooked up to the main build process due to license issues with DTDdoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@583307 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 21:45:27 +00:00
Mark Harwood 3872d3bfcc Updated hashcode/equals to test all fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@583305 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 21:40:45 +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 243861715b cleaning up a ton of javadoc warnings from gdata. most of these fixes related to either: clarifying packages for @link tags; changing @link or @see tags that pointed at classes/methods that didn't exist (by picking classes with very similar names that do exist); or removing incomplete stub javadocs (that added no information beyond the signature
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582380 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 20:30:59 +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