Commit Graph

910 Commits

Author SHA1 Message Date
Mark Robert Miller b7cbef534c tweak test methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363335 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:52:02 +00:00
Mark Robert Miller ef16608cb1 catch throwable for tests (assert fails) - not just exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363333 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:50:32 +00:00
Chris M. Hostetter b20252f777 SOLR-3629: Typo in solr.xml persistence when overriding the solrconfig.xml file name using the "config" attribute prevented the override file from being used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363161 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 22:41:58 +00:00
Robert Muir 5a2d0bc654 LUCENE-2686, LUCENE-3505: Fix various bugs in BooleanQuery, clean up scorer navigation API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 21:04:18 +00:00
Yonik Seeley 875d54e5b2 tests: add core reload stress test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363084 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:05:56 +00:00
Yonik Seeley 66898c2659 tests: add core reload stress test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363082 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:05:11 +00:00
Mark Robert Miller 83e07fec09 SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors after the distrib update process do not process the document twice.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:52:42 +00:00
Mark Robert Miller 6c08d7f2a4 SOLR-1781: Replication index directories not always cleaned up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362994 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:06:22 +00:00
Mark Robert Miller c33118ce89 SOLR-3621: release writer get lock in a finally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362500 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 14:03:40 +00:00
Robert Muir e003b49cab LUCENE-4228: refactor CharFilter to be a java.io.FilterReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362442 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 10:53:28 +00:00
Christopher John Male 75504b9d7a LUCENE-4165: Removed closing of Reader from HunspellDictionary so InputStreams are not closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 05:46:32 +00:00
Mark Robert Miller 922ad2bff2 SOLR-3621: fix rare concurrency issue when opening a new IndexWriter for replication or rollback.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362232 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 20:08:46 +00:00
Robert Muir 963efbfea2 LUCENE-2191: rename Tokenizer.reset(Reader) to Tokenizer.setReader(Reader)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362074 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 14:57:00 +00:00
Mark Robert Miller c16f3f75bc SOLR-3620: check if shutdown after wait so that any threads that were waiting bail rather than starting a recovery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361805 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 21:30:13 +00:00
Mark Robert Miller 3377e98fdb don't share random across threads in tests - missed file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361708 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 14:38:22 +00:00
Mark Robert Miller 1acad4e893 don't share random across threads in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361707 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 14:34:44 +00:00
Mark Robert Miller 902ed6cdf6 SOLR-3620: put back cancel recovery in close - it should be fine now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 17:29:34 +00:00
Mark Robert Miller 5248f5d5fe revert accidental commit of this file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361315 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 18:10:05 +00:00
Mark Robert Miller 0e32691abc SOLR-3620: attempt to address shutdown deadlock - once the CoreContainer starts shutting down, do not start any new recoveries - there was a small window this could happen in previously
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361310 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 18:05:09 +00:00
Yonik Seeley 732ad20130 SOLR-139: update doc - create if it doesn't exist by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361301 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 17:10:36 +00:00
Mark Robert Miller 8d68f469cc SOLR-3600: Raise the default zkClientTimeout from 10 seconds to 15 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361276 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 15:23:24 +00:00
Yonik Seeley 7993e39d38 SOLR-3377: edismax fails to correctly parse a fielded query wrapped by parens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 08:32:57 +00:00
Mark Robert Miller e7d1278836 Add reload command to collections api - also improve tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361017 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 00:35:54 +00:00
Chris M. Hostetter d6254caf80 SOLR-1725: StatelessScriptUpdateProcessorFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360931 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:49:41 +00:00
Christian Moen 8b97cec044 Made discarding punctuation configurable in JapaneseTokenizerFactory (SOLR-3524)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360592 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 09:19:02 +00:00
Mark Robert Miller 46021d4575 SOLR-3460: Add cloud-scripts directory and a zkcli.sh|bat tool for easy scripting and interaction with ZooKeeper.
SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path called solr-webapp rather than a temporary directory.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:45:43 +00:00
Robert Muir f2c69f4794 fix test to propagate setUp()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360363 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 19:24:34 +00:00
Robert Muir dc90a019a2 LUCENE-4212: Tests should not use new Random() without args
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 19:10:08 +00:00
Uwe Schindler 80c852e721 Remove 3 File.createTempDir in favour of LTC's own cleanup magic.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359920 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 21:54:16 +00:00
Mark Robert Miller 3042e69056 we do not need this pause after the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359733 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 15:44:16 +00:00
Mark Robert Miller 364407b578 SOLR-3612: Race condition when starting an embedded zk ensemble
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359732 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 15:43:47 +00:00
Christian Moen a15331043f Added JapaneseIterationMarkCharFilter (LUCENE-4201)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359613 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:46:09 +00:00
Mark Robert Miller 3541d0f933 SOLR-3355: fix bug around null shard / collection in statistics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359467 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 03:33:00 +00:00
Robert Muir 4db783ca86 SOLR-3610: after reloading a core, indexing failed on any newly added fields to the schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359449 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 00:35:28 +00:00
Mark Robert Miller d4522d1016 update tutorial with correct path to conf files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359267 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:43:07 +00:00
Robert Muir 4138528889 LUCENE-4199: add default local DecimalFormat ctors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359238 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:03:57 +00:00
Robert Muir 123b645157 LUCENE-4199: fix remaining violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359188 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:22:20 +00:00
Robert Muir 46cb8b9780 LUCENE-4199: fix more default locale/charset violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359181 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:06:17 +00:00
Uwe Schindler e4b8dc640e LUCENE-4199: Reverse merged revision(s) 1-0 from lucene/dev/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359007 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 09:49:58 +00:00
Robert Muir 9df919c5ba LUCENE-4199: fix more charset/locale usages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 01:17:15 +00:00
Yonik Seeley e61e9134a8 SOLR-2702: add replication support to NRTCachingDirectoryFactory and make it the default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358650 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:48:19 +00:00
Robert Muir b6a4748f21 make Locale.ENGLISH/US -> ROOT for locale-independent operations, now that we are on java6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358594 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:42:40 +00:00
Robert Muir 79cb46698e LUCENE-4199: fix more violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358587 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:12:23 +00:00
Robert Muir 6569c4854b LUCENE-4185: don't apply CharFilters twice in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358481 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 00:32:28 +00:00
Dawid Weiss bb1190c05d LUCENE-4194: more solr default encoding fixes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358107 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 10:29:29 +00:00
Mark Robert Miller 403ef8c934 SOLR-2225: new test around default core handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357998 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 23:53:56 +00:00
Mark Robert Miller c0e5935900 fix a small bug around these null checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357983 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 22:51:01 +00:00
Mark Robert Miller c971f7929a SOLR-3355: Add shard and collection to SolrCore statistics.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357887 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:36:05 +00:00
Yonik Seeley b1b9c913df SOLR-3559: clear all tlog maps else an RTG lookup could find the udpate during a concurrent commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357359 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 18:21:12 +00:00
Yonik Seeley 1b4a1653d9 log DBQ reordering events
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357331 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 16:21:15 +00:00