Commit Graph

4512 Commits

Author SHA1 Message Date
Uwe Schindler 9f7a187392 LUCENE-2313: Add VERBOSE flag to LuceneTestCase(J4)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922525 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 11:05:13 +00:00
Robert Muir 24d4565049 LUCENE-2015: add a static foldToASCII method to ASCIIFoldingFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922277 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 14:34:28 +00:00
Michael McCandless f44f23026f add missing details about file format changes by version
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922013 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 20:35:57 +00:00
Michael McCandless b51587f72d LUCENE-2294: revert while discussions are going on about default analyzer...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@921532 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 19:45:31 +00:00
Michael McCandless 099ba4e9ea LUCENE-2294: cutover to IndexWriterConfig object for settings to IW (add missing files)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@921485 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 17:55:53 +00:00
Michael McCandless 7641c23cef LUCENE-2294: cutover to IndexWriterConfig object for settings to IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@921480 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 17:53:46 +00:00
Robert Muir 8c0dcbb8c3 LUCENE-124: Add a topterms rewrite method that scores terms only by boost value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@920499 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:37:55 +00:00
Michael McCandless d9ff09b759 LUCENE-2300: add CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@920273 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 11:14:40 +00:00
Michael McCandless d3478d38fa LUCENE-2300: don't pool readers on external directories when IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@920270 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 11:08:26 +00:00
Uwe Schindler d7b77b3cee LUCENE-2303: Remove code duplication in Token class by subclassing TermAttributeImpl, move DEFAULT_TYPE constant to TypeInterface, improve null-handling for TypeAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@920237 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 09:00:28 +00:00
Robert Muir 050c090640 LUCENE-2277: QueryNodeImpl throws ConcurrentModificationException on add(List)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@919869 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 22:41:27 +00:00
Uwe Schindler 3763e7a9be Add tests for open ranges and infinite values to NRQ
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@919731 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 10:07:29 +00:00
Uwe Schindler 6efaaaac3b Fix javadocs of NRQ/NRF
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@919718 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 08:58:41 +00:00
Michael McCandless da0de2c349 add missing space in DirectoryReader.toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@919119 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 18:40:37 +00:00
Michael McCandless 67ed6e1811 LUCENE-2283: use shared byte[] pool to buffer pending stored fields & term vectors during indexing; fixes excessive memory usage for mixed tiny & big docs with many threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@919060 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 16:46:18 +00:00
Michael McCandless 1793470004 LUCENE-2289: check infoStream != null before calling message
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@917204 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 17:00:14 +00:00
Michael McCandless e4702cafd7 LUCENE-2290: remove unnecessary string concat
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@917203 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 16:59:20 +00:00
Robert Muir 0a1472386a LUCENE-2288: remove more unnecessary snowball object creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@917161 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 10:41:28 +00:00
Uwe Schindler d333d94922 Improve performance of attribute cloning and clearing by removing synthetic access$nnn()-methods needed for access to private inner class field. Made the State members package private.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@917154 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 10:08:30 +00:00
Robert Muir f447adb549 LUCENE-2286: enable DefaultSimilarity.setDiscountOverlaps by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@917148 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 09:18:18 +00:00
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