Commit Graph

8402 Commits

Author SHA1 Message Date
Michael McCandless a43f67ddab LUCENE-2597: add SlowMultiReaderWrapper to make a composite reader act like an atomic one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984715 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 10:31:37 +00:00
Koji Sekiguchi f8ab6b4b17 fix typo - curly bracket is not closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984638 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 03:16:15 +00:00
Yonik Seeley 80659afa98 SOLR-2036: don't automatically use ram estimator from stats page
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984589 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 21:33:28 +00:00
Yonik Seeley 92f4310c11 doc: typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984582 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 21:13:21 +00:00
Michael McCandless 75e34cdba9 LUCENE-2576: simplify IndexWriter's private startCommit method now that it's single thread'd (may fix this intermittent test failure); also add one missing checkpoint() in addIndexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984510 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 18:19:13 +00:00
Michael McCandless 1ab1788e98 replace TODO w/ justifying comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984236 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 22:16:33 +00:00
Robert Muir d2165cf08e LUCENE-2595: switch tests to use MockRAMDirectory instead of RAMDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984232 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 22:03:54 +00:00
Yonik Seeley ca4c8f3ae9 SOLR-1900: optimize FileFloatSource for flex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984219 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 21:36:19 +00:00
Robert Muir 006bd17be2 LUCENE-2594: cutover oal.index.* tests to use a random IWC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984202 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 20:32:47 +00:00
Michael McCandless 91b5291d5a LUCENE-2593: fix certain rare cases where disk full could cause index corruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984187 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 19:45:48 +00:00
Erik Hatcher 5c000e9997 Upgrade Velocity to 1.6.4, and Velocity Tools to final 2.0 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983985 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 13:16:33 +00:00
Uwe Schindler 73f5d525a9 revert shai's commit, it break hudson build and is unneeded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983907 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 09:58:30 +00:00
Robert Muir b626671408 extend LuceneTestCase instead of Object here too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983778 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 19:06:34 +00:00
Grant Ingersoll 0fac11b3ae properly reflect the Tika version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983682 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 15:33:45 +00:00
Robert Muir 40a3eb4fd3 SOLR-2002: add support for -Dtestmethod=xxx when running tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983632 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 13:17:39 +00:00
Robert Muir 9d71710beb extend LuceneTestCase here instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983622 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 12:59:20 +00:00
Michael McCandless c62c9cf374 LUCENE-2589: allow ant command line property tests.codec to include param fr the codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983576 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 10:31:07 +00:00
Robert Muir 61954ca249 SOLR-2002: change tests from TestCase to LuceneTestCase for better coverage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983530 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 06:11:16 +00:00
Robert Muir 21263ece52 LUCENE-2591: TestNLS fails with ja locale
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983500 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 02:01:10 +00:00
Robert Muir 796fd9a5a3 SOLR-2002: run tests under different timezones and locales
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983495 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 01:25:43 +00:00
Michael McCandless 63f30c694d LUCENE-2589: add support for variable sized int block codecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983417 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 14:25:45 +00:00
Michael McCandless ee9cd510cc print more details on test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983328 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 00:19:34 +00:00
Michael McCandless 2985250ece LUCENE-2118: trigger new merges when we flush due to merging currently open doc stores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983313 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 21:48:04 +00:00
Robert Muir a6478136df LUCENE-1183: add back fuzzy improvements that were inadvertently lost in flex merge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983298 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 19:47:15 +00:00
Koji Sekiguchi b4c599c77a SOLR-2030: fix test code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983243 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 15:18:53 +00:00
Koji Sekiguchi 7b3d0d6b30 SOLR-2030: forgot to update test for FVH
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983216 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 11:51:17 +00:00
Koji Sekiguchi 6fbdff181a SOLR-2030: FVH uses SolrEncoder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983212 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 11:34:39 +00:00
Michael McCandless c2ad126364 LUCENE-2588: make sure minPrefix never exceeds current term's length
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983151 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 00:35:41 +00:00
Uwe Schindler 98c139d717 After adding RANDOM_MULTIPLIER, the statistics in verbose mode were wrong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983100 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 19:25:58 +00:00
Michael McCandless a0232fe6b7 LUCENE-2588: trim unnecessary suffixes from terms in the terms dict index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983081 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 18:13:17 +00:00
Simon Willnauer 935ec57dba updated JavaDoc: former methods next() and skipTo() where still referenced in JavaDoc instead of nextDoc() and advance()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983036 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 15:58:48 +00:00
Robert Muir 11fa1cb7c4 add back testing the empty string as term here (fangs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982880 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 06:10:48 +00:00
Koji Sekiguchi 9f645f1c77 LUCENE-2581: FastVectorHighlighter: Make FragmentsBuilder use Encoder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982824 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 23:22:26 +00:00
Robert Muir ebc4f0d35b vary IWC.maxThreadStates randomly in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982725 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 18:32:15 +00:00
Robert Muir 0e9270da4c remove empty directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982724 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 18:28:22 +00:00
Grant Ingersoll 677e0aa2d5 cleanup unused build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982692 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 16:56:45 +00:00
Yonik Seeley 6da5460911 SOLR-2028: fix AutoCommitTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982442 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 00:24:28 +00:00
Michael McCandless b8dc30b7e3 don't call Thread.interrupt after telling sub-thread to finish; it can cause false failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982323 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 16:36:35 +00:00
Michael McCandless 25e406fdf6 remove extra print
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982289 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 15:08:12 +00:00
Michael McCandless f36a069d11 LUCENE-2586: move the mock intblock/sep codecs out of core, into test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982287 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 15:04:26 +00:00
Michael McCandless 94040be77e LUCENE-2578: cutover function query tests to RandomIndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982201 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 10:40:42 +00:00
Shai Erera aa28d25b54 LUCENE-2547: merging from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982199 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 10:30:30 +00:00
Michael McCandless 2de913af11 remove commented out nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982084 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 23:26:58 +00:00
Michael McCandless 9c5498e0e7 LUCENE-2574: maybe 3rd time's a charm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982073 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 23:22:09 +00:00
Yonik Seeley 4d03fda0f9 SOLR-2021: add missing files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981983 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 17:38:51 +00:00
Koji Sekiguchi ac95528aab SOLR-2021: Add SolrEncoder plugin to Highlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981936 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 15:45:07 +00:00
Michael McCandless 0c0fb8bb5a LUCENE-2574: disable this opto for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981857 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 13:03:57 +00:00
Michael McCandless 022d7d2fe4 remove dead code, take 2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981696 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 22:10:41 +00:00
Yonik Seeley daeafbacf2 SOLR-1469: fix TestReplicationHandler failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981690 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 21:33:19 +00:00
Michael McCandless 07bd9c34f3 revert 981659: apparently the code was not quite dead yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981687 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 20:58:51 +00:00