Commit Graph

8288 Commits

Author SHA1 Message Date
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
Michael McCandless 97e4781e36 LUCENE-2582: allow setting the default codec for newly written segments, in the alg file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981685 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 20:51:46 +00:00
Michael McCandless b76b8e58f3 LUCENE-2574: add missing seek
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981661 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 19:20:50 +00:00
Michael McCandless 7f4a23a0b7 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981659 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 18:51:20 +00:00
Robert Muir b905aba624 SOLR-2011: change all uses of java.io.tmpdir -> TEMP_DIR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981650 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 18:24:32 +00:00
Robert Muir cf46248d35 SOLR-2011: Solr tests now use a tempdir in build/ which is removed by 'ant clean', like lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981598 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 16:59:23 +00:00
Yonik Seeley 3885ed48ac SOLR-1469: fix TestReplicationHandler failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981594 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 16:48:18 +00:00
Robert Muir 756fc04196 SOLR-2016: use tighter stemming for textTight
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981550 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 15:17:20 +00:00
Koji Sekiguchi af4d6f1cd7 add @link in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981540 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 15:04:42 +00:00
Koji Sekiguchi 640672cb63 add @link in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981525 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 14:33:06 +00:00
Michael McCandless 83a36503b2 SOLR-2019: force Jetty to use insecure randomness source when running tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981265 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 16:38:27 +00:00
Yonik Seeley 99bcf03162 tests: remove retry loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981245 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 15:29:09 +00:00
Yonik Seeley 8bfc318bbf TestReplicationHandler - fix testReplicateAfterWrite2Slave by retrying commit also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@981068 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:42:07 +00:00
Michael McCandless 4b729f5617 LUCENE-2579: fix oal.search package.html description of abstract methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980917 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 18:44:05 +00:00
Michael McCandless 1904003fac LUCENE-2580: fix AIOOBE in MultiPhraseQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980911 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 18:27:40 +00:00