Commit Graph

2548 Commits

Author SHA1 Message Date
Areek Zillur ec096aca16 SOLR-5695: Make best effort to clean up suggester index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566388 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 20:11:50 +00:00
Shalin Shekhar Mangar 9b46f41aa2 SOLR-5710: Migrate collection command does not handle not finding a shard leader well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566385 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 19:59:58 +00:00
Joel Bernstein a055f02e8a SOLR-5624: Guard against NPE during cache warming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566309 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 16:34:36 +00:00
Noble Paul 0a3e6856e4 SOLR-5476 avoiding race condition
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566247 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 07:28:56 +00:00
Areek Zillur 450e6204f4 SOLR-5695: Add support for Lucene's BlendedInfixSuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566222 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 05:18:05 +00:00
Mark Robert Miller fad3886db8 SOLR-5700: Always consumes the response's HttpEntity and cleaned up the test a little.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566179 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 01:07:32 +00:00
Mark Robert Miller b22840f3f6 SOLR-5700: Improve error handling of remote queries (proxied requests).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566174 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 00:31:22 +00:00
Joel Bernstein 97ef952ced SOLR-5624: Enable QueryResultCache for CollapsingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566071 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 18:13:37 +00:00
Shalin Shekhar Mangar e4ed871c5e SOLR-5659: Add test for compositeId ending with a separator char
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565572 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 08:13:47 +00:00
Shalin Shekhar Mangar 459aca19a2 SOLR-5644: SplitShard does not handle not finding a shard leader well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565555 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 07:03:22 +00:00
Joel Bernstein 3b997b7e52 SOLR-5541: Use StrUtils.splitSmart to handle escape chars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565520 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 02:48:03 +00:00
Shalin Shekhar Mangar b436fd64cb SOLR-5629: SolrIndexSearcher.name should include core name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565138 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 10:00:15 +00:00
Shalin Shekhar Mangar 462131403a SOLR-5690: Fix NPE in AbstractStatsValues.accumulate with docValues and docs with empty field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565106 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 08:21:56 +00:00
Mark Robert Miller 3b43c10bd1 SOLR-5672: Add logParamsList parameter to support reduced logging. Closes #23.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565072 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 05:08:11 +00:00
Mark Robert Miller 4ed5b93abf SOLR-5691: Sharing non thread safe WeakHashMap across thread can cause problems.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565069 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 04:47:42 +00:00
Mark Robert Miller 801c267066 SOLR-5682: Make the admin InfoHandler more pluggable / derivable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565067 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 03:56:37 +00:00
Mark Robert Miller 65ba982fdf SOLR-4072: Error message is incorrect for linkconfig in ZkCLI.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565059 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 03:07:16 +00:00
Mark Robert Miller 8b4ea8885e SOLR-5678: SolrZkClient should throw a SolrException when connect times out rather than a RuntimeException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565056 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 03:01:36 +00:00
Mark Robert Miller a2bf844c90 SOLR-5593: Replicas should accept the last updates from a leader that has just lost it's connection to ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565049 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 02:38:00 +00:00
Chris M. Hostetter ad2a7568f5 SOLR-5623: revert r1564739, shalin already fixed the bug that caused these failures, but Uwe didn't know that
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564831 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 17:05:52 +00:00
Uwe Schindler caa9f77686 Ignore tests that fail since the last few commits. The responsible person should fix those. This commit is only to make Jenkins quiet again!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564739 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 12:23:33 +00:00
Shalin Shekhar Mangar 9cb69be380 SOLR-5623: Use root locale in String.format and do not wrap SolrExceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564700 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 10:25:47 +00:00
Shai Erera 7016e497fa remove empty throws clause
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564666 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 08:14:33 +00:00
Chris M. Hostetter ab768b83b0 SOLR-5526: Fixed NPE that could arrise when explicitly configuring some built in QParserPlugins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564588 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 00:41:25 +00:00
Benson Margulies 178ec39037 SOLR-5623: Better diagnosis of RuntimeExceptions in analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564584 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 00:32:03 +00:00
Noble Paul 732f295c4f SOLR-5610 New Collectio API called CLUSTERPROP
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563876 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 13:16:12 +00:00
Mark Robert Miller 76df7ede38 SOLR-5667: Performance problem when not using hdfs block cache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563766 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 04:09:44 +00:00
Shalin Shekhar Mangar 1da7b4b4c9 SOLR-5535: Set partialResults header for shards that error out if shards.tolerant is specified
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563576 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 07:47:51 +00:00
Robert Muir 584fda3bdf LUCENE-5410: add fuzzy and near to SimpleQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563558 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 02:57:02 +00:00
Shalin Shekhar Mangar 13c01606a3 SOLR-5684: Shutdown SolrServer clients created in BasicDistributedZk2Test and BasicDistributedZkTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563390 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 10:58:15 +00:00
Yonik Seeley c69ba8ba8f SOLR-5685: ignore FieldFacetTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563221 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 19:29:33 +00:00
Yonik Seeley f42caf79bd SOLR-5685: fix FieldFacetAccumulator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563176 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 16:59:06 +00:00
Yonik Seeley db5964de02 SOLR-5685: tests: add assertU to commit calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563142 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 14:58:21 +00:00
Shalin Shekhar Mangar 968d6f98cc SOLR-5679: SOLR-5679: Shard splitting fails with ClassCastException on collections upgraded from 4.5 and earlier versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562872 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 16:06:50 +00:00
Noble Paul 6849fe3286 SOLR-5476 tests were failing earlier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562434 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 13:17:27 +00:00
Erik Hatcher 7a648bf7db SOLR-5230: Call DelegatingCollector.finish() during grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562305 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 23:07:25 +00:00
Chris M. Hostetter d593f195ba SOLR-5652: test fixes: add 'plain' docvalue field variants to schema, and check codecs for support of missing docValues before trying to sort on them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562155 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 19:03:35 +00:00
Yonik Seeley f15097b4e2 allow _version_ to use DocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561851 13f79535-47bb-0310-9956-ffa450edef68
2014-01-27 21:17:23 +00:00
Mark Robert Miller a193836b86 SOLR-5666: Using the hdfs write cache can result in appearance of corrupted index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561751 13f79535-47bb-0310-9956-ffa450edef68
2014-01-27 17:03:09 +00:00
Steven Rowe 2a36de54dd SOLR-5671: increase logging to try and track down test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561709 13f79535-47bb-0310-9956-ffa450edef68
2014-01-27 15:21:41 +00:00
Robert Muir 76c12eeb3d LUCENE-5415: add multitermquery support to PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561451 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 04:49:18 +00:00
Simon Willnauer d1999b7791 LUCENE-5414: Suggest module should not depend on expression module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561415 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 22:18:36 +00:00
Michael McCandless b27fe755d1 LUCENE-5228: IndexWriter.addIndexes(Directory[]) now acquires the IW write lock on the incoming indices to ensure there are no active IndexWriters in those directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561404 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 21:49:20 +00:00
Mark Robert Miller 9ed426cbd4 tests: reduce number of shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561332 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 16:27:09 +00:00
Shalin Shekhar Mangar 0b295b861e SOLR-5492: Enabling CustomCollectionTest after removing shards.info test code from it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561271 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 06:54:55 +00:00
David Wayne Smiley c6e416cd00 LUCENE-5395: use Locale.ROOT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561250 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 03:48:13 +00:00
Mark Robert Miller 64481c0ed9 tests: raise update so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561234 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 00:10:12 +00:00
David Wayne Smiley 33d88bef57 LUCENE-5395: Upgrade Spatial4j 0.4. Moved away from stuff deprecated in Spatial4j.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561129 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 19:40:14 +00:00
Mark Robert Miller 52730069ed SOLR-5625: Add testing around SolrCmdDistributor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561077 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:20:48 +00:00
Mark Robert Miller a9670cc6e7 SOLR-5658: commitWithin and overwrite are not being distributed to replicas now that SolrCloud uses javabin to distribute updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560859 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 00:53:06 +00:00
Mark Robert Miller d9e7f46ef9 SOLR-5657: When a SolrCore starts on HDFS, it should gracefully handle HDFS being in safe mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560553 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 22:39:10 +00:00
Chris M. Hostetter 4fcf007f94 SOLR-5594: Allow FieldTypes to specify custom PrefixQuery behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560412 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 16:50:07 +00:00
Noble Paul 03aba1adc3 SOLR-5476 ignored till there is a reliable way to restart Overseer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560314 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 11:13:54 +00:00
Noble Paul bd04876772 SOLR-5476 hardened a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560279 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 08:41:50 +00:00
Mark Robert Miller 1e5f5795dc SOLR-5650: When a replica becomes a leader, only peer sync with other replicas that last published an ACTIVE state.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560221 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 23:52:23 +00:00
Chris M. Hostetter 6851eab30c SOLR-5652: Make test more deterministicly random, and increase logging to try and track down strange test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560219 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 23:32:43 +00:00
Noble Paul 172b0b5231 SOLR-5476 handle nonode exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559936 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 08:20:57 +00:00
Mark Robert Miller fc9f019cdb tests: longer runs with tests.nightly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559790 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:54:18 +00:00
Mark Robert Miller fad37f1984 SOLR-5608: Boost wait from 300ms to 500ms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559788 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:33:38 +00:00
Mark Robert Miller c504a251f3 SOLR-5488: print exception stack trace rather than eating it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559770 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:31:12 +00:00
Mark Robert Miller ab0f5074d4 tests: improve assertion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559764 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:14:27 +00:00
Mark Robert Miller ff49a55074 tests: dial back a bit, can hit OOM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559750 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 15:45:49 +00:00
Mark Robert Miller 784ccd1f21 SOLR-5608: Boost wait from 100ms to 300ms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559724 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 15:04:38 +00:00
Noble Paul a136d320b9 SOLR-5476 tests passing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559677 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 12:48:56 +00:00
Mark Robert Miller d16dc6cf6d tests: harden this stress test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559614 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 00:36:11 +00:00
Mark Robert Miller 4ee5920ba2 SOLR-5608: Raise wait for leader timeout from 1000 to 15000
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559609 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 23:48:36 +00:00
Mark Robert Miller 1a715dd4d6 SOLR-5608: Harden test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559600 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 23:23:07 +00:00
Mark Robert Miller fb9374bffb SOLR-5645: A SolrCore reload via the CoreContainer will try and register in zk again with the new SolrCore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559578 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 20:34:52 +00:00
Noble Paul dd8fe60fc7 SOLR-5476 ftests are being fixed . SO ignore for the time being
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559399 13f79535-47bb-0310-9956-ffa450edef68
2014-01-18 19:40:13 +00:00
Ryan Ernst 7ace4d4997 SOLR-5633: HttpShardHandlerFactory should make its http client available to subclasses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559236 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 19:45:43 +00:00
Noble Paul 50682f5ab7 SOLR-5476 logging added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559100 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 13:30:33 +00:00
Uwe Schindler 021b937b27 SOLR-5476: Fix forbidden.
PLEASE RUN "ant precommit" (root) or alternatively the faster "ant check-forbidden-apis" (in your module folder) before committing!

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559043 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 08:07:46 +00:00
Mark Robert Miller 5cacfe37f7 SOLR-4260: ConcurrentUpdateSolrServer#blockUntilFinished can return before all previously added updates have finished. This could cause distributed updates meant for replicas to be lost.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558978 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 01:48:41 +00:00
Chris M. Hostetter a6b1c654d1 SOLR-5463: more details in case of spooky 'walk already seen' errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558939 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 22:38:30 +00:00
Michael McCandless 7b34ac5c61 LUCENE-5399: add missingFirst/last support when sorting by Type.STRING; speed up deep paging; fix solr's distributed group sort for certain field types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558865 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 17:40:25 +00:00
Noble Paul f70138214b SOLR-5476 removing forbidden API usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558846 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 16:24:34 +00:00
Noble Paul d9b3ed94e7 SOLR-5476 , logging added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558829 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 15:14:14 +00:00
Noble Paul 359d41adf5 SOLR-5476 Overseer Role for nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558760 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 11:25:57 +00:00
Mark Robert Miller c30f4ebd04 SOLR-5636: SolrRequestParsers does some xpath lookups on every request, which can cause concurrency issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558688 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 03:46:34 +00:00
Robert Muir 0461883e2e SOLR-5631: Add support for FreeTextSuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558635 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 01:22:28 +00:00
Robert Muir 11a5162fca LUCENE-5399, SOLR-5354: fix distributed grouping to marshal/unmarshal sort values properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene539399@1558618 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 23:58:51 +00:00
Robert Muir 679c3c8de8 LUCENE-5399: remove code duplication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene539399@1558552 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 19:44:06 +00:00
Mark Robert Miller 5945077918 SOLR-5632: Fix SolrCore leak.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558467 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 17:08:26 +00:00
Mark Robert Miller e5b31d2904 SOLR-5632: Improve response message for reloading a non-existent core.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558459 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 16:44:25 +00:00
Robert Muir 4694ef69eb LUCENE-5399: current state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene539399@1558451 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 16:21:31 +00:00
Steven Rowe 4460fb2560 SOLR-5463: added randomized faceting test to CursorPagingTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557800 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 18:27:02 +00:00
Mark Robert Miller cb23c8ba3c SOLR-4992: Solr eats OutOfMemoryError exceptions in many cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557778 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 17:26:38 +00:00
Robert Muir 13084e4e81 SOLR-5529: add support for queries to use multiple suggesters in SuggestComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557206 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 17:59:22 +00:00
Chris M. Hostetter 90f4e12a7c SOLR-5618: fix stupid test mistake
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557031 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 05:09:10 +00:00
Chris M. Hostetter 6b33a8c593 SOLR-5618: Fix false cache hits in queryResultCache when hashCodes are equal and duplicate filter queries exist in one of the requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556988 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 23:55:46 +00:00
Joel Bernstein 23ae54b652 SOLR-5541: Allow QueryElevationComponent to accept elevateIds and excludeIds as http parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556903 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 18:14:58 +00:00
Robert Muir ab0e85fafe LUCENE-5388: remove Reader from Tokenizer ctor (closes #16)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556801 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 13:27:29 +00:00
Mark Robert Miller 4f72365ba2 SOLR-5615: Deadlock while trying to recover after a ZK session expiration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556572 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 16:35:17 +00:00
Chris M. Hostetter 5efc4132f1 SOLR-5463: new 'cursorMark' request param for deep paging of sorted result sets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 21:15:45 +00:00
Mark Robert Miller 2970e46163 SOLR-5608: Unregister core from cloud state after closing in unload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555685 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 06:15:15 +00:00
Mark Robert Miller 5dfb49986e SOLR-5608: Don't allow a closed SolrCore to publish state to ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555659 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 04:37:48 +00:00
Uwe Schindler 2e6b894036 LUCENE-5372: Replace StringBuffer by StringBuilder, where possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555645 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 23:04:09 +00:00
Mark Robert Miller 4961aa0807 SOLR-5607: Repeatable TestReplicationHandler#doTestStressReplication fail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555623 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 20:20:35 +00:00
Robert Muir 0fb9f03de6 pull request #11: change the default of hl.phraseLimit to 5000
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555367 13f79535-47bb-0310-9956-ffa450edef68
2014-01-04 16:43:32 +00:00
Shalin Shekhar Mangar 4612f80e8d SOLR-5601: Use zkStateReader.getLeaderRetry to find the leader of a newly created temp collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555083 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 13:39:11 +00:00
Jan Høydahl ca5f42a14e SOLR-5564: hl.maxAlternateFieldLength should apply to original field when fallback field does not exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555035 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 09:04:59 +00:00
Joel Bernstein 43535fecb8 SOLR-5536: Add ValueSource collapse criteria to CollapsingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554523 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 14:35:48 +00:00
Mark Robert Miller 7d7ef806b3 SOLR-5581: Give ZkCLI the ability to get files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554304 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 20:01:43 +00:00
Mark Robert Miller a59dec83e5 SOLR-5580: Remove more code that is not legal for determining if a core is new or not.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554138 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 04:28:35 +00:00
Mark Robert Miller 15fbdbd3a6 SOLR-5588: PeerSync doesn't count all connect failures as success.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554129 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 03:24:25 +00:00
Mark Robert Miller f0944d6b06 SOLR-5587: ElectionContext implementations should use ZkCmdExecutor#ensureExists to ensure their election paths are properly created.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554113 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:35:59 +00:00
Mark Robert Miller e08106c568 tests: raise timeouts for nightly runs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554112 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:34:00 +00:00
Mark Robert Miller e73c522f0b when sending a non retry update fails, log it at warn level
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554109 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:25:10 +00:00
Mark Robert Miller f63357957e tests: some nightly tests need solr.hdfs.home - just always set it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554107 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:07:24 +00:00
Mark Robert Miller 9b5c2e254b SOLR-5586: All ZkCmdExecutor's should be initialized with the zk client timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554101 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 23:52:58 +00:00
Mark Robert Miller 8fcdf1d85a tests: remove so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554058 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 19:47:49 +00:00
Mark Robert Miller c3f2a19022 SOLR-5580: NPE when creating a core with both explicit shard and coreNodeName.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553967 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 23:19:03 +00:00
Mark Robert Miller 9a5c901fd6 SOLR-5442: Move CHANGES entry to 4.6.1
SOLR-5445: Move CHANGES entry to 4.6.1

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553942 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 22:18:24 +00:00
Mark Robert Miller cd9e1129ec SOLR-5577: Likely ZooKeeper expiration should not slow down updates a given amount, but instead cut off updates after a given time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553912 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 20:49:13 +00:00
Shalin Shekhar Mangar 49209e1d16 SOLR-5214: Reduce memory usage for shard splitting by merging segments one at a time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553644 13f79535-47bb-0310-9956-ffa450edef68
2013-12-27 08:36:23 +00:00
Shalin Shekhar Mangar ca4acb2bb7 SOLR-5567: ZkController getHostAddress duplicates url prefix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553491 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 14:56:31 +00:00
Mark Robert Miller 76f3bbef6e SOLR-5576: Improve concurrency when registering and waiting for all SolrCore's to register a DOWN state.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553178 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 19:00:14 +00:00
Mark Robert Miller 227ce7c228 SOLR-5573: ChaosMonkey should randomly turn off Solr's commit on shutdown option.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553159 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 17:34:24 +00:00
Mark Robert Miller be7d4f195f SOLR-5574: CoreContainer shutdown publishes all nodes as down and waits to see that and then again publishes all nodes as down.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553157 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 17:31:50 +00:00
Noble Paul 97d3e2d546 SOLR-5525 use hasCollection()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553095 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 11:44:21 +00:00
Mark Robert Miller 8d9d344501 SOLR-5569: fix how this check is done - we need to hit the rest of the loop, not continue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553072 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 05:45:28 +00:00
Mark Robert Miller e7d67c783b SOLR-5552: Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered.
SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE. 
SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553031 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 21:16:52 +00:00
Robert Muir 7808f7f44e fix locale violation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552334 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 16:20:22 +00:00
Alan Woodward 25b53be6f9 SOLR-5556: Allow CollectionsHandler and InfoHandler classes to be specified in solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552044 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 17:35:24 +00:00
Joel Bernstein a18470e858 SOLR-5416: CollapsingQParserPlugin bug with tagging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1551999 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 16:06:13 +00:00
Robert Muir 22baafc512 SOLR-5528: improve response format of the new SuggestComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1551753 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 23:14:11 +00:00
Alan Woodward 507cb684b7 Fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1551053 13f79535-47bb-0310-9956-ffa450edef68
2013-12-15 20:46:27 +00:00
Alan Woodward 234acf76b5 SOLR-5543: Core Swaps result in duplicate entries in solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550969 13f79535-47bb-0310-9956-ffa450edef68
2013-12-14 21:11:18 +00:00
Alan Woodward d22cffebb7 SOLR-5555: CloudSolrServer and LBHttpSolrServer shouldn't throw MUE from constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550824 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 19:47:06 +00:00
Shalin Shekhar Mangar f590fe62a6 SOLR-3702: Reverting commit because it breaks QueryEqualityTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550676 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 10:25:43 +00:00
Shalin Shekhar Mangar 78d8d0c535 SOLR-3702: A 'concat' function query to support concatenation of Strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550656 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 06:40:01 +00:00
Mark Robert Miller 5b0ae51d63 SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550548 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 21:57:39 +00:00
Mark Robert Miller 8f6343fb83 SOLR-5548: Give DistributedSearchTestCase / JettySolrRunner the ability to specify extra filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550508 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 20:15:52 +00:00
Uwe Schindler 7e070c34a4 SOLR-5492: Ignore broken test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550323 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 00:13:14 +00:00
Shalin Shekhar Mangar bee606588d SOLR-5492: Added shardAddress in grouping query responses. Added tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550143 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 14:12:26 +00:00
Shalin Shekhar Mangar 4b8d5f0d51 SOLR-5308: Handle route keys with bit separators. Route docs to target shard leader directly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549821 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 11:48:30 +00:00
Steven Rowe a1461ad9b1 LUCENE-5364: Replace hard-coded Version.LUCENE_XY that doesn't have to be hard-coded (because of back-compat testing or version dependent behavior, or demo code that should exemplify pinning versions in user code), with Version.LUCENE_CURRENT in non-test code, or with LuceneTestCase.TEST_VERSION_CURRENT in test code; upgrade hard-coded Version.LUCENE_XY constants that should track the next release version to the next release version if they aren't already there, and put a token near them so that they can be found and upgraded when the next release version changes: ':Post-Release-Update-Version.LUCENE_XY:'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549701 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 22:53:38 +00:00
Noble Paul 07a2322efd SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549591 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 14:58:53 +00:00
Noble Paul 60a881a00b SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549552 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:29 +00:00
Chris M. Hostetter 101f0b4978 test to help verify that functions wrapping queries (or filtered by queries) are only evaluated for docs that match those queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548955 13f79535-47bb-0310-9956-ffa450edef68
2013-12-07 19:28:58 +00:00
Mark Robert Miller 0c8d47a00e SOLR-5540: HdfsLockFactory should explicitly create the lock parent directory if necessary.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548590 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 16:44:53 +00:00
Noble Paul 0754f884a1 SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548503 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 12:58:35 +00:00
Noble Paul dab93e43cc SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547565 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 20:20:48 +00:00
Mark Robert Miller 1f57856b90 SOLR-5502: A "/" in a document id will cause an exception to be thrown when using the composite id router.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547452 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 16:10:58 +00:00
Steven Rowe dff3579da3 SOLR-5354: applying hoss's patch to fix function edge case in distributed sort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547430 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 15:22:59 +00:00
Mark Robert Miller e8237d6a7a SOLR-5449: Add more stress testing around creating and removing collections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547415 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 14:55:42 +00:00
Noble Paul df14f55a40 SOLR-5519
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547324 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 09:29:24 +00:00
Ryan Ernst ce46fecc28 SOLR-5517: Return HTTP error on POST requests with no Content-Type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547322 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 09:19:30 +00:00
Erick Erickson 8e6f865dee SOLR-5518: Move editing files to a separte request handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547251 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 00:55:25 +00:00
Mark Robert Miller 7ab2e1f787 SOLR-1301: Add a Solr contrib that allows for building Solr indexes via Hadoop's MapReduce.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547139 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 18:42:23 +00:00