Yonik Seeley
99c9289a89
improve hashcodes: LUCENE-460
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358689 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:14:58 +00:00
Yonik Seeley
9a9da2f770
grab commit lock when getting current version: LUCENE-481
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358685 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 02:38:23 +00:00
Otis Gospodnetic
8125927112
- Initial commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358165 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 01:01:46 +00:00
Yonik Seeley
c86207379d
fix score to include boost and query normalization: LUCENE-450
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358089 13f79535-47bb-0310-9956-ffa450edef68
2005-12-20 20:14:30 +00:00
Yonik Seeley
a08af8e73d
Change DisjunctionMaxScorer to use heap (Chuck Williams)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@356452 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 02:19:46 +00:00
Daniel Naber
f3dcf0683c
document that extractTerms() can throw an exception if it's called on a non-rewritten query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@355997 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 19:18:50 +00:00
Doug Cutting
e6400c63f0
Fix LUCENE-479: After MultiReader.undeleteAll(), numDocs was incorrect. Contributed by Robert Kirchgessner.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@355181 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 19:53:06 +00:00
Erik Hatcher
cf4c00556c
Likewise rename the delete methods for IndexModifier, deprecating the old (though not strictly necessary since IndexModifier was added after 1.4.3)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354934 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 02:14:25 +00:00
Erik Hatcher
331748b8c3
LUCENE-289 - added IndexReader.deleteDocument/.deleteDocuments and deprecated .delete(int)/.delete(Term).
...
CHANGES.txt already mentions deprecated methods sufficiently, so nothing further to note for this change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354917 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 00:22:00 +00:00
Yonik Seeley
ad9e9bceb4
remove score normalization from expert level search: LUCENE-469
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354819 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 17:48:37 +00:00
Yonik Seeley
3e1787d7db
StopFilter ignore case: LUCENE-248
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354253 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 01:36:53 +00:00
Bernhard Messer
6cabdf3726
LUCENE-475 - patch from Volodymyr Bychkoviak to reduce memory usage
...
when loading an index into RAMDirectory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351779 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:37:50 +00:00
Bernhard Messer
abb213261d
add JUnit class to test the different RAMDirectory constructors.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351778 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:32:15 +00:00
Bernhard Messer
17100557f1
remove local variable never used to avoid compiler warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351777 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:26:23 +00:00
Bernhard Messer
72a781706f
delete DocTest which is not a JUnit test and not in use.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351775 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:20:35 +00:00
Bernhard Messer
3c62597540
delete TermInfosTest which is not a JUnit test at all.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351773 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:10:35 +00:00
Erik Hatcher
29aafdf3c5
Renamed test files to match the conventional pattern used, allowing these tests to run from 'ant test'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351548 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 01:21:20 +00:00
Erik Hatcher
18b9843fad
LUCENE-288 - Patch from Andi Vajda applied to work around a GCJ issue ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15411 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351489 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 21:50:45 +00:00
Bernhard Messer
530484379e
avoid ArrayIndexOutOfBoundsException when startet without index parameter and print usage instead.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351472 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 21:15:53 +00:00
Yonik Seeley
3ba5a1d9e5
Change Similarity to use SmallFloat for norm encoding
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@349074 13f79535-47bb-0310-9956-ffa450edef68
2005-11-26 04:17:08 +00:00
Yonik Seeley
208760307f
Change Similarity to use SmallFloat for norm encoding
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@349073 13f79535-47bb-0310-9956-ffa450edef68
2005-11-26 04:14:35 +00:00
Erik Hatcher
729175f73a
Modified RegexTermEnum to have more generic logic, Character.isLetterOrDigit(), to determine the prefix for term enumeration.
...
Also added commented out test demonstrating where prefix logic fails currently. Perhaps, like FuzzyQuery, we should push the
prefix calculation back to the user of the query for now?
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348692 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 09:09:48 +00:00
Erik Hatcher
cf1d106504
LUCENE-470 - Added some more regex tests, contributed by Paul Elschot
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348689 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 08:52:02 +00:00
Erik Hatcher
13ea2b0c3f
remove mention of non-public DocumentWriter class from Analyzer javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348207 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 18:35:05 +00:00
Erik Hatcher
e797a8e965
Fix TestSegmentReader, which broke due to previous changes to DocHelper. getPositionIncrementGap tests no longer use DocHelper, to avoid testing conflicts.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348137 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 09:35:58 +00:00
Erik Hatcher
c958e10770
added getPositionIncrementGap(String fieldName) to Analyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348060 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 01:46:24 +00:00
Daniel Naber
e4d079faa3
test case for LengthFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347996 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:51:46 +00:00
Daniel Naber
c78c2c8936
avoid using deprecated QueryParser method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347995 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:46:26 +00:00
Daniel Naber
dea69e3360
tiny whitespace and javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347992 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:41:43 +00:00
Daniel Naber
bfde3257dc
moving the non-language specific analyzers to core, this is where most users will probably expect them
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347991 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:35:24 +00:00
Yonik Seeley
f0b3f57b96
fix deprecated referebces: LUCENE-468
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345920 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 16:00:32 +00:00
Yonik Seeley
6798e96355
SmallFloat: generalized and faster versions of floatToByte/byteToFloat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345681 13f79535-47bb-0310-9956-ffa450edef68
2005-11-19 20:22:36 +00:00
Erik Hatcher
a5cd1e7e1b
add getTerm to SpanRegexQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345677 13f79535-47bb-0310-9956-ffa450edef68
2005-11-19 20:01:18 +00:00
Yonik Seeley
b7f89acd31
remove Java5 dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345449 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 05:23:51 +00:00
Yonik Seeley
0c5febcb15
comment out log messages on success path
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345093 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 19:38:31 +00:00
Yonik Seeley
3c10854e00
new DisjunctionMaxQuery/DisjunctionMaxScorer from Chuck Williams: LUCENE-323
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345089 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 18:47:37 +00:00
Yonik Seeley
c40c7cd114
BooleanQuery/BooleanScorer minNrShouldMatch implementation: LUCENE-395
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345056 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 16:39:59 +00:00
Yonik Seeley
292c9dfa72
added ASF copyright
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344415 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 19:29:48 +00:00
Yonik Seeley
fd41195ef3
ConstantScoreRangeQuery addition: LUCENE-383
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344312 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 05:28:52 +00:00
Daniel Naber
7017c1b701
throw IllegalArgumentExeception if value doesn't make sense
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332762 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 11:57:35 +00:00
Erik Hatcher
11866ad09d
Correct TestRegexQuery to test RegexQuery rather than SpanRegexQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332748 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 09:09:49 +00:00
Erik Hatcher
6befc45334
Add RegexQuery and SpanRegexQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332747 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 09:03:26 +00:00
Erik Hatcher
f00afeee7a
LUCENE-461 - Fix for "StandardTokenizer splitting all of Korean words into separate characters", contributed by Cheolgoo Kang
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332745 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 08:33:21 +00:00
Yonik Seeley
34c98cc0bf
fix FieldSortedHitQueue.maxscore: LUCENE-462
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332651 13f79535-47bb-0310-9956-ffa450edef68
2005-11-11 21:19:02 +00:00
Daniel Naber
d37e5cc906
fixing tiny typo in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332631 13f79535-47bb-0310-9956-ffa450edef68
2005-11-11 18:32:22 +00:00
Yonik Seeley
48b55ab1e0
break sorting ties by index order: LUCENE-456
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332431 13f79535-47bb-0310-9956-ffa450edef68
2005-11-11 03:13:10 +00:00
Daniel Naber
5bba415099
a few more tests, fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332362 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 19:49:52 +00:00
Yonik Seeley
e9d4568cf5
added random disableCoord to random boolean query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332344 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 18:14:10 +00:00
Yonik Seeley
3dbba4dabe
fix comparison of null strings in FieldDocSortedHitQueue: LUCENE-453
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332229 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 05:57:32 +00:00
Yonik Seeley
6adbae3dc2
use instanceof instead of catching exception: LUCENE-392
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332214 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 03:24:03 +00:00