Commit Graph

4356 Commits

Author SHA1 Message Date
Simon Willnauer bcc1117fbf fixed trivial spelling issues in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@894224 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 18:52:19 +00:00
Robert Muir 2685859da2 add missing @override annotations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@894202 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 16:46:09 +00:00
Simon Willnauer 7c3ed5867e LUCENE-2162: Allow ExtendableQueryParser extensions accessing the toplevel parser and its properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@894180 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 14:27:14 +00:00
Robert Muir a0d5801661 fix javadocs warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@894112 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 21:46:21 +00:00
Michael McCandless 270550cb8b LUCENE-2180: change to FSDir.getDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893957 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 10:43:35 +00:00
Uwe Schindler 2185962add LUCENE-2169, LUCENE-2179: Improvements to CharArraySet.copy() and clear() is now working
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893655 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 23:24:37 +00:00
Michael McCandless 0df3c5e074 LUCENE-2178: allow multiple locations on -Dbenchmark.ext.classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893233 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 17:07:00 +00:00
Michael McCandless 48b275af80 LUCENE-2177: don't accept Store for binary fields -- it must always be YES
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893177 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 14:25:02 +00:00
Uwe Schindler e1680c8cea add correct credits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893102 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 07:37:16 +00:00
Uwe Schindler e6253de226 LUCENE-1972: Restore SortField.getComparatorSource (it was accidentally removed in 3.0.0).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893093 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 07:15:03 +00:00
Michael McCandless 7d35aafe71 LUCENE-2164: make CMS smarter about prioritizing its threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892992 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:38:24 +00:00
Robert Muir 6e6acefb05 LUCENE-2124: fix javadocs from the move, thanks Steven
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892743 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 09:50:58 +00:00
Michael McCandless 9892d10205 LUCENE-1923: further improvements to IndexReader.toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892457 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 10:45:00 +00:00
Robert Muir 16eaa6198f LUCENE-1786: improve performance of TestCompoundWordTokenFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892355 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 19:25:24 +00:00
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