Michael McCandless
fa65d42e94
LUCENE-2115: cutover contrib tests to use generics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887524 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 09:43:54 +00:00
Uwe Schindler
5b83cc59b2
LUCENE-1257: Generics: *heavy* Robert Muir & mine patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@834847 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 12:18:34 +00:00
Robert Muir
c4f2d05a03
LUCENE-2022: remove contrib deprecations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@834707 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 23:22:48 +00:00
Robert Muir
786eb6ce0d
LUCENE-2012: add remaining @overrides (contrib,demo)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833867 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 12:45:12 +00:00
Uwe Schindler
1ae5f89cfb
LUCENE-1987: Remove rest of analysis deprecations (StandardAnalyzer, StopAnalyzer)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@827979 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 12:12:11 +00:00
Michael McCandless
5ceb81834d
LUCENE-1993: add maxDocFreq to MoreLikeThis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@827042 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 11:59:53 +00:00
Uwe Schindler
975ce67fb5
LUCENE-1257: More generified APIs and implementations. Also makes BooleanQuery implement Iterable for easy extended for loop on clauses. Thanks Kay Kay!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826213 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 09:53:02 +00:00
Uwe Schindler
b183d17bca
fix usage of deprecated method in BooleanFilterTest, as OpenBitSet's next() was already removed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824088 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 15:28:03 +00:00
Michael Busch
3619c380d6
LUCENE-1968: Remove deprecated PriorityQueue methods.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824013 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 03:54:25 +00:00
Michael McCandless
f20e419aff
LUCENE-1950: remove autoCommit=true from IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823321 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:57:32 +00:00
Michael Busch
39b4a0e4dc
LUCENE-1957: Remove Filter.bits(IndexReader).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822930 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 21:43:45 +00:00
Michael Busch
d7d9241ef7
LUCENE-1856: Remove Hits.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822587 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 05:08:22 +00:00
Uwe Schindler
236baf9fcb
LUCENE-1944: Cleanup contrib to not use deprecated APIs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821444 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:24:33 +00:00
Uwe Schindler
835de0b44d
LUCENE-1833: Change all new Number() ctors to Number.valueOf()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821186 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 22:16:44 +00:00
Uwe Schindler
af0e97fd72
LUCENE-1257: Replace StringBuffer by StringBuilder where possible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821185 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 22:11:10 +00:00
Uwe Schindler
ec90bc2202
LUCENE-1855: Change AttributeSource API to use generics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820553 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 07:53:43 +00:00
Chris M. Hostetter
c56f4c224f
LUCENE-1884: massive javadoc and comment cleanup -- primarily dealing with typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@811070 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 18:31:41 +00:00
Mark Robert Miller
26c5af3a33
LUCENE-1865 Add a ton of missing license headers throughout test/demo/contrib
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 18:48:16 +00:00
Mark Robert Miller
56985e3136
add overview.html stubs for contrib to avoid error messages when building javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808233 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 00:23:09 +00:00
Michael Busch
1743081b07
LUCENE-1460: Changed TokenStreams/TokenFilters in contrib to use the new TokenStream API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799953 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 22:52:32 +00:00
Uwe Schindler
f8b2f0122c
Use the empty docidset provided by DocIdSet.EMPTY_DOCIDSET
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799582 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 11:32:37 +00:00
Michael McCandless
65494af827
LUCENE-1272: add MoreLikeThis.set/getBoost
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@793973 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 16:56:16 +00:00
Uwe Schindler
fed4bba63d
LUCENE-1713: Rename RangeQuery -> TermRangeQuery (part 1)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791175 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 20:14:12 +00:00
Michael McCandless
ec8088654d
bulk fix svn:eol-style to native for text files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787424 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 22:18:56 +00:00
Uwe Schindler
0b5cbca110
LUCENE-1673: Move TrieRange to core (part 2: removing from contrib/queries)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786474 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:16:52 +00:00
Uwe Schindler
cb9090da45
Fix incorrect example: setValue() is not a method of TokenStream, need more specific type. Thanks Mike
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781029 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 13:12:22 +00:00
Uwe Schindler
673b90e651
Correct JavaDocs in TrieUtils. This also adds a missing test for equals() and hashcode() of the TrieRangeQueries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770602 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 09:55:01 +00:00
Uwe Schindler
5807d11b70
LUCENE-1602: Fix incomplete toString(), hashcode() and equals() because boost was not involved there (copy'n'paste error from the Filter, which had no boost)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@767982 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 17:07:36 +00:00
Uwe Schindler
92c6484161
LUCENE-1602: Rewrite TrieRange to use MultiTermQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765618 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 12:58:28 +00:00
Uwe Schindler
87e10db563
Add a missing check for inverse ranges in splitRange() and corresponding tests for inverse ranges and 0-length-ranges.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764829 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 15:28:06 +00:00
Uwe Schindler
3ef76ae033
Small documentation updates, test fixed according to attributes documentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764654 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 00:36:02 +00:00
Mark Robert Miller
413cabef1f
Contrib queries package Query implementations do not override equals()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763857 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 02:21:04 +00:00
Uwe Schindler
ca6451958b
Add extra check to TokenStream tests, only get attribute not create it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763793 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 20:32:35 +00:00
Uwe Schindler
b5c4f8e67d
Add field name to term statistics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763778 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:31:42 +00:00
Uwe Schindler
c7ac1fdec3
LUCENE-1582: Fix missing public accessor in ShiftAttribute
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763004 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:25:46 +00:00
Uwe Schindler
13ae26b7fe
LUCENE-1582: Make TrieRange completely independent from Document/Field with TokenStream of prefix encoded values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@762710 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 11:47:35 +00:00
Michael McCandless
c443dcc662
LUCENE-1561: rename omitTf -> omitTermFreqAndPositions in Field*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756663 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:26:01 +00:00
Mark Robert Miller
e256f679e3
typo in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749625 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 15:00:02 +00:00
Uwe Schindler
174e8237b9
Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746792 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:29:42 +00:00
Uwe Schindler
c314ad000f
LUCENE-1470: API change in RangeBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746790 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:17:13 +00:00
Uwe Schindler
03db7c81c1
LUCENE-1470: Remove the recursion from splitRange and implement with loop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@745533 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 15:08:02 +00:00
Uwe Schindler
8b79fa51a5
LUCENE-1470: New implementation using encoding of TrieUtils and TrieRangeFilter that now also supports 32bit and 64bit fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@744207 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 18:27:01 +00:00
Michael McCandless
dbe0898d63
LUCENE-1535: use random seed for randomness, but print the seed on failure for reproducibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@741311 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 21:53:40 +00:00
Uwe Schindler
80b471b0cc
one Math.max too much, sorry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740444 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:07:11 +00:00
Uwe Schindler
b2c04094ef
Fix jUnit test problem with exclusive range if upper==lower (thanks to Michael McCandless):
...
[junit] junit.framework.AssertionFailedError: Returned count of
range query must be equal to exclusive range length expected:<0> but
was:<-1>
at org.apache.lucene.search.trie.TestTrieRangeQuery.testRangeSplit(TestTrieRangeQuery.java:203)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740442 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:05:29 +00:00
Uwe Schindler
e7edb24bc0
fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@739441 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 22:44:20 +00:00
Uwe Schindler
cb55b1671b
Add some extra check for validity of c'tor parameters in TrieRangeFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@739439 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 22:38:04 +00:00
Michael McCandless
20753f2e31
LUCENE-1507: add DocIdSet.EMPTY_DOCIDSET
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738895 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 15:39:11 +00:00
Uwe Schindler
f1ab1aee64
Implement a shortcut, when range has min>max. In this case a static empty SortedVIntList is returned.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738182 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 18:12:34 +00:00
Uwe Schindler
153acfd064
LUCENE-1530: Support inclusive/exclusive for TrieRangeQuery/-Filter, remove default trie variant setters/getters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738109 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 15:15:24 +00:00