Commit Graph

4165 Commits

Author SHA1 Message Date
Michael McCandless 3b50c11e42 remove TestStressSort
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829241 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 21:15:41 +00:00
Uwe Schindler 1686dac7f9 Generics got lost during merge. Seen by the only unchecked warning (core now compiles without any unchecked warning!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829231 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 20:52:26 +00:00
Uwe Schindler 35fb2e4950 Fix javadoc problem (there are a lot more, see separate issue). We need some cleanup after removing all deprecated APIs!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829219 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 20:42:41 +00:00
Michael McCandless 831f665ba8 LUCENE-2002: Fix HighlighterTest to consistently use the same version compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829208 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 20:28:56 +00:00
Michael McCandless aaddac8992 LUCENE-2002: add Version to QueryParser & contrib analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829206 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 20:25:17 +00:00
Mark Robert Miller 0557d2ce5a LUCENE-2003 Changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829132 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 17:13:21 +00:00
Mark Robert Miller 9609a2cb4d LUCENE-2003: Highlighter doesn't respect position increments other than 1 with PhraseQuerys
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829129 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 17:08:50 +00:00
Grant Ingersoll 0f76b3139d Move Lucene-1708 blurb to back compat. section.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829095 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 15:43:43 +00:00
Uwe Schindler 0a36a22599 Remove my warning and also prevent creation of additional variable. Moved @SuppressWarnings up to the method. Also do some tab->spaces cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829077 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 14:37:05 +00:00
Uwe Schindler 6a06b0f0dd We can only remove this in 3.x at earliest (depending on our policy change).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829033 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 12:44:44 +00:00
Uwe Schindler 1b59256ab8 LUCENE-1973: Remove deprecated BoostingTermQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829020 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 12:21:43 +00:00
Uwe Schindler a5df94c249 LUCENE-1257: More Java5 updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829013 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 11:54:03 +00:00
Uwe Schindler 04d00642e4 LUCENE-1973: Remove Similarity deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829002 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 11:25:48 +00:00
Uwe Schindler a08a64ddaf Fix version constant, if the manifest version does not start with LUCENE_MAIN_VERSION
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828636 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 10:21:52 +00:00
Uwe Schindler abf2f86302 LUCENE-2004: Constants.LUCENE_MAIN_VERSION may not be inlined in code compiled against Lucene JAR
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828331 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 06:50:37 +00:00
Robert Muir d1fc6bece6 LUCENE-1359: FrenchAnalyzer tokenstream does not honor the contract of Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@828298 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 04:03:12 +00:00
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