Commit Graph

4425 Commits

Author SHA1 Message Date
Uwe Schindler a802888a2b add missing overrides
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890988 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 21:01:50 +00:00
Michael McCandless d4a70b1165 LUCENE-1609: restoring getTermInfosIndexDivisor (it's not deprecated in 2.9, but was removed by accident)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890967 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 20:14:45 +00:00
Uwe Schindler dad7e60253 LUCENE-2157: DelimitedPayloadTokenFilter no longer copies the buffer over itsself, instead it sets the length to the offset of the delimiter. Also optimizes logic and IdentityEncoder to use NIO.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890791 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 13:27:27 +00:00
Michael McCandless 86039cdb36 LUCENE-2135: don't flush field cache if we hit exception during init (it leads to NPE)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890439 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 18:59:21 +00:00
Robert Muir c67b43ef34 LUCENE-2155: add assertion to check if something changes default locale behind our back when using LocalizedTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890427 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 18:26:26 +00:00
Robert Muir 2f7b7453b3 LUCENE-2155: clear/initialize calendar fields in localized date tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890407 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 17:31:59 +00:00
Michael McCandless dcc66dfe2b LUCENE-2118: add verbosity to this test so when it fails again we see more detail
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890064 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 15:13:37 +00:00
Michael McCandless e98e9dd23c fix false positive test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889911 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 10:06:29 +00:00
Michael McCandless 53ce286a25 LUCENE-2135: forcefully evict IndexReader from FieldCache when it's closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889866 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 00:08:18 +00:00
Karl-Johan Wettin 2c675012fe LUCENE-2144
No testing of features outside of the documented API


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889667 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 15:47:28 +00:00
Uwe Schindler 294b3d04f2 LUCENE-2123: Remove the deprec ScoreTerm in FuzzyQuery, javadocs, better test for the PQ overflow
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889622 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 13:55:14 +00:00
Uwe Schindler eacade7710 fix unchecked warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889614 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 13:33:49 +00:00
Michael McCandless 6ebcc95ea0 LUCENE-2142: don't check if term count exceeds doc count in getStringIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889579 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 11:38:17 +00:00
Karl-Johan Wettin f975b84b16 LUCENE-2144
Warning about descripancy during invalid use of the TermDocs API.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889463 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 23:26:37 +00:00
Michael McCandless 3501d927de LUCENE-2144: add javadoc warning to AbstractAllTermDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889440 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 22:03:30 +00:00
Michael McCandless 00eadcb986 LUCENE-2144: fix InstantiatedIndex to handle termDocs(null)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889432 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 21:38:39 +00:00
Michael McCandless 121dbb58ba LUCENE-2144: fix InstantiatedIndex to handle termDocs(null)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889431 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 21:38:07 +00:00
Michael McCandless 74bb5791f9 small javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889430 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 21:37:11 +00:00
Uwe Schindler 41e48be570 LUCENE-2123: Move FuzzyQuery rewrite as separate RewriteMode into MTQ. This also fixes a slowdown / memory issue added by LUCENE-504 -- *WARNING* Do not merge this patch to flex, it's already there in a different variant!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889185 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:04:53 +00:00
Robert Muir 6e6d9ed530 LUCENE-2124: update site docs to reflect contrib rename
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888803 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 13:58:55 +00:00
Simon Willnauer 6c0c318218 LUCENE-2100: Marked all contrib Analyzer subclasses as final. Analyzers should be only act as a composition of TokenStreams, users should compose their own analyzers instead of subclassing existing ones.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888799 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 13:32:32 +00:00
Simon Willnauer 43c475d296 LUCENE-2117: SnowballAnalyzer uses TurkishLowerCaseFilter instead of LowercaseFilter to correctly handle the unique Turkish casing behavior if used with Version > 3.0 and the TurkishStemmer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888787 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 12:47:37 +00:00
Robert Muir cc619905c4 LUCENE-2124: mv package.html docs to overview, like we did for queryparser, to avoid javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888784 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 12:22:08 +00:00
Robert Muir 550a4ef1af LUCENE-2124: move jdk collation to core, icu collation to icu contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888780 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 12:08:06 +00:00
Michael McCandless 3df3ab8e9f LUCENE-2137: switch to AtomicInteger for some ref counts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888621 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 23:05:29 +00:00
Uwe Schindler 4e88c6cb93 LUCENE-2128: Further parallelization of ParallelMultiSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888595 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 22:14:32 +00:00
Uwe Schindler 6702e09b98 LUCENE-2136: This can be reverted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888437 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 15:19:21 +00:00
Michael McCandless 9565d7d071 LUCENE-2136: optimization: if Multi/DirectoryReader only has a single reader, delegate enums to it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888398 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 13:47:20 +00:00
Michael McCandless 92d1c5ba21 LUCENE-2134: give 512M to JVM generating our javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888314 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 10:37:30 +00:00
Michael McCandless c24c2f5c6e fix typo in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888308 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 10:19:08 +00:00
Robert Muir 91bf5bec92 LUCENE-2132: Fix the demo result.jsp
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888247 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 04:03:40 +00:00
Michael McCandless 4d12bb2e52 LUCENE-1844: speed up back-compat unit tests too
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888052 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 17:55:06 +00:00
Uwe Schindler 1948e735e9 LUCENE-2103: NoLockFactory should have a private constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887995 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 16:49:21 +00:00
Mark Robert Miller 0834cd4e4e LUCENE-2106: ReadTask does not close its Reader when OpenReader/CloseReader are not used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887899 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 12:17:54 +00:00
Michael McCandless d2bf223b21 LUCENE-2119: add some more comments in PQ around the +1
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887872 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 09:57:38 +00:00
Michael McCandless 470c89a2b2 LUCENE-2119: use numDocs() not maxDoc() as max nDocs we pass to PQ
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887803 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 23:56:31 +00:00
Michael McCandless ae72952fa4 LUCENE-2119: behave better if you pass Integer.MAX_VALUE as nDcos to search methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887670 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 11:41:26 +00:00
Uwe Schindler f011f59fe2 Use better format for md5sum/sha1 sum on package build (binary files should have * before file name). The format attribute does that automatically.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887617 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 00:28:04 +00:00
Robert Muir a92e6e8240 fix enwiki (and a few others) task, DocMaker was removed in 3.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887602 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 22:37:36 +00:00
Michael McCandless f159d7006d LUCENE-2037: switch to junit 4.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887569 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 18:27:27 +00:00
Simon Willnauer 9ee4ce0fd5 LUCENE-2102: Add Turkish LowerCaseFilter which handles Turkish and Azeri unique casing behavior correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887535 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 12:46:05 +00:00
Simon Willnauer 5556599fad LUCENE-2039: Added extensible query parser which enables arbitrary parser extensions based on field naming scheme
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887533 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 12:29:59 +00:00
Simon Willnauer ab447b6af0 LUCENE-2108: Enable safe concurrent spell-index modifications in Spellchecker
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887532 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 12:17:17 +00:00
Michael McCandless fa65d42e94 LUCENE-2115: cutover contrib tests to use generics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887524 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 09:43:54 +00:00
Michael McCandless fa7b8f0c10 LUCENE-2114: TestFilteredSearch tests on multi-segment index; fix Filter javadocs to call out that reader is per-segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887347 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 20:31:44 +00:00
Simon Willnauer 1f314fb9fa LUCENE-2107: Added a pom.xml.template to contrib/fast-vector-highlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887339 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 20:16:09 +00:00
Michael McCandless d1d9781458 LUCENE-2065: use generics throughout unit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887181 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 13:07:47 +00:00
Simon Willnauer a0bf23d762 fixed javadoc warnings due to missing closing braces
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887122 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:10:21 +00:00
Michael McCandless fbfd147b23 LUCENE-2108: add SpellChecker.close()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@886911 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 20:35:19 +00:00
Michael McCandless 43e6963b45 LUCENE-1483: remove now unused SorterTemplate utility class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@886855 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 17:23:59 +00:00