Commit Graph

7641 Commits

Author SHA1 Message Date
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
Mark Robert Miller ebc4ce0b14 SOLR-1674: speed up analysis tests (thanks Robert Muir!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@921427 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:19:37 +00:00
Grant Ingersoll ca50eef4ca SOLR-1318: Added ICU4J to extraction and test for Arabic
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@921425 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:18:09 +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
Yonik Seeley 4f5166fdae SOLR-1798: fix FastLRUCache stats memory leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@919871 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 22:49:24 +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
Mark Robert Miller ab9a5ca386 SOLR-1722: small bug - defaultCoreName is looked for at /solr, but should be /solr/cores - also, defaultCoreName should really not default to DEFAULT_DEFAULT_CORENAME
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@919444 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 15:18:00 +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
Chris M. Hostetter 6c10ee2c03 SOLR-1750: SystemInfoRequestHandler added for simpler programmatic access to info currently available from registry.jsp and stats.jsp
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@917812 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 00:01:30 +00:00
Koji Sekiguchi 6efeb6196f SOLR-1297: fix for more deep function
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@917547 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 14:27:45 +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
Yonik Seeley 4aa3cad3ee docs: lucene 2.9.2 rc2 became official
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@916954 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 14:47:33 +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
Chris M. Hostetter bbd02d1cf1 SOLR-1776: DismaxQParser and ExtendedDismaxQParser now use the schema.xml defaultSearchField as the default value for the qf param
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@915646 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 03:00:45 +00:00
Chris M. Hostetter d16fe2ecca fix testOldStyleDefaults so that it actually tests the old style defaults -- i broke it with a typo way back in r441175
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@915641 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 02:12:55 +00:00
Chris M. Hostetter 83fc525d60 SOLR-1792: Documented peculiar behavior of TestHarness.LocalRequestFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@915637 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 02:09:21 +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
Erik Hatcher 6619abe237 SOLR -> Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@915035 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 19:45:51 +00:00
Yonik Seeley d951d9ddc9 upgrade to lucene 2.9.2 rc2
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@915024 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 19:20:58 +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