Commit Graph

4199 Commits

Author SHA1 Message Date
Uwe Schindler 1d7866a0b9 remove unneeded import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828157 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 19:35:43 +00:00
Uwe Schindler 04da5e73f2 LUCENE-1998: Parameter -> Java 5 enum transition
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828156 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 19:30:06 +00:00
Robert Muir afc66e4e66 LUCENE-2001: Fix parsing bug in wordnet contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828091 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 16:32:03 +00:00
Uwe Schindler 56f83862cf Add varargs to MultiSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828042 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 15:16:26 +00:00
Uwe Schindler bede45aaa3 Fix test failure because of wrong cast. Hard stuff :( Could be implemented better, the hq is used for 2 different types
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828024 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 14:15:11 +00:00
Uwe Schindler 33be3177a1 LUCENE-1257: Remove the rest of unchecked warnings and some unneeded casts. I added a TODO, where I do not understand the code and not for sure know, whats inside the collections. This could be fixed some time later. But the core code now compiles without any unchecked warning.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828011 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 13:37:39 +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
Uwe Schindler b85aca45a9 LUCENE-1257: Cleanup unneeded casts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@827811 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 21:42:59 +00:00
Michael McCandless 7fd5373257 LUCENE-1183: optimize Levenshtein distance computation in FuzzyQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@827800 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 21:22:52 +00:00
Michael McCandless 33f36e6175 move methods to the top
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@827782 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 20:35:34 +00:00
Uwe Schindler 649a0e83a4 Remove deprecations from QueryParser and generify (LUCENE-1257) QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@827717 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 16:06:29 +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
Michael McCandless faa1b9815e LUCENE-1995: don't let IndexWriter's ram buffer size exceed 2048 MB
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@827010 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 09:04:51 +00:00
Uwe Schindler cb86ea9ad6 Fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826892 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 23:49:03 +00:00
Uwe Schindler 9b1746ab82 LUCENE-1257: FieldCacheRangeFilter generified
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826883 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 23:41:16 +00:00
Uwe Schindler 5428780bc5 LUCENE-1257: Missed one generification :-(
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826860 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 23:06:19 +00:00
Uwe Schindler 0428efa343 LUCENE-1257:LUCENE-1257: More generified APIs and implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826857 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 22:59:06 +00:00
Uwe Schindler 3e086c6028 LUCENE-1257: More generified APIs and implementations. Thanks Kay Kay & Robert Muir!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826601 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 08:14:23 +00:00
Michael McCandless 2b274fd0eb LUCENE-1992: fix thread hazard if a merge is committing just as a sync hits an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826551 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 23:41:58 +00:00
Uwe Schindler 3645281a5d Update JavaCC parser task to Java 1.5 and regenerate files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826549 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 23:21:13 +00:00
Uwe Schindler aa15266986 LUCENE-1945: add changes.txt entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826542 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 22:24:25 +00:00
Uwe Schindler 11c7039a82 LUCENE-1945: Add Closeable interface to all public interfaces/super-classes that define close(). Package-private classes inside oal.index are not changed (as they often only define package-private close())
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826540 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 22:21:43 +00:00
Uwe Schindler 1c0678d148 LUCENE-1257: CommitPoint -> IndexCommit in generics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826533 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 21:50:47 +00:00
Uwe Schindler 501d8c59e4 LUCENE-1257: Generify CloseableThreadLocal
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826532 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 21:44:01 +00:00
Uwe Schindler 504cd94c0b LUCENE-1257: More generified APIs and implementations (when will we be finished?). Thanks Kay Kay!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826527 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 21:11:33 +00:00
Uwe Schindler 376873eba5 LUCENE-1987: Remove lots of deprecations from analysis package. Undeprecate some Token ctors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826404 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 10:37:56 +00:00
Uwe Schindler 173d95a166 LUCENE-1989: Generify CharArraySet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826395 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 10:12:26 +00:00
Uwe Schindler 290762a68e LUCENE-1257: More generified APIs and implementations in index package. Thanks Kay Kay!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826389 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 09:50:49 +00:00
Michael McCandless 9ac3cf9203 LUCENE-1986: fix NPE when scoring PayloadNearQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826385 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 09:36:51 +00:00
Uwe Schindler b22932be70 LUCENE-1257: More generified APIs and implementations. Thanks Kay Kay!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826290 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 19:15:07 +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 58878dd20e Further unneeded casts, thanks Kay Kay
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826035 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 18:54:01 +00:00
Michael McCandless 052e1f5630 LUCENE-1976: make IndexReader.isCurrent work correctly for NRT readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826029 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 18:45:38 +00:00
Uwe Schindler a0776e5cd0 Generify more Comparable interface declarations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826016 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 17:47:14 +00:00
Michael McCandless ad6bbdd02e LUCENE-1124: make sure FuzzyQuery matches the exact term
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826013 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 17:37:16 +00:00
Uwe Schindler 74b190f4b7 Fix comparator in contrib/instantiated.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826011 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 17:17:12 +00:00
Uwe Schindler 324f601c64 LUCENE-1985: More Java5 fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825989 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:30:19 +00:00
Michael McCandless 2f08d0ba66 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825977 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:14:10 +00:00
Uwe Schindler 1a5a3c99c3 one more...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825953 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 15:40:56 +00:00
Uwe Schindler 2de9c69281 unneeded method (forgotten to deprecate)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825893 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 13:44:56 +00:00
Uwe Schindler 1c6720816f put more out-commented @Overrides back in. Add more.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825891 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 13:42:41 +00:00
Uwe Schindler 59534306ee LUCENE-1984: Generify Disjunction* - add tons of @Override
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825881 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 13:20:34 +00:00
Michael McCandless b714198d17 javadocs fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825602 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 18:22:19 +00:00
Michael Busch da48773756 new back-compat tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825291 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:25:36 +00:00
Michael Busch 663adad4d7 LUCENE-1979: remove more deprecations in the index package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825288 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:21:05 +00:00
Michael McCandless 83ab2542db remove unused private fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825131 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 13:42:29 +00:00
Michael McCandless f7ab67bb23 LUCENE-1974: strenghten TestBoolean2 to show this bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825118 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 12:58:21 +00:00
Michael McCandless 83c5198779 put back expert: for IndexWriter.getReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825117 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 12:54:42 +00:00
Robert Muir effd119399 LUCENE-1756: Improve PatternAnalyzerTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825112 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 12:33:28 +00:00
Robert Muir e053d80455 LUCENE-1966: ArabicAnalyzer stopwords cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825110 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 12:24:18 +00:00