Commit Graph

1693 Commits

Author SHA1 Message Date
Erik Hatcher f9cda45f7d adjust hashCode based on feedback from Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178149 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 10:15:23 +00:00
Erik Hatcher 2762141057 implement .equals/.hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178059 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 01:35:13 +00:00
Daniel Naber 061a2074e0 test to show that "*" can be used as the first character, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178009 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 20:16:54 +00:00
Daniel Naber d282afeb94 small javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178005 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 19:10:12 +00:00
Doug Cutting b0cf756698 I'm no longer soliciting new contracts.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178002 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 18:52:53 +00:00
Daniel Naber 053ff701e0 small javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@177997 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 18:39:02 +00:00
Daniel Naber c3f5eb0eb4 import cleanup; small javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@177987 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 17:58:40 +00:00
Daniel Naber 085ba51c9b even better spam-protect our email addresses
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@171237 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 18:38:27 +00:00
Erik Hatcher 79bc8a4593 add .equals/.hashCode to SpanTermQuery to allow comparison and collections to work logically. The other SpanQuery subclasses should probably have a similar adjustment and I will take care of those as I run into cases where it is necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170853 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 01:30:43 +00:00
Bernhard Messer c5600176d2 optimized buffer handling and runtime optimization.
The initial buffer size is set to 10 characters, so it doesn't have to be increased that often.
If the buffer has to grow, just copy the identical pattern and not the whole string.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170226 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 15:04:39 +00:00
Daniel Naber e8ba60ce87 trying again to re-adding the features page
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170181 13f79535-47bb-0310-9956-ffa450edef68
2005-05-14 23:07:52 +00:00
Daniel Naber 498cf19c97 re-adding the features page
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170180 13f79535-47bb-0310-9956-ffa450edef68
2005-05-14 23:07:10 +00:00
Daniel Naber ec9485f9a6 re-adding the features page and a link to it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170179 13f79535-47bb-0310-9956-ffa450edef68
2005-05-14 23:05:04 +00:00
Erik Hatcher 11d6c9e87b controversial: do not fail the build for contrib components not building successfully. this is to make Gump happy for now, but in the future a more granular conditional build of each contrib project may be desirable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170003 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 10:21:54 +00:00
Doug Cutting 812a234589 Turn deprecation warnings off until 2.0 release. In the meantime
they're expected and annoying.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169863 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 18:14:15 +00:00
Doug Cutting f337d12a26 Fix build to not complain about non-test tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169862 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 18:11:04 +00:00
Doug Cutting 01947641d5 Rename 'enum' to 'termEnum' for Java 1.5 compatibility.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169861 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 18:09:18 +00:00
Doug Cutting b68ae2ef26 Add ParallelReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169859 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 17:59:41 +00:00
Daniel Naber 53b16d2054 javadoc: fix deprecated links
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169683 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 19:40:56 +00:00
Daniel Naber 69b1f490df javadoc: fix typo and use HTML entity so generated HTML is correct
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169681 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 19:33:12 +00:00
David Spencer 1d68f8c88d Logic ignored stop words were in a early version of this code but it was taken out in the belief that there
was no point in explicitly looking for them as the scoring algorithm would effictively ignore them.

I did a test and indexed 700 pages on a corporate web site and then ran the MoreLikeThis code on them
and 1/2 of the docs had stop words identified as interesting.

So - I added code in to ignore stop words, but make it backward compatible so that by default this code
is not used.




git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169512 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 19:29:56 +00:00
David Spencer 81087e8bb6 Touchup javadoc.
Make retrieveInterestingTerms only return the top terms, not all terms.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169511 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 19:10:28 +00:00
David Spencer 175cf8a9fd [1] Added comments to retrieveTerms() to document the return value.
[2] Added convenience routine retrieveInterestingTerms() which makes it easier to get at the "interesting words" in a document.




git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169508 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 18:49:43 +00:00
Erik Hatcher a79c508580 #34816 - adjust for contrib/WordNet renaming
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169391 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 01:19:03 +00:00
David Spencer c696188668 don't print out summary unless it's present
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169366 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 21:37:50 +00:00
David Spencer 7f8bf69311 cleanup deprecated warnings so it compiles cleanly w/ the current lucene code, lucene-core-1.9-rc1-dev.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169365 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 21:36:22 +00:00
David Spencer c680751f63 test checkin of README, just to verify my permissions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169349 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 19:25:40 +00:00
Daniel Naber 129227dce1 throw a more helpful exception if supposed directory is a file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169136 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 14:51:29 +00:00
Erik Hatcher 78dbe41805 prefix all JARs with lucene-
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168986 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 23:43:54 +00:00
Daniel Naber 9f78244f9e convenience constructors that load list of stop words from a file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168970 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 22:28:52 +00:00
Daniel Naber c3f90ad76e use non-deprecated API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168642 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 19:32:54 +00:00
Daniel Naber 529214394c remove useless parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168640 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 19:29:40 +00:00
Erik Hatcher e8c90fb050 rename WordNet to wordnet, required intermediate move due to OS case insensitivity
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168480 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:32:00 +00:00
Erik Hatcher 5fd5169a6f temporary move to lowercase WordNet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168479 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:31:11 +00:00
Erik Hatcher dd472377dd adjust code to fix compile/javadoc errors on JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168478 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:26:08 +00:00
Erik Hatcher a12dac37b4 adjust project names for consistency
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168476 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:24:18 +00:00
Daniel Naber 170bdc33a3 call static methods via class, not via object (avoids warning in Eclipse)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168454 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 22:46:09 +00:00
Daniel Naber ffbdf0b882 test using a non-existing field as first sort key
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168453 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 22:41:44 +00:00
Mark Harwood 12a91b4395 Fixed bug where docs larger than maxDocBytesToAnalyze would cause last fragment to be sized as remainder of doc (which could be huge).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168452 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 22:40:45 +00:00
Daniel Naber a20246c68c don't declare Exceptions that are never thrown; remove an unused variable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168450 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 22:37:09 +00:00
Daniel Naber c97ba92ebd refactoring so that filename extensions are in one place
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168449 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 22:20:49 +00:00
Daniel Naber 0209ce959b don't print to stdout in test cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168338 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 15:22:03 +00:00
Daniel Naber 30fe087036 update build instructions and version numbers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168332 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:38:34 +00:00
Daniel Naber 4b00637662 only delete our own files when re-creating an index (#34695)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168213 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 23:34:52 +00:00
Daniel Naber 77f94fb60c mention the new Java 1.4 requirement that we already agreed on in January
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168212 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 23:26:00 +00:00
Daniel Naber 0e9579345a fixing typos; WordNet url update
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168208 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 23:10:37 +00:00
Erik Hatcher 8f70c09b9b Wolfgang is non-stop with the additions. Easy enough to paste in, so here it is with a Collection-based TokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168029 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 00:24:17 +00:00
Erik Hatcher f94ebdb41e applied norm caching path from Wolfgang
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@167958 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 19:01:58 +00:00
Erik Hatcher 2a37a3e820 Apply wolfgangs fix to the tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@167835 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 00:33:27 +00:00
Andreas Vajda 572633f8c4 - reworked store I/O to use new IndexInput and IndexOutput classes
- reworked store I/O to avoid upstream buffering giving better txn control
 - added DbStoreTest unit test adapted from StoreTest


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@165674 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 20:06:00 +00:00