Simon Willnauer
286cb1f9d2
LUCENE-1962: Cleaned up Persian & Arabic Analyzer. Prevent default stopword list from being loaded more than once.
...
- replace if blocks with a single switch
- marking private members final where needed
- changed protected visibility to final in final class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823180 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 13:54:18 +00:00
Koji Sekiguchi
90fc7e18c7
LUCENE-1953: FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823170 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 13:34:43 +00:00
Michael McCandless
886ae61113
LUCENE-1959: reuse the copy buffer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823155 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 12:52:15 +00:00
Michael McCandless
2fc8e01d9e
LUCENE-1959: add IndexSplitter tool to pull segment files out of an index into another
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823153 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 12:50:19 +00:00
Michael Busch
6be57e324e
LUCENE-1960: Remove deprecated Field.Store.COMPRESS.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822978 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 00:54:59 +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
f1bf7c01be
switch to new back-compat tag for LUCENE-1957
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822916 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 21:06:42 +00:00
Michael Busch
f702e9596d
LUCENE-1856: Remove classes Hit, HitIterator, Hits and some javadoc references
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822825 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 18:32:47 +00:00
Michael McCandless
c11776d2c6
remove tags
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822781 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 15:41:09 +00:00
Michael McCandless
742aca6a9d
new back-compat tag, to fix TestBackwardsCompatibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822769 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 14:58:56 +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
Michael McCandless
ca1f4e018b
fix TestBackwardsCompability to not use deprecated APIs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822284 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 14:12:46 +00:00
Uwe Schindler
ad7441bacc
restore TestBackwardsCompatibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822240 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 12:25:05 +00:00
Uwe Schindler
a81933fc9b
delete again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822239 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 12:23:13 +00:00
Michael McCandless
f80ca19510
restore TestBackwardsCompatibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822203 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 10:32:43 +00:00
Michael Busch
748a5196b8
LUCENE-486: Update compatibility.tag
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822139 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 06:06:38 +00:00
Michael Busch
b9bf270b01
LUCENE-486: Remove test->demo dependencies.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822137 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 05:57:20 +00:00
Karl-Johan Wettin
b3f73db537
LUCENE-1939: IndexOutOfBoundsException at ShingleMatrixFilter's Iterator#hasNext method on exhausted streams.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821888 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 16:01:17 +00:00
Uwe Schindler
9aa93c2a6b
Add changes for Java 1.5 Port
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821448 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:40:02 +00:00
Uwe Schindler
8dcc6d68b5
LUCENE-1257: Move messages package to Java 1.5, thanks Robert Muir!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821447 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:36:23 +00:00
Uwe Schindler
c70555f62d
LUCENE-1944: Remove deprecated Directory stuff and IR/IW open/ctor hell
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821446 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:29:14 +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
b75e96f2f4
LUCENE-1257: Change some occurrences of StringBuffer in public/protected APIs of contrib/surround to StringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821443 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:10:27 +00:00
Mark Robert Miller
4a210f1b69
don't point to deprecated method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821434 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 22:14:18 +00:00
Uwe Schindler
71e146deaa
revert the removeal of DateField from QueryParser (the class is deprecated, but will stay for long because of index compatibility)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821431 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 22:01:18 +00:00
Uwe Schindler
4898da205b
Further test updates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821379 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 18:03:22 +00:00
Uwe Schindler
2e1d224615
one patch merged too much in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821346 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 16:04:43 +00:00
Uwe Schindler
30efdc5249
small fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821344 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 15:53:08 +00:00
Uwe Schindler
834a116608
fix deprecated tests #1 (trunk)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821340 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 15:45:34 +00:00
Uwe Schindler
435a29d37d
fix deprecated tests #1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/branches/lucene_2_9_back_compat_tests@821335 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 15:04:01 +00:00
Robert Muir
8da43c4bb8
LUCENE-1916: smartcn hhmm doc translation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821325 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 14:24:45 +00:00
Robert Muir
1f9088b038
LUCENE-1943: Improve performance of ChineseFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821322 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 13:54:12 +00:00
Karl-Johan Wettin
891570478d
LUCENE-1257: Fix for InstantiatedIndex compile error caused by code committed in revision 821277
...
List<Fieldable> rather than List<Field>
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821315 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 13:23:45 +00:00
Karl-Johan Wettin
4f878bdc93
LUCENE-1257: Generified ShingleMatrixFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821311 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 13:17:11 +00:00
Uwe Schindler
4b2a71b621
LUCENE-1257: Generify Document's getters to return List<Fieldable>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821277 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 09:16:00 +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
27b05ac971
Java 1.4 -> 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821171 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 21:19:25 +00:00
Uwe Schindler
698b73e2ae
LUCENE-1935: Generify PriorityQueue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821104 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 17:28:03 +00:00
Uwe Schindler
5e114029b0
LUCENE-1857: Missed one valueOf conversion
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820795 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:15:45 +00:00
Uwe Schindler
7ce333d639
LUCENE-1857: Convert NumericRangeQuery API to Generics (and some changes in MTQ, @Override, autoboxing in tests)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820792 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:11:39 +00:00
Robert Muir
dd9c1b0101
LUCENE-1936: Remove deprecated charset support from Greek and Russian analyzers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820756 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 19:20:09 +00:00
Uwe Schindler
c1f5e753d7
LUCENE-1933: Provide a convenience AttributeFactory that creates a Token instance for all basic attributes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820658 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 13:49:46 +00:00
Michael McCandless
009c1d4ca5
LUCENE-1928: fix javadoc for PayloadTermQuery to not refer to deprecated scorePayload API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820634 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 12:45:05 +00:00
Michael McCandless
fa3e8b870c
LUCENE-1924: add BalancedSegmentMergePolicy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820627 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 12:23:03 +00:00
Michael McCandless
e1362d4f03
fix TestAtomicUpdate to use random dir in filesystem to avoid conflict if two are running at once
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820623 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 12:13:18 +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
Uwe Schindler
7733f8ab32
Remove unneeded Java 1.5 properties from contrib build.xmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820481 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 22:29:02 +00:00
Michael McCandless
9b0f9934c3
fix silly bug in CheckIndex's checking of increasing positions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820368 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 18:18:16 +00:00
Uwe Schindler
ba5e4445a6
update version here, too
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820366 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 17:56:29 +00:00