Commit Graph

4442 Commits

Author SHA1 Message Date
Uwe Schindler aff4f4a464 reduce memory usage by switching off multi html generation threads. This is recommended by Atlassian
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892232 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 12:00:50 +00:00
Uwe Schindler 94c23a040d exclude non-apache files from clover
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892225 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 11:36:50 +00:00
Michael McCandless a1e956a41d LUCENE-1923: add toString to core IndexReaders
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892224 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 11:29:57 +00:00
Uwe Schindler c9ddd1b9fd LUCENE-2170: Fix thread starvation problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892216 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:42:29 +00:00
Uwe Schindler bba8314ea8 LUCENE-1769: disable clover reports on assert statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891918 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 21:26:32 +00:00
Uwe Schindler 375845feb5 LUCENE-1769: Add also the opposite assert statement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891907 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 21:09:46 +00:00
Uwe Schindler 1658315c35 LUCENE-1769: Improve clover analysis and separate core / bw tests. Also verify that assertions are enabled.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891897 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 21:00:00 +00:00
Michael McCandless 0de0bc8ce2 LUCENE-2168: allow negative relative priority for BG tasks
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891634 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 11:12:54 +00:00
Michael McCandless 1b2c9c6c6b add verbosity to intermittently failing test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891628 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 11:04:13 +00:00
Uwe Schindler f18f490a93 LUCENE-1769: Upgrade clover to 2.x (requirement is 2.6.x now, because older versions have bugs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891402 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 19:44:57 +00:00
Michael McCandless 0b000470a7 LUCENE-2161: improve concurrency of IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891377 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 18:51:44 +00:00
Michael McCandless 31585bf7c6 LUCENE-2158: don't lose deletions during NRT reopen at high indexing rates
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891363 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 18:23:24 +00:00
Robert Muir f616a47036 LUCENE-2165: SnowballAnalyzer was missing Set-based ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891209 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 12:13:36 +00:00
Uwe Schindler 383fc2d635 LUCENE-2104: Fix NativeFSLock.release() to throw exception if lock is held by another thread/process.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891205 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 12:01:45 +00:00
Michael McCandless dc3f92e6e5 LUCENE-2156: switch to AtomicInteger for IR's ref count; remove sync from IW's ensureOpen (it's only 'best effort')
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891202 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 11:47:01 +00:00
Michael McCandless c84752afb9 LUCENE-2166: don't keep warning about the same immense term
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891189 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 11:15:36 +00:00
Mark Robert Miller 56b036e4e5 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891097 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 01:31:43 +00:00
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