Commit Graph

12899 Commits

Author SHA1 Message Date
Dawid Weiss 493bd8b42f LUCENE-3820: optimistic limit on running time for the randomized pattern test. This doesn't eliminate the possibility of hitting an exponential time pattern, but I re-run a few times and it seems to be pretty stbale.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294322 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 20:50:24 +00:00
Yonik Seeley 80ed367c4b logging improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294309 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 20:15:21 +00:00
Mark Robert Miller 742acdb15d don't replicate conf files in solrcloud mode - we don't have access to the raw fs conf dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294304 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 19:49:30 +00:00
Michael McCandless 29ab4d99d6 LUCENE-3829: improve test coverage of DocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294286 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 19:20:08 +00:00
Uwe Schindler dc0c24053e Use the same MultiReader trick for QueryUtils, too. Now FC insanity caused by randomly wrapping readers with MultiReaders and modified segment combinations below no longer cause insanity. We still can check for insanity in production, but tests that wrap randomly for testing purposed (and behave insane) don't fail anymore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294266 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 18:45:39 +00:00
Yonik Seeley d41c7651d4 fix nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294237 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 17:32:57 +00:00
Yonik Seeley ec52a87046 SOLR-3157: improve test logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294212 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:48:19 +00:00
Sami Siren 0f502b78c2 retry reading on connection loss
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294193 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:00:27 +00:00
Mark Robert Miller 2f1622a1f6 clear the right sys prop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294187 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:39:01 +00:00
Mark Robert Miller b51ee44c39 SOLR-3166: Allow bootstrapping multiple config sets from multi-core setups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294169 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 14:50:01 +00:00
Michael McCandless 4576bc162a LUCENE-3827: implement start/endOffset in DocsAndPositionsEnum returned from MemoryIndex, if offsets were indexed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294151 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 13:35:33 +00:00
Dawid Weiss 7be5533989 LUCENE-3820: Wrong trailing index calculation in PatternReplaceCharFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294141 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 13:13:10 +00:00
Steven Rowe 092e348d81 LUCENE-3825: Add proper SCM sections to all released/deployed POM templates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294037 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 06:02:06 +00:00
Steven Rowe 599d936744 re-ignore lucene/contrib/build/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294036 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 05:44:04 +00:00
Mark Robert Miller 4a9fc32b05 don't turn this on quite yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294035 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 05:29:35 +00:00
Mark Robert Miller e3e44afef7 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 03:36:26 +00:00
Mark Robert Miller 74037691e6 do not hold the cores lock while calling cancel on recovery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294004 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 02:52:49 +00:00
Mark Robert Miller 71674efc04 add ignore to test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293987 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 01:11:35 +00:00
Mark Robert Miller b24e035e9f remove some api ugliness around solrcloud - we don't actually need it anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293986 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 01:09:14 +00:00
Uwe Schindler 3ef57d09df LUCENE-3823: Add a field-filtering FilterAtomicReader to 4.0 so ParallelReaders can be better tested (in LTC.maybeWrapReader)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293965 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 23:38:00 +00:00
Yonik Seeley 52002c62aa tests: don't ignore all exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293939 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 21:33:24 +00:00
Yonik Seeley fced47d33f zkController: try to simplify all the addresses/urls, precompute some also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293934 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 21:02:46 +00:00
Yonik Seeley 85013ffd31 logging: fix detection of updates since startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293866 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:34:19 +00:00
Yonik Seeley 1c84da1064 SOLR-3080: do tlog recovery for all nodes, not just leaders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293863 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:25:32 +00:00
Uwe Schindler 9d11291c02 LUCENE-3822: whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293823 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 12:43:25 +00:00
Uwe Schindler 4b9f2d3714 LUCENE-3822: Add missing methods to FilterAtomicReader inner classes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293821 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 12:27:14 +00:00
Uwe Schindler 6cc374ce92 Make clover output dir consistent with Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293778 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:40:07 +00:00
Uwe Schindler 1f192290c5 Remove resource leak as we never close the MultiReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293728 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 00:02:19 +00:00
Tommaso Teofili 482c0610fd [LUCENE-3731] - refactored analyzeText method to initializeIterator and made it abstract inside BaseUIMATokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293614 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 14:14:00 +00:00
Mark Robert Miller 2e015271c5 allow splitting the data and conf locations for an embedded zk server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293525 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 02:54:54 +00:00
Yonik Seeley 20dd250457 SOLR-3080: key coreStates by core name, create coreStates up front for consistent sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293516 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 02:00:32 +00:00
Mark Robert Miller 3abf6717ab allow the zk server data dir to be overridden by sys prop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293460 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 22:38:56 +00:00
Mark Robert Miller 51ca380dd8 SOLR-3137: test+fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293415 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 21:02:51 +00:00
Erick Erickson b54664047d Little cleanup of style for SOLR-3116. Thanks Stefan!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293394 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 19:44:06 +00:00
Yonik Seeley 1c9f467680 SOLR-3080: separate sync for publishing coreStates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293391 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 19:35:18 +00:00
Mark Robert Miller b093fca69a take care of small bug around NRT and replication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293371 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 18:19:25 +00:00
Mark Robert Miller 51ae7ee512 add a retry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293346 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 17:16:34 +00:00
Mark Robert Miller 6d2ef6a1e4 this should be volatile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293345 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 17:16:16 +00:00
Mark Robert Miller 54681c0cfd fix jdom license files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293343 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 17:12:51 +00:00
Jan Høydahl 6b113cd170 SOLR-2901: Added jdom-1.0.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293309 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 16:00:14 +00:00
Robert Muir 27cd7e7211 LUCENE-3818: don't commitMergedDeletes for fully deleted segments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293289 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 15:22:18 +00:00
Erick Erickson 8aecefd623 Fix for SOLR-3160. Thanks Luca Cavanna!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293270 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 14:36:40 +00:00
Simon Willnauer f29eda768d LUCENE-3807: Clean up Suggest API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293148 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 09:49:39 +00:00
Sami Siren 61387fe283 SOLR-3080: I saw this fail few times, increase sleep time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293116 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 07:31:08 +00:00
David Wayne Smiley effbca10e2 SOLR-3040 The DIH's admin UI (dataimport.jsp) now requires DIH request handlers to start with a '/'.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293102 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 06:47:43 +00:00
Yonik Seeley b7fa7354fc logging: log versions of update commands, improve toString of solr docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293055 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 01:40:10 +00:00
Yonik Seeley d63340aa32 tests: use stderr to interleave with logging, print out what docs/versions are missing from what shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293050 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 01:07:32 +00:00
Erick Erickson b32b52578d Patch for SOLR-3155. Fixes JSON output format error and alphabetizes children of nodex.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293039 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 00:28:19 +00:00
David Wayne Smiley 20ab7aca52 LUCENE-3795 test-files reference for eclipse build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1292974 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 21:49:58 +00:00
David Wayne Smiley de101ca393 LUCENE-3795 move "base" module's tests back into itself from "strategies".
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1292972 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 21:41:30 +00:00