Commit Graph

4335 Commits

Author SHA1 Message Date
Uwe Schindler c0f3e62ed4 No need to use Arrays.deep* methods (there are no nested arrays, the array itsself is strongly typed to a non-array).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830453 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 07:27:32 +00:00
Uwe Schindler 1be4db5d9e One more Thread.holdsLock(writer) assert...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 00:16:48 +00:00
Uwe Schindler 4f4ffb9589 More Java 5 cleanup (Arrays.hashCode, Arrays.deepEquals, Arrays.deepHashCode)
Also added the commented out "assert !Thread.holdsLock(writer);" in CMS

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830408 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 00:07:22 +00:00
Uwe Schindler 00f4efde1f LUCENE-2011: Remove deprecated Scorer.explain(int) and replace by Weight.explain(IR,int) calls in tests and PhraseQuery/SpanQuery explanations methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830377 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 22:29:41 +00:00
Mark Robert Miller b14fd4bccc credit where credits due ;)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830000 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 22:21:07 +00:00
Uwe Schindler e4fdf4856e LUCENE-1929: Merge missing changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829999 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 22:17:51 +00:00
Uwe Schindler 54041dfbaa LUCENE-1929: Merge NumericRangeQuery tests for highlighter from 2.9 branch. The bug was already fixed by a different impl in trunk, but the test was missing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829995 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 22:06:40 +00:00
Uwe Schindler c61fa48daf LUCENE-1960: Add support for reading Field.Store.COMPRESS fields again and decompress on merge/optimize. Also convert to a new stored file version number.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829972 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 21:16:57 +00:00
Michael McCandless 6a1f2d5729 LUCENE-1973: un-deprecate IndexSearcher.setDefaultFieldSortScoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829882 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 18:04:22 +00:00
Michael McCandless 74f872182e fix some javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829817 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 14:55:51 +00:00
Michael McCandless c2bc750e48 LUCENE-2002: move changes entry back to 'API changes'
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829814 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 14:37:25 +00:00
Michael McCandless 2e4dc5b003 LUCENE-2002: move CHANGES entry under 'Changes in back compat policy' section, since it deprecates APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829774 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 12:44:02 +00:00
Michael McCandless ea2883c40a LUCENE-2008: javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829568 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 13:08:50 +00:00
Uwe Schindler fbe28af914 add changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829531 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:56:09 +00:00
Uwe Schindler 1ccd81ce81 Some more cleanups and removal of deprecated SegmentReader GCJ settings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829530 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:51:53 +00:00
Uwe Schindler 8086aad514 LUCENE-1257: Add generics to highlighter and more for benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829524 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:12:58 +00:00
Uwe Schindler 519095db6e Remove generics for Comparable in FieldDoc again, because we have no type and <?> makes more problems than it helps
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829319 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 08:05:22 +00:00
Uwe Schindler ce4dd93a94 This changes entry was somehow at the wrong position, I think the merge broke it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829276 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 23:14:41 +00:00
Uwe Schindler 6f6afbe1bc LUCENE-2006: Optimization for FieldDocSortedHitQueue
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829274 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 23:09:49 +00:00
Uwe Schindler 7902c4b729 Remove the remaining deprecated ctors from TokenStream API test base class (BaseTokenStreamTestCase). They were used to test old and new TokenStream API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829244 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 21:21:17 +00:00
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