Commit Graph

848 Commits

Author SHA1 Message Date
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
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
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 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 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 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
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 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 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 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
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
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
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
Michael Busch 21ea806aa0 LUCENE-1979: Remove remaining deprecations from index package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825022 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 06:38:57 +00:00
Andrzej Bialecki 7d0d4ecc44 LUCENE-1959 Add MultiPassIndexSplitter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824798 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 14:54:30 +00:00
Uwe Schindler c5af8f8fee LUCENE-1978: Remove the rest of deprecated HitCollectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824781 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 14:28:01 +00:00
Uwe Schindler e8cf50a651 LUCENE-1977: Remove deprecated Term field and accessors in MultiTermQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824771 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 14:07:16 +00:00
Uwe Schindler 594c9a35f7 LUCENE-1972: Remove deprecated ExtendedFieldCache, custom and auto caches, SortField.AUTO, deprecated custom sort, deprecated sorting HitCollectors, deprecated TopDocs HitCollectors, legacy search
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824697 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 11:18:25 +00:00
Uwe Schindler ef1af60efe LUCENE-1971: Remove RangeQuery & Co.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824175 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 21:29:07 +00:00
Uwe Schindler 4cded8042c LUCENE-1946, LUCENE-1753: Remove deprecated TokenStream API. What a pity, my wonderful backwards layer is gone! :-( Enforce decorator pattern by making the rest of TokenStreams final.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824116 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:35:09 +00:00
Uwe Schindler b183d17bca fix usage of deprecated method in BooleanFilterTest, as OpenBitSet's next() was already removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824088 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 15:28:03 +00:00
Michael Busch 3619c380d6 LUCENE-1968: Remove deprecated PriorityQueue methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824013 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 03:54:25 +00:00
Robert Muir 877c9ff521 For fa analyzer, add a test for custom stopwords
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823546 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 13:27:14 +00:00
Robert Muir 956c8cda82 LUCENE-1963: Lowercase before stopfilter in ArabicAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823534 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 12:55:47 +00:00
Karl-Johan Wettin 1d62f1a3f0 LUCENE-1947: Snowball package contains BSD licensed code with ASL header.
Also updated use of StringBuffer to StringBuilder, and added a bit of documentation about this.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823445 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 07:57:58 +00:00
Michael McCandless f20e419aff LUCENE-1950: remove autoCommit=true from IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823321 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:57:32 +00:00
Simon Willnauer b5b0ebb96c fixed spelling
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823296 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 19:49:19 +00:00
Simon Willnauer 8b7d25769b LUCENE-1965, LUCENE-1962: Added possible performance improvments for Persian-, Arabic- and SmartChineseAnalyzer to changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823294 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 19:48:28 +00:00
Simon Willnauer 05b7822170 LUCENE-1965: Lazy Atomic Loading Stopwords in SmartCN
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823285 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 19:21:36 +00:00
Michael Busch 84b2c6ecaa LUCENE-1961: Remove remaining deprecations from document package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823252 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 18:02:06 +00:00
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 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 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
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 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 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
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