Commit Graph

4492 Commits

Author SHA1 Message Date
Uwe Schindler efb74380fd LUCENE-2285: Code cleanups to remove compiler warnings in eclipse.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@917019 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 19:14:01 +00:00
Michael McCandless e358c3f2dd add some infoStream verbosity on details of the returned NRT reader for future debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@916769 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 17:46:25 +00:00
Michael McCandless 21044e1c8f LUCENE-2282: allow public but internal access to oal.index.IndexFileNames API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@916755 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 16:52:39 +00:00
Uwe Schindler 04558dada3 LUCENE-2037: Add support for LuceneTestCase.getName() for backwards compatibility when reporting failed tests. Also removed The InterceptTestCaseEvents class and added as anonymous class (simplified, no reflection)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@916685 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 14:02:08 +00:00
Uwe Schindler 172d8523c0 LUCENE-2037: Remove TestWatchMan from LucenbeTestCaseJ4 extends clause
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@916596 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 07:33:52 +00:00
Robert Muir 2bac855dfc LUCENE-2284: fix MatchAllDocsQueryNode toString() to close its XML tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@916543 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 02:41:06 +00:00
Koji Sekiguchi c831eb9c14 LUCENE-2278: FastVectorHighlighter: highlighted term is out of alignment in multi-valued NOT_ANALYZED field
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@916090 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 02:24:31 +00:00
Michael McCandless 4eef6adaaf LUCENE-2281: add doBeforeFlush; make both do{Before,After}Flush protected
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@915399 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:56:37 +00:00
Michael McCandless 5a320d2c4b LUCENE-2275: don't get TermDocs/IndexSearcher when applying deletes unless we actually have terms & queries to delete
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912672 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 17:28:26 +00:00
Uwe Schindler a79929bc24 LUCENE-2190: Add testcase for rewrite. Also add missing annotation for other test added by Mike. CustomScore uses JUnit4, so @Test is needed. We should somehow customize LuceneTestCaseJ4 to emulate old behaviour, else we get lots of tests without annotation never ran.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912508 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 08:27:05 +00:00
Uwe Schindler ee36dda5e7 update release date
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912429 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 22:47:14 +00:00
Uwe Schindler 7b9c0f7969 LUCENE-2271: Fix javadocs of TopScoreDocCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912407 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 21:25:21 +00:00
Uwe Schindler 75c4305fb3 new backwards rev
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912396 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 20:28:51 +00:00
Uwe Schindler 30b45bf592 LUCENE-2190: Added a new class CustomScoreProvider to function package that can be subclassed to provide custom scoring to CustomScoreQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912386 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 18:27:05 +00:00
Uwe Schindler 8b165b40b5 new bw rev
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912376 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 17:22:12 +00:00
Uwe Schindler 9c8b13a567 LUCENE-2274: Add support for uncaught exceptions in threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912372 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 17:16:19 +00:00
Robert Muir dd3960595f LUCENE-2254: fix javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912342 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 12:51:41 +00:00
Uwe Schindler 406eb802ab new backwards rev
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912337 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 12:01:02 +00:00
Robert Muir 2f1e68a298 don't hardcode the static default, restore in a try/finally instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912335 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 11:52:22 +00:00
Robert Muir cc19884a86 LUCENE-2269: don't download/extract 20,000 files for the quality test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912333 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 11:40:36 +00:00
Uwe Schindler 2fcaf1a8d7 Convert NumericRangeQuery tests to JUnit4 to make use of @BeforeClass and @AfterClass to enable cleanup of the static RamDir index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912332 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 11:31:52 +00:00
Uwe Schindler f0c1d1c313 LUCENE-2273: add additional null check
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912331 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 11:20:33 +00:00
Uwe Schindler fbe34a8500 LUCENE-2273: Fixed bug in FieldCacheImpl.getCacheEntries() that used WeakHashMap incorrectly and lead to ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912330 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 11:16:42 +00:00
Robert Muir 0f99c02ee5 LUCENE-1844: speed up TestNorms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912328 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 10:40:57 +00:00
Uwe Schindler 5e3019a53b also change LuceneTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912324 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 09:47:29 +00:00
Uwe Schindler de634b3526 Save/Restore BQ.maxCluseCount in LuceneTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912319 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 08:47:33 +00:00
Robert Muir fb789b04f4 don't fork for every junit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912313 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 07:45:04 +00:00
Robert Muir 7b06e1c5db LUCENE-2261: make TopTermsScoringBooleanRewrite's PQ size configurable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912311 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 07:27:46 +00:00
Robert Muir 349ca0943e LUCENE-2254: add support to quality pkg for any combination of (title,description,narrative)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912308 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 07:00:08 +00:00
Uwe Schindler 3abdb99087 add checksum message also in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912123 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 14:40:38 +00:00
Uwe Schindler 0f42e34dcd LUCENE-2267: Add support for gpg signing to build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@912115 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 14:04:01 +00:00
Uwe Schindler 8012813045 LUCENE-2270: Fix issue number
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@911724 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 07:33:38 +00:00
Yonik Seeley c05170cecc move LUCENE-2270 description down to branch section
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@911568 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 20:49:29 +00:00
Yonik Seeley 44a38e9837 LUCENE-2270: fix query normalization when boosts of all clauses==0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@911554 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 20:25:48 +00:00
Uwe Schindler 5abaff61fa LUCENE-2266: Fixed offset calculations in NGramTokenFilter and EdgeNGramTokenFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@910078 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 21:33:12 +00:00
Uwe Schindler 23aacd101f LUCENE-1941: Fix Min/MaxPayloadFunction returns 0 when only one payload is present
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@910034 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 16:44:46 +00:00
Mark Robert Miller 08ecae8c87 building a PayloadNearQuery with a PayloadTermQuery that takes its own function thats not used is kind of odd and confusing - switch to SpanTermQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909834 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 15:03:45 +00:00
Uwe Schindler edbff4fb67 Cleanup changes in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909828 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 14:14:55 +00:00
Uwe Schindler ed6594e4b1 More additions about 3.0.1-only fixes, fix Header line to be compliant with changes-perl script
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909800 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 12:10:46 +00:00
Uwe Schindler f43e47236f Bring changes in line for release of 2.9.2 and 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909796 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 11:32:20 +00:00
Robert Muir f2d37b2929 LUCENE-2080: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909398 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:31:24 +00:00
Michael McCandless 0dcbffdfe1 LUCENE-2259: fix new method (it's deleteUnusedFiles)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909378 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 12:13:18 +00:00
Uwe Schindler 11f6b9185e LUCENE-2260: Fix AttributeSource to not hold a strong reference to the Attribute/AttributeImpl classes which prevents unloading of custom attributes loaded by other classloaders. The same fix applies to VirtualMethod (3.1 only).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909360 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 11:20:35 +00:00
Michael McCandless 7efc00511e LUCENE-2209: add expert IndexWriter.removeUnusedFiles to force IW to retry deletion of files no longer used (only useful on windows)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909357 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 11:07:31 +00:00
Michael McCandless 5995714461 LUCENE-2257: improve max per-segment term count limit from ~2.1B to ~274B
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@909352 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 10:56:21 +00:00
Robert Muir c0a1615db1 LUCENE-2080: deprecate LUCENE_CURRENT
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@908975 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 13:58:22 +00:00
Uwe Schindler 8dbd6e2870 LUCENE-2248: Change core tests to use a global Version constant
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@908496 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 13:35:57 +00:00
Uwe Schindler 91ffd60a16 LUCENE-2258: Remove unneeded synchronization in FuzzyTermEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@908477 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 12:59:00 +00:00
Michael McCandless 0a07c2a1fd add assert to catch mismatched delete count on write; add detail to exception messages on corruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@907781 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 20:31:25 +00:00
Michael McCandless b4ac5029e0 remove some dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@907425 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 14:39:48 +00:00