Commit Graph

4084 Commits

Author SHA1 Message Date
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
Uwe Schindler 5b71d96818 Move to 2.9 branch for backwards tests and enable compilation with source/target=1.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820362 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 17:37:49 +00:00
Uwe Schindler ce7761cb29 disable the checkindex version test in backwards
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/branches/lucene_2_9_back_compat_tests@820359 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 17:35:06 +00:00
Uwe Schindler aed1f31fd6 Create a new branch for 2.9 backwards tests. This branch (with deprecated tests removed soonly) should be compiled with java 1.4 by trunk and tests should pass with Java-1.5-generics-enabled trunk Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/branches/lucene_2_9_back_compat_tests@820331 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 16:14:50 +00:00
Michael McCandless 1577ea694a also move javadoc.link to 1.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820129 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 23:50:08 +00:00
Michael McCandless daa39fa5ae move to 1.5!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820115 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 22:33:28 +00:00
Michael McCandless a5e5dc8794 LUCENE-1925: open up IndexSearcher a bit for expert usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@819130 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 13:02:48 +00:00
Uwe Schindler c390d49290 LUCENE-1926: a more improved version of the test to also fill the attributes with bogus values. This should e.g. detect bugs with position increment not correctly set in all cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@818920 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 17:26:11 +00:00
Uwe Schindler b0706ed6b6 LUCENE-1926: Add an extra clearAttributes in assertTokenStreamContents
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@818913 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 16:34:22 +00:00
Uwe Schindler 6ab7c91c83 LUCENE-1926: Javadoc updates for TokenStream to prevent other people from doing the same error like Robert :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@818894 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:58:58 +00:00
Michael McCandless da19413d09 LUCENE-1781: move CHANGES entry into unreleased section
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@818633 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 21:36:11 +00:00
Mark Robert Miller 6cf3fb071a Starting Lucene 2.9 branch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/branches/lucene_2_9@818600 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:33:28 +00:00
Michael McCandless e10adee615 improve javadocs for IW.getReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817876 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 22:42:04 +00:00
Michael McCandless 06a9b8d290 LUCENE-1781: fix various issues with lat/lng bounding box computation for contrib/spatial
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817456 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 00:08:21 +00:00
Mark Robert Miller 16e01820db estimate release in a couple days
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817268 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 14:23:44 +00:00
Mark Robert Miller 83e500395e fix changes entry for LUCENE-1422, LUCENE-1693 - Token is no longer deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817221 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:23:16 +00:00
Mark Robert Miller 511c4345b7 merge LUCENE-1658 and LUCENE-1451 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817220 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:19:07 +00:00
Mark Robert Miller 12d36a1fda javadoc spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816702 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 16:29:57 +00:00
Uwe Schindler ec0c376c45 LUCENE-1919: Fix analysis back compat break. Thanks to Robert Muir for the testcases, and Yonik and Mark Miller for testing!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816673 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 15:36:24 +00:00