Commit Graph

2877 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 21ed14f6ad SOLR-5739: Sub-shards created by shard splitting have their update log set to buffering mode on restarts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569072 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 18:30:38 +00:00
Mark Robert Miller c95e1f4969 SOLR-5727: LBHttpSolrServer should only retry on Connection exceptions when sending updates. Affects CloudSolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568857 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 23:29:23 +00:00
Shai Erera 1482c3c12d LUCENE-5440: fix bug in FacetComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568824 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 20:37:28 +00:00
Shai Erera 87f987082b LUCENE-5440: decouple OpenBitSet from DocSet and move to use FixedBitSet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568737 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 07:36:37 +00:00
Chris M. Hostetter fecedd2349 SOLR-5652: remove doc details logging now that we've identified hte original codec problem with the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568690 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 21:58:58 +00:00
Mark Robert Miller 0b023e5236 SOLR-5718: Make LBHttpSolrServer zombie checks non-distrib and non-scoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568394 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 17:47:21 +00:00
Mark Robert Miller c6b04e0254 SOLR-5731: In ConnectionManager, we should catch and only log exceptions from BeforeReconnect.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568353 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 16:59:28 +00:00
Mark Robert Miller f8a0cae647 SOLR-5721: ConnectionManager can become stuck in likeExpired.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568337 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 15:36:00 +00:00
Steven Rowe 1687ff4df3 SOLR-3854: remove redundant solr-core test dependency on httpclient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568184 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 01:34:10 +00:00
Chris M. Hostetter b4af32cb44 SOLR-5257: Improved error/warn messages when Update XML contains unexpected XML nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567706 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 18:09:42 +00:00
Mark Robert Miller 232cf38bdf tests: add a short poll
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567663 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 16:01:41 +00:00
Mark Robert Miller 98810d1f54 SOLR-3854: Cleans up a lot of the tests by using a common function to build a consistent schemed URL (fixes SSL for SolrCmdDistributorTest) + disabled the "useClientAuth" property for OSX clients.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567643 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 15:11:24 +00:00
Joel Bernstein 9e2995ee01 SOLR-5624: check for elevated documents in hashCode()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567640 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 15:09:24 +00:00
Mark Robert Miller e3180317c8 SOLR-3854 : Disable SSL on OSX for this test for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567203 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 16:17:38 +00:00
Shalin Shekhar Mangar 83debcaef0 SOLR-5689: On reconnect, ZkController cancels election on first context rather than latest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567049 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 11:11:55 +00:00
Noble Paul ce3b4becb4 SOLR-5609 Reverting accidental commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567014 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 08:55:48 +00:00
Noble Paul 1588fd5f5a SOLR-5476 added testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567012 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 08:46:07 +00:00
Steven Rowe 5145efcc25 SOLR-5709: add missing license
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566914 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 00:46:11 +00:00
Chris M. Hostetter 601f536f9a SOLR-5561: Fix implicit DefaultSimilarityFactory initialization in IndexSchema to properly specify discountOverlap option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566842 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 23:26:21 +00:00
Joel Bernstein b2d66a6019 SOLR-5536: Added a proper ValueSource context
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566754 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 21:33:50 +00:00
Steven Rowe af740da71c SOLR-5709: Highlighting grouped duplicate docs from different shards with group.limit > 1 throws ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566743 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 21:08:03 +00:00
Steven Rowe 88f16b6069 SOLR-5652: in cursor tests, don't sort on 'plain' docvalue fields (i.e., those using standard Lucene sorting for missing values) when the codec doesn't support missing docvalues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566741 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 20:55:12 +00:00
Noble Paul d95750d27d SOLR-5476 added testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566620 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 13:38:45 +00:00
Alan Woodward ce571f0242 SOLR-5704: new cores should be created under coreRootDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566598 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 12:45:04 +00:00
Mark Robert Miller f5a1519069 SOLR-3854: Allows the test harness to perform two-way SSL handshakes, the two-way SSL will now be randomly selected during test runs. Also, cleaned up some of the code by breaking out the SSLConfig into a separate class. Also try and address failing the statics retained check.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566515 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 06:08:37 +00:00
Mark Robert Miller fcfc592785 SOLR-5608: Add short poll to test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566492 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 02:26:19 +00:00
Mark Robert Miller ff542580f0 SOLR-5585: Raise Collections API timeout to 3 minutes from one minute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566485 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 01:03:02 +00:00
Mark Robert Miller 37fc18ef9f SOLR-3854: Boost test timeouts - SSL can be slower.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566483 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 00:50:23 +00:00
Mark Robert Miller de6514e214 SOLR-3854: SSL support for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566456 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 22:39:48 +00:00
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
Shalin Shekhar Mangar 4109c6db33 SOLR-1871: The 'map' function query accepts a ValueSource as target and default value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546926 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 08:33:33 +00:00
Noble Paul a7f879db76 SOLR-5510
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546922 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 07:25:58 +00:00
Mark Robert Miller 2cc87df6ef SOLR-5516: Try only waiting if we are a replacement leader and waiting a bit longer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546851 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 20:15:47 +00:00
Mark Robert Miller bbd4548428 SOLR-5509: Better string ids for these tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546821 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 15:52:08 +00:00
Shalin Shekhar Mangar f56bf5b9d0 SOLR-5204: StatsComponent and SpellCheckComponent do not support the shards.tolerant=true parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546819 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 15:06:42 +00:00
Shalin Shekhar Mangar 1460d8c9d5 SOLR-5023: Add support for deleteInstanceDir to be passed from SolrJ for Core Unload action
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546793 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 09:06:31 +00:00
Mark Robert Miller 7b7339d733 SOLR-5509: Raise id's per thread so they won't overlap
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546779 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 05:09:31 +00:00
Shalin Shekhar Mangar 655a12466f SOLR-5515: NPE when getting stats on date field with empty result on SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546725 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 13:04:23 +00:00
Mark Robert Miller 484c8e98bb SOLR-5509: More logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546685 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 03:34:27 +00:00
Mark Robert Miller 1641ccea60 SOLR-5516: wait a moment before trying to Sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546683 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 03:03:44 +00:00
Mark Robert Miller 4460efe729 tests: remove start the deadpool option when monkey stops
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546677 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 02:19:12 +00:00
Robert Muir cafdce601c SOLR-5512: Optimize DocValuesFacets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546675 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 01:32:26 +00:00
Mark Robert Miller 7bae4083e1 SOLR-5509: allow retry updates to self again, don't retry on remote solrserver exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546670 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 01:04:27 +00:00
Steven Rowe 921bd47919 SOLR-5354: Distributed sort is broken with CUSTOM FieldType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546457 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 21:00:28 +00:00
Mark Robert Miller 8ed8d46efe SOLR-5509: Do not retry to yourself.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546286 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 05:15:16 +00:00
Mark Robert Miller 301d7a080a SOLR-5509: Always add a param for 'from' node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546278 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 04:09:02 +00:00
Erick Erickson efbc66ca8f SOLR-5488: Added more test info output. Somehow lost some of what I did yesterday
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546263 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 03:17:30 +00:00
Robert Muir fcb7e37c29 SOLR-5506: Support docValues in (ICU)CollationField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546245 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 00:31:03 +00:00
Mark Robert Miller e5fbf6dce2 SOLR-5504: Windows can throw a ConnectException when Linux throws a SocketException - also add a bit more testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546224 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 23:15:13 +00:00
Mark Robert Miller e54b08e2ab SOLR-5509: fix possible npe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546189 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 20:43:35 +00:00
Mark Robert Miller 2939fce489 SOLR-5509: better debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546186 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 20:40:01 +00:00
Mark Robert Miller 83da40be81 SOLR-5509: Beef up retry logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546164 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 19:24:22 +00:00
Erick Erickson 38643894d1 SOLR-5488: Changing Facets testing to use DOM rather than string operations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546074 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 15:24:24 +00:00
Shalin Shekhar Mangar b1a7190dbb SOLR-5492: Return the replica that actually served the query in shards.info response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545662 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 14:05:12 +00:00
Erick Erickson 9db2e666e2 SOLR-5488: Revamped ExpressionTest to use the DOM parsing in AbstractAnalyticsStatsTest rather than string operations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545650 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 13:25:20 +00:00
Shalin Shekhar Mangar 0302eeb254 SOLR-5499: Log a warning if /get is not registered when using SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545554 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 07:02:17 +00:00
Erick Erickson bc38be3e07 SOLR-5488: Fix up test failures for analytics component. Some cleanups suggested by IntelliJ's analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545514 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 02:42:18 +00:00
Mark Robert Miller ee21f3b465 raise retries a bit - it can take a bit for a new leader to take over
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545512 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 02:34:46 +00:00
Mark Robert Miller 8f94ae68de SOLR-5503: Retry 'forward to leader' requests less aggressively - rather than on IOException, ConnectException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545464 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 23:59:40 +00:00
Mark Robert Miller bf251f501d We need better testing for SolrCmdDistributor retry logic.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545428 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 22:32:05 +00:00
Erick Erickson 728b740ede SOLR-5488: Fixing up tests for analytics component
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545417 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 21:59:09 +00:00
Mark Robert Miller 295ce29bfb tests: have ChaosMonkeyNothingIsSafeTest start up down nodes at the end so that any final updates won't fail because there is no leader coming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545409 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 21:14:11 +00:00
Shalin Shekhar Mangar 5d45ce858f SOLR-5378: Add dependencies of lucene's expressions module to Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545311 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 14:59:29 +00:00
Mark Robert Miller 7d5363964c SOLR-5488: fix forbidden api call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545143 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 03:16:26 +00:00
Mark Robert Miller 4eaf2769ad tests: boost timeout a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545137 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 02:44:47 +00:00
Mark Robert Miller 88c177ead6 SOLR-4711: enable these tests on java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545131 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 01:42:01 +00:00
Mark Robert Miller 56a116aae8 SOLR-5417: fail if the chaosmonkey runs for over 20 seconds and doesn't kill a jetty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545125 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 01:11:51 +00:00
Erick Erickson 0e19da794b SOLR-5488: Added DOM parsing to the test cases rather than string manipulation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545080 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 21:33:45 +00:00
Mark Robert Miller c95f5900ac SOLR-4553: Bug in finding remote node when proxying update request in a cluster with more than one collection.
Also, attempt to proxy requests more aggressively.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545065 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 20:19:43 +00:00
Mark Robert Miller fc7a21deea SOLR-5488: fix ignore import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545054 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:25:43 +00:00
Mark Robert Miller 2e461b4258 SOLR-5488: ignore this test for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545053 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:23:44 +00:00
Mark Robert Miller aaafda0f6e SOLR-4713: This should not be an issue anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545035 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 18:54:52 +00:00
Mark Robert Miller e50b2b3da4 SOLR-4553: for some reason, a node can keep seeing slices inactive or something - we should attempt to proxy inactive slices anyway
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545027 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 18:45:17 +00:00
Mark Robert Miller 782b2e221c tests: harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545013 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:30:00 +00:00
Mark Robert Miller acee28acf4 tests: improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545010 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:14:50 +00:00
Mark Robert Miller 4ff856d994 SOLR-5488: fix set removal bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545009 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:12:05 +00:00
Mark Robert Miller 513c277e73 tests: clean up a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545005 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:53:00 +00:00
Mark Robert Miller 9a76dcdf9e boost default zk connect timeout from 15s to 30s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544999 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:35:12 +00:00
Mark Robert Miller 6c9d05e97d tests: tweak timeouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544994 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:23:32 +00:00
Mark Robert Miller 04fd728416 tests: fix for random map order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544984 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:00:48 +00:00
Mark Robert Miller 633ea330fe tests: fix for random map order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544980 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 14:48:50 +00:00
Noble Paul e61acfdb0d SOLR-5493
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544925 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 06:06:32 +00:00
Mark Robert Miller 1f2baa27f3 SOLR-5497: Try and explicit set so linger to 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544913 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 05:22:38 +00:00
Mark Robert Miller 739dae21da SOLR-5496: We should share an http connection manager across non search HttpClients and ensure all http connection managers get shutdown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544899 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 01:59:56 +00:00
Mark Robert Miller aa253e949f SOLR-5494: CoreContainer#remove throws NPE rather than returning null when a SolrCore does not exist in core discovery mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544844 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:47:56 +00:00
Mark Robert Miller b892c597f7 SOLR-5437: DeleteReplicaTest fails constantly both locally and in jenkins
SOLR-5486: Cleanup and harden DeleteInactiveReplicaTest.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544838 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:14:22 +00:00
Robert Muir 2ef13e06f0 SOLR-5490: SimpleQParser uses multiterm analysis chain for prefixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544837 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:12:14 +00:00
Shalin Shekhar Mangar fd6268a9a8 SOLR-5378: Fix compile issues on Java6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544815 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 15:19:43 +00:00
Shalin Shekhar Mangar 7763793c55 SOLR-5378: A new SuggestComponent that fully utilizes the Lucene suggester module and adds pluggable dictionaries, payloads and better distributed support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544793 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 13:46:12 +00:00
Erick Erickson 482de5a9f0 SOLR-5491: Testing for extra properties should use startsWith rather than indexOf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544518 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 13:00:20 +00:00
Erick Erickson 95b973d613 Added "human readable" output to the failing test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544504 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 12:08:01 +00:00
Shalin Shekhar Mangar 911ee1dcd3 SOLR-5308: Use source collection's configName to create temp collection. Fixed NPE routing rule wait loop. Wait for temp collection leader to be active before splitting the source index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544414 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 05:05:36 +00:00
Uwe Schindler 0971bc8f21 LUCENE-5347: Upgrade forbidden-apis checker to version 1.4. Fix Zookeeper bug with default encoding.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544370 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 23:27:19 +00:00
Mark Robert Miller 21afda7b22 SOLR-5436: Eliminate the 1500ms wait in overseer loop as well as polling the ZK distributed queue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544255 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 17:28:36 +00:00
Mark Robert Miller 8f08d90bb0 SOLR-4709: The core reload after replication if config files have changed can fail due to a race condition.
SOLR-5489: TestIndexAndConfigAliasReplication commonly fails because it tries to get a lock for a locked index.
SOLR-5343: TestReplicationHandler.doTestStressReplication fails ~ 33% of the time

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544220 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 15:40:07 +00:00
Erick Erickson 493ce1b65a Adding debug information to diagnose failure, this time so it shows.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544154 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 12:19:45 +00:00
Shalin Shekhar Mangar 20591fd6f7 SOLR-5487: Replication factor error message doesn't match constraint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544050 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 07:25:23 +00:00
Shalin Shekhar Mangar f7d1b43c9e SOLR-5428: New 'stats.calcdistinct' parameter in StatsComponent returns set of distinct values and their count. This can also be specified per field e.g. 'f.field.stats.calcdistinct'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544043 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 06:27:11 +00:00
Mark Robert Miller 54508fbe7a SOLR-5437: cleanup DeleteReplicaTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544034 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 04:57:45 +00:00
Mark Robert Miller cd3f22f76b SOLR-5486: cleanup DeleteInactiveReplicaTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544033 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 04:56:22 +00:00
Mark Robert Miller 8def69cd7f SOLR-5369: clean up this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544006 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 02:24:43 +00:00
Mark Robert Miller 1c00bcd424 SOLR-5481: SolrCmdDistributor should not let the http client do it's own retries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543986 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 23:47:06 +00:00
Erick Erickson 4dc4d39cb9 SOLR-5208: Support for the setting of core.properties key/values at create-time on Collections API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543969 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 22:15:17 +00:00
Mark Robert Miller 51a45c9f4d SOLR-5479: Deal with null message in SolrLogLayout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543966 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 21:59:56 +00:00
Mark Robert Miller 4f1ed4ee86 tests: check for fails again - if there was a fail and we compare against control, it's going to fail later anyway
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543944 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 20:59:11 +00:00
Mark Robert Miller 83e28ca6dd SOLR-5479: SolrCmdDistributor retry logic stops if a leader for the request cannot be found in 1 second.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543940 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 20:44:43 +00:00
Erick Erickson 915977b6e8 Adding debug information to diagnose failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543796 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 12:09:24 +00:00
Erick Erickson fe2e612ebd SOLR-5459: Try loading a temporary core when saving a file in the admin UI config editing mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543660 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 00:15:13 +00:00
Erick Erickson 122171155f SOLR-5302 Analytics component. Checking in to trunk, we'll let it back then port to 4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543651 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 23:45:31 +00:00
Shawn Heisey 6b67d485dc fix typo in jmx log message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543545 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 19:39:53 +00:00
Shalin Shekhar Mangar 94fe5db45c Reformatted code according to lucene/solr standards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543422 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 13:25:12 +00:00
Mark Robert Miller 8822632048 SOLR-5465: SolrCmdDistributor retry logic has a concurrency race bug.
SOLR-5464: ConcurrentSolrServer does not stream pure delete by id requests.
SOLR-5452: Do not attempt to proxy internal update requests.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543299 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 03:13:33 +00:00
Mark Robert Miller d6e1114002 tests: set request info on SyncStrategy for better logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543205 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 22:33:25 +00:00
Mark Robert Miller 2115c05de9 SOLR-5452: Back this out for a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543108 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 18:52:01 +00:00
Mark Robert Miller b10061bf11 SOLR-5452: Parse params correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543097 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 18:19:26 +00:00
Mark Robert Miller 74deac93f8 SOLR-5461: Request proxying should only set con.setDoOutput(true) if the
request is a post.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543088 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 17:18:37 +00:00
Mark Robert Miller d88ee060b5 SOLR-5460: SolrDispatchFilter#sendError can get a SolrCore that it does not close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543078 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 16:47:02 +00:00
Mark Robert Miller 4f1a857977 SOLR-5452: Do not attempt to proxy internal update requests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543037 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 14:31:18 +00:00
Mark Robert Miller d9e8a31a15 tests: try running this tests again to see how it goes...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543022 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 13:25:26 +00:00
Mark Robert Miller e8fbefc83d SOLR-5397: Replication can fail silently in some cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542884 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 04:00:56 +00:00
Erick Erickson 6e78f9a497 SOLR-5455: add managed schema name to the files the admin UI cannot edit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542859 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 22:59:42 +00:00
Mark Robert Miller 194238944c tests: improve example test debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542784 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 18:29:53 +00:00
Mark Robert Miller 496f27ad66 tests: add useful commented out logging options for solrcloud debug to log4j test config file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542634 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 02:44:59 +00:00
Mark Robert Miller 7f478c9999 tests: null out a couple statics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542625 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 01:00:16 +00:00
Mark Robert Miller add510e6a9 SOLR-5453: Raise recovery socket read timeouts.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542620 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 00:38:59 +00:00
Mark Robert Miller f43a661898 SOLR-5451: SyncStrategy closes it's http connection manager before the executor that uses it in it's close method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542604 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 22:30:04 +00:00
Shalin Shekhar Mangar 653297153b SOLR-5447: Added a test for simple query parser in QueryEqualityTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542507 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 13:20:54 +00:00
Shalin Shekhar Mangar d34549874c SOLR-5447: Add a QParserPlugin for Lucene's SimpleQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542486 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 09:16:57 +00:00
Erick Erickson a40ee0f5bc SOLR-5448: ShowFileRequestHandler treats everything as Directory, when in Cloud-Mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542436 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 00:53:41 +00:00
Erick Erickson 7f2b8bc419 SOLR-5287: Allow at least solrconfig.xml and schema.xml to be edited via the admin screen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542345 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 17:53:20 +00:00
Mark Robert Miller 367cb67231 SOLR-5442: Python client cannot parse proxied response when served by Tomcat.
SOLR-5445: Proxied responses should propagate all headers rather than the first one for each key.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542333 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 17:15:32 +00:00
Erick Erickson 44e98a8df3 Fix forbidden API call flagged by 'ant precommit'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542321 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 16:49:01 +00:00
Shalin Shekhar Mangar f61d232630 SOLR-5320: Added support for tri-level compositeId routing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542272 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 14:01:41 +00:00
Shalin Shekhar Mangar a917f0fd3e SOLR-5421: Remove double set of distrib.from param in processAdd method of DistributedUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542177 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 05:44:14 +00:00
Erick Erickson 7b608c2e1f SOLR-5441: the null-pointer patch addition
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542142 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 00:48:08 +00:00
Robert Muir afb1c8d693 SOLR-5399: fix windows test issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542080 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 21:07:07 +00:00
Shalin Shekhar Mangar e135619391 SOLR-5441: Expose number of transaction log files and their size via JMX
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541999 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 18:07:25 +00:00
Shalin Shekhar Mangar 005141020b SOLR-5438: DebugComponent throws NPE when used with grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541849 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 08:48:57 +00:00
Shalin Shekhar Mangar 5d2d0e70f3 SOLR-5308: A new 'migrate' collection API to split all documents with a route key into another collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541832 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 05:58:22 +00:00
Noble Paul 2033638560 SOLR-5437
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541830 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 05:51:59 +00:00
Ryan Ernst 978a849f61 SOLR-5399: Add distributed request tracking information to DebugComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541774 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 01:08:41 +00:00
Noble Paul 39c1cf1972 SOLR-5437
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541600 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 16:40:39 +00:00
Noble Paul 80ad858997 SOLR-5437
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541404 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 07:02:36 +00:00
Joel Bernstein 3835bff32d SOLR-5408 Fixed issue with scorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541232 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 20:53:29 +00:00
Joel Bernstein 12b06a0b72 SOLR-5408 Fix CollapsingQParserPlugin issue with compound sort criteria
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1540904 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 00:50:39 +00:00
Erick Erickson 718d1a8001 SOLR-3397: Insure that replication and SolrCloud are compatible. Actually, just log a warning if SolrCloud is detected and master or slave is configured in solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1540881 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 23:27:33 +00:00
Uwe Schindler 7315a90a7b LUCENE-4753: Run forbidden-apis Ant task per module. This allows more improvements and prevents OOMs after the number of class files raised recently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1540573 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 22:50:51 +00:00
Yonik Seeley 2e8469408a SOLR-5374: missing returns in user versioning processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1540336 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09 15:56:29 +00:00
Erick Erickson e8be371724 SOLR-5366: transient cores automatically unloaded when creating cores via admin API would be closed too many times
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1539709 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 16:47:12 +00:00
Erick Erickson 6e40ba21af SOLR-5318: create HTTP API command doesn't respect transient core property
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1539343 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 14:23:47 +00:00
Erick Erickson a9f8bf654c SOLR-5084: added enum field type to Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1539111 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 19:41:28 +00:00
Erick Erickson 5b372bd1cd Fix for SOLR-5418, merge after altering schema produces error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538802 13f79535-47bb-0310-9956-ffa450edef68
2013-11-04 23:21:12 +00:00
Mark Robert Miller c47050e211 tests: ignore test while im away
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538630 13f79535-47bb-0310-9956-ffa450edef68
2013-11-04 14:39:20 +00:00
Mark Robert Miller 537cc460a3 tests: use debug logging level for solrcloud debug output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538380 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 15:36:06 +00:00
Mark Robert Miller e35fc347d8 tests: 120000 is too high for 'evil' freebsd env - try 90000
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538377 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 15:26:53 +00:00
Noble Paul e3fa6f3367 SOLR-5415
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538325 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 07:08:14 +00:00
Noble Paul 5e87b67337 SOLR-5311 trying to stop test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538254 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 19:05:58 +00:00
Mark Robert Miller 24279e5c6a tests: solrcloud debug sys outs to sys err
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538198 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 14:15:29 +00:00
Mark Robert Miller 1d12507774 tests: add sys prop for enabling solrcloud debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538196 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 14:12:24 +00:00
Steven Rowe 9990a2eab9 LUCENE-5322: Clean up / simplify Maven-related Ant targets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538144 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 05:04:19 +00:00
Mark Robert Miller 126c6429c2 tests: raise socket timeout for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538129 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 01:51:32 +00:00
Mark Robert Miller 1642dffa59 tests: blockUntilFinished when stopping concurrent solrserver
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538126 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 01:23:19 +00:00
Mark Robert Miller f412b66a51 SOLR-5232: fix retry logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538112 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 00:46:50 +00:00
Noble Paul be0bb552ee SOLR-5311, invalid error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537978 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 16:30:16 +00:00
Steven Rowe 13da2a505a fix regex to ignore XML attribute order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537954 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 15:21:38 +00:00
Mark Robert Miller 4f5426ae94 SOLR-5392: Add conf set name to solrj collection create methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537941 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 14:14:07 +00:00
Mark Robert Miller 5952539b07 SOLR-5392: Extend solrj apis to cover collection management.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537787 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 00:50:08 +00:00
Yonik Seeley f203921c1c SOLR-5374: fix unnamed thread pool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537704 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 21:47:10 +00:00
Yonik Seeley d18a6f1e03 SOLR-5374: user version update processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537587 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 19:13:35 +00:00
Steven Rowe 6a51e5b963 More add field tests; json escaped double quotes -> single + json() wrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537399 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 08:30:37 +00:00
Uwe Schindler 33298abc3f SOLR-5401: SolrResourceLoader logs a warning if a deprecated (factory) class is used in schema or config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537119 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 14:56:39 +00:00
Noble Paul cd49552b57 SOLR-5311 tests were failing intermittently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537060 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 12:10:20 +00:00
Michael McCandless 9ba1122f55 LUCENE-5313: move preservePositionIncrements from setter to ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537038 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 11:11:17 +00:00
Noble Paul b77786112f SOLR-5400
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536846 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 18:50:31 +00:00
Adrien Grand 1255539501 Add missing license header that made `ant rat-sources` fail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536627 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 09:47:49 +00:00
Noble Paul 0ce6e9a694 SOLR-5311 - Avoid registering replicas which are removed , SOLR-5310 -Add a collection admin command to remove a replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536606 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 08:37:02 +00:00
Mark Robert Miller 03ed51acef SOLR-5397: If a retry fails, *always* finish the rest of the retries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536511 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 20:43:46 +00:00
Mark Robert Miller 8d40d4d2c6 SOLR-5397: Move the call to obtain a ConcucrrentSolrServer into try catch block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536499 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 20:11:16 +00:00
Yonik Seeley e3f0033035 SOLR-5395: add RunAlways marker interface for update processor facctories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536344 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 13:02:45 +00:00
Yonik Seeley 0522dd002e SOLR-5395: add RunAlways marker interface for update processor facctories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536341 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 12:53:05 +00:00
Joel Bernstein 929c88c78f SOLR-5027: Added error handling to CollapsingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535614 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 02:50:34 +00:00
Adrien Grand d49ba41f54 LUCENE-5304: SingletonSortedSetDocValues can now return the wrapped SortedDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535382 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 13:52:40 +00:00
Joel Bernstein 3a594688a5 SOLR-5027 CollapsingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535208 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 23:19:12 +00:00
Mark Robert Miller 1c8595c86a SOLR-5384: randomlyEnableAutoSoftCommit in ChaosMonkeySafeLeaderTest is buggy.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535204 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 22:37:47 +00:00
Mark Robert Miller 9c47892d4e SOLR-5380: Using cloudSolrServer.setDefaultCollection(collectionId) does not work as intended for an alias spanning more than 1 collection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535076 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 17:11:44 +00:00
Alan Woodward 0c95712ee4 SOLR-5363: Solr doesn't start up properly with Log4J2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535065 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 15:47:00 +00:00
Shalin Shekhar Mangar e29c49f458 SOLR-5300: Check that the supplied hash ranges actually cover the entire range of the shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534974 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 10:26:20 +00:00
Shalin Shekhar Mangar 99db3a2137 Increase read timeout in shard split call to 5 minutes. 1 minute is too low for many seeds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534046 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 07:24:45 +00:00
Mark Robert Miller 4975ad612b SOLR-5371: Solr should consistently call SolrServer#shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534002 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 22:58:36 +00:00
Mark Robert Miller 26e7b5edb6 SOLR-5370: Requests to recover when an update fails should be done in background threads.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533996 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 22:31:36 +00:00
Shawn Heisey 52a77784c2 SOLR-5042 SOLR-5125 SOLR-5368: mlt.count used incorrectly in MoreLikeThisComponent.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533995 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 21:40:55 +00:00
Mark Robert Miller 3543a7544c tests: try a 2 minute so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533956 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 19:14:43 +00:00
Mark Robert Miller 76bea43846 use a minimum socket read timeout of 1 min
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533933 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 18:09:20 +00:00
Mark Robert Miller 5141a5b842 SOLR-5369: first try - wait a little longer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533929 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 17:53:33 +00:00
Mark Robert Miller ef03527e87 SOLR-5328: Errant numShards in test solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533806 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 18:48:43 +00:00
Mark Robert Miller 3f289b737b SOLR-5223: SolrCloud should use the JavaBin binary format for communication by default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533684 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 03:24:08 +00:00
Mark Robert Miller 02e255ae46 SOLR-5216: Document updates to SolrCloud can cause a distributed deadlock.
SOLR-5232: SolrCloud should distribute updates via streaming rather than buffering.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533649 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 22:10:53 +00:00
Shalin Shekhar Mangar a4cb46ce23 SOLR-5353: Allow CoreAdmin split to accept a single range only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533528 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:11:01 +00:00
Shalin Shekhar Mangar ea81f1add6 SOLR-5353: Enhance CoreAdmin api to split a route key's documents from an index and leave behind all other documents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533163 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 17:08:59 +00:00
Yonik Seeley 086ec7c493 SOLR-5330: make copy of term bytes before calling next
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532900 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 20:45:48 +00:00
Shalin Shekhar Mangar 3aacbf9f91 SOLR-5338: CompositeIdRouter.keyHashRange should not throw exception if route key is not composite
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532867 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 19:16:17 +00:00
Ryan Ernst 9fecedb68e SOLR-5329: moved AbstractBadConfigTestBase to test-framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532676 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:04:31 +00:00
Shalin Shekhar Mangar 116439fa67 SOLR-5338: Split shards by a route key using split.key parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531845 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 10:48:02 +00:00
Mark Robert Miller eedb448b41 tests: poll a bit longer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531774 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 01:42:43 +00:00
Mark Robert Miller 16ba0ac6f5 tests: fix hdfs collections api test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531771 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 01:30:40 +00:00
Mark Robert Miller c5803cabf5 SOLR-5345: A first pass toning down OpenCloseCoreStressTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531766 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 22:45:25 +00:00
Robert Muir 13ed98be82 SOLR-5343: disable unreliable test method (fails more than 1/3 of the time)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531731 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 18:58:52 +00:00
Mark Robert Miller 0c6a64493c SOLR-5325: ZooKeeper connection loss can cause the Overseer to stop processing commands.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531313 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 14:34:49 +00:00
Mark Robert Miller 5c9cbe9847 SOLR-5317: remove debug sys errs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531172 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 02:18:50 +00:00
Mark Robert Miller 4a894a8882 SOLR-5317: Fix race when persisting cores in solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531163 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 01:37:24 +00:00
Mark Robert Miller d6bff5951c SOLR-5327: SOLR-4915, "The root cause should be returned to the user when a SolrCore create call fails", was reverted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531157 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 01:14:32 +00:00
Shalin Shekhar Mangar 2ab0051551 SOLR-5324: Make sub shard replica recovery and shard state switch asynchronous
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530994 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 14:26:29 +00:00
Mark Robert Miller 1c4c891e8e SOLR-5317: tests: Compare absolute paths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530993 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 14:26:19 +00:00
Mark Robert Miller 33f7d2b5ea SOLR-5317: SolrCore persistence bugs if defining SolrCores in solr.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530856 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 04:10:33 +00:00
Mark Robert Miller 8281cbf8af SOLR-5306: Extra collection creation parameters like collection.configName are not being respected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530772 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 19:46:00 +00:00
Robert Muir 57f38e67d6 LUCENE-5261: add simple API to build queries from analysis chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530693 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 15:59:24 +00:00
Shalin Shekhar Mangar cd6c2268da SOLR-5321: Remove unnecessary code in Overseer.updateState method which tries to use router name from message where none is ever sent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530555 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 10:34:15 +00:00
Shalin Shekhar Mangar 924865bf4a SOLR-5319: Remove unused and incorrect router name from Collection ZK nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530521 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 08:18:46 +00:00
Shalin Shekhar Mangar c98fa19d33 SOLR-5314: Shard split action should use soft commits instead of hard commits to make sub shard data visible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530267 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 13:21:54 +00:00
Robert Muir 64a795b6e3 LUCENE-5259: convert analysis consumers to try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529770 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 06:24:25 +00:00
Robert Muir 8fba601ed1 LUCENE-5240: additional safety in Tokenizer state machine
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529482 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 16:41:28 +00:00
Shalin Shekhar Mangar 2cd31e54b5 SOLR-5300: Shards can be split by specifying arbitrary number of hash ranges within the shard's hash range
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529444 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:00:36 +00:00
Shalin Shekhar Mangar f387bbcf61 SOLR-5304: Fixed typo in exception message in CurrencyField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529405 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 08:23:49 +00:00
Jan Høydahl 5f5f7e7756 SOLR-5301: DELETEALIAS command prints CREATEALIAS in logs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529335 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 22:32:56 +00:00
Shawn Heisey 16ce59c34a SOLR-5264: Removing deprecated getBooleanArg from trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529016 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 21:54:42 +00:00
Shawn Heisey 4ebdcbafb4 SOLR-5264: move getBooleanArg to NamedList#removeBooleanArg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528976 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 19:12:30 +00:00
Shawn Heisey a68586a036 SOLR-5264 removing deprecated "oneOrMany" method from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528699 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 01:38:40 +00:00
Shawn Heisey 86a0b893fe SOLR-5264 - move config argument retrieval/removal from Update Processor code to NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528680 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 23:45:25 +00:00
Shalin Shekhar Mangar dd1fb1bca3 SOLR-5296: Creating a collection with implicit router adds shard ranges to each shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528440 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 12:22:08 +00:00
Shalin Shekhar Mangar b883f6f5b8 SOLR-5295: The CREATESHARD collection API creates maxShardsPerNode number of replicas if replicationFactor is not specified
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528426 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 11:11:15 +00:00
Steven Rowe 02d8e37328 LUCENE-5249: All Lucene/Solr modules should use the same dependency versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528215 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 21:01:12 +00:00
Noble Paul d36147eca7 SOLR-5258 compute full composite hash on router.field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528113 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 15:01:01 +00:00
Mark Robert Miller 4f8f10dcb0 SOLR-5291: Solrj does not propagate the root cause to the user for many errors.
SOLR-3530: Better error messages / Content-Type validation in SolrJ.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527547 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 13:20:27 +00:00
Shai Erera 1a740cad06 LUCENE-5215: Add support for FieldInfos generation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527154 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 06:19:00 +00:00
Steven Rowe 52ca961100 SOLR-5279: Implicit properties don't seem to exist on core RELOAD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527042 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 19:36:18 +00:00
Steven Rowe 60479b32b0 SOLR-5281: IndexSchema log message was printing '[null]' instead of '[<core name>]'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526972 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 16:15:11 +00:00
Mark Robert Miller 2cdfc5cd97 SOLR-4590: Collections API should return a nice error when not in SolrCloud mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526614 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 17:32:01 +00:00
Mark Robert Miller 8eca0a7ccd SOLR-5274: Allow JettySolrRunner SSL config to be specified via a constructor.
Updating org.apache.httpcomponents above 4.2.2 causes tests using SSL to fail.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526494 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 13:57:29 +00:00
Shalin Shekhar Mangar 8dae16c6d9 SOLR-5246: Shard splitting now supports collections configured with router.field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526151 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 10:48:09 +00:00
Chris M. Hostetter b45e8cb708 fix windows test failure in TestImplicitCoreProperties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525935 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 16:07:07 +00:00
Chris M. Hostetter ae72053351 improve test: a few more implicit properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525733 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 23:35:40 +00:00
Shalin Shekhar Mangar 876573650b SOLR-5259: Fix typo in error message when _version_ field is missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525620 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 15:14:10 +00:00
Uwe Schindler 34adebab3b LUCENE-5235: Tokenizers now throw an IllegalStateException if the consumer does not call reset() before consuming the stream. Previous versions throwed NullPointerException or ArrayIndexOutOfBoundsException on best effort which was not user-friendly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525362 13f79535-47bb-0310-9956-ffa450edef68
2013-09-22 13:57:43 +00:00
Uwe Schindler da34b18cb3 SOLR-4882: Restrict SolrResourceLoader to only allow access to resource files below the instance dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525246 13f79535-47bb-0310-9956-ffa450edef68
2013-09-21 14:51:51 +00:00
Noble Paul 60e7475519 SOLR-4221 changed format router is stored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524442 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 15:10:04 +00:00
Mark Robert Miller c3bee17daa SOLR-5243: Killing a shard in one collection can result in leader election in a different collection if they share the same coreNodeName.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524286 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 03:37:53 +00:00
Yonik Seeley 4b0c01af41 SOLR-5240: unlimited core loading threads to fix waiting-for-other-replicas deadlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523871 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 02:14:50 +00:00
Chris M. Hostetter 804083be27 SOLR-5241: Fix SimplePostToolTest performance problem - implicit DNS lookups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523725 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 16:39:29 +00:00
Mark Robert Miller 479234e7e3 SOLR-5150: HdfsIndexInput may not fully read requested bytes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523693 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 15:06:26 +00:00
David Wayne Smiley 61dd81d787 SOLR-2548: Simplified multi-threading of facet.threads logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523677 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 14:34:03 +00:00
Robert Muir 11a2ca8959 SOLR-5167: Ability to use AnalyzingInfixSuggester in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523451 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 16:13:32 +00:00
Robert Muir 67358330e1 SOLR-5237: add lucene index heap usage to luke request handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523442 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 15:32:08 +00:00
Mark Robert Miller c4eb440bf8 tests: harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522701 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 19:28:32 +00:00
Yonik Seeley f2b3d010b3 SOLR-5148: optimization - lazy create child doc list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522680 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:44:09 +00:00
Adrien Grand d06ba3caaf LUCENE-5204: Make Directory easier to wrap.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522661 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 16:59:34 +00:00
Shalin Shekhar Mangar 247142e18c SOLR-5233: The deleteshard collections API doesn't wait for cluster state to update, can fail if some nodes of the deleted shard were down and had incorrect logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522463 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 07:14:10 +00:00
Noble Paul bddef8a226 SOLR-5006 added missed param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521955 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:57:20 +00:00
Chris M. Hostetter 86d4a61797 SOLR-5231: Fixed a bug with the behavior of BoolField that caused documents w/o a value for the field to act as if the value were true in functions if no other documents in the same index segment had a value of true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521948 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:35:24 +00:00
Ryan McKinley 3cf82592c1 SOLR-3706: getRenderedMessage() rather than + ""
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521741 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 06:06:48 +00:00
Ryan McKinley a338f097c6 SOLR-3706: avoid NPE (merge from 4x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521739 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 05:53:39 +00:00
Mark Robert Miller bd4f9b9896 SOLR-4816: CloudSolrServer can now route updates locally and no longer relies on inter-node update forwarding.
SOLR-3249: Allow CloudSolrServer and SolrCmdDistributor to use JavaBin.
SOLR-4816: CloudSolrServer now uses multiple threads to send updates by default.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521713 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 01:19:45 +00:00
Chris M. Hostetter 88a00de5b7 SOLR-5227: Correctly fail schema init if a dynamicField is configured to be required, or have a default value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521587 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:00:52 +00:00
Robert Muir d545fdfd1e SOLR-4909: Use DirectoryReader.openIfChanged in non-NRT mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521556 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 17:19:08 +00:00
Chris M. Hostetter 54427466aa SOLR-5222: test proving that dynamicField's using docValues work as expected with missing values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521304 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 22:29:42 +00:00
Erick Erickson e4bcd35ac0 SOLR-2548, Multithread faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520645 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 17:53:40 +00:00
Adrien Grand da16af7519 LUCENE-5101: Make it easier to plugin different bitset implementations to CachingWrapperFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520525 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 10:07:12 +00:00
Yonik Seeley 7e7cf0961f SOLR-5175: keep child order in block index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520042 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 14:57:44 +00:00
Chris M. Hostetter c53362f38a SOLR-5206: Fixed OpenExchangeRatesOrgProvider to use refreshInterval correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519858 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 21:39:51 +00:00
Chris M. Hostetter 31a88ab101 SOLR-3852: Fixed ZookeeperInfoServlet so that the SolrCloud Admin UI pages will work even if ZK contains nodes with data which are not utf8 text
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519763 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 17:29:49 +00:00
Yonik Seeley b352735c50 SOLR-5177: tests - add overwrite test for block join
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519679 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 13:36:41 +00:00
Erick Erickson 2ddb8154f4 SOLR-4688, add tests related to reporting ore init failures and lazy loaded cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519180 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 13:20:48 +00:00
Chris M. Hostetter 2f99004faf SOLR-5058: log msg typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518872 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 01:19:41 +00:00
Chris M. Hostetter 6f0040797e SOLR-4249: remove legacy UniqFieldsUpdateProcessorFactory init param syntax from trunk for 5.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518836 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 21:40:55 +00:00
Chris M. Hostetter 13bedbe616 SOLR-4249: UniqFieldsUpdateProcessorFactory now extends FieldMutatingUpdateProcessorFactory and supports all of it's selector options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518717 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 17:31:17 +00:00
Chris M. Hostetter 5e70c629a4 SOLR-5118: more testing of edge case and some error conditions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518352 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 20:18:51 +00:00
Mark Robert Miller cb439e9482 SOLR-5188: Bring back a test that checks the default LogWatcher enabled setting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517816 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 13:41:34 +00:00
Mark Robert Miller 4e9f65f2b0 SOLR-5188: The default LogWatcher should default to enabled and add some more LogWatcher init logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517805 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 12:57:35 +00:00
Erick Erickson 84063af19a SOLR-4817 Solr should not fall back to the back compat built in solr.xml in SolrCloud mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517398 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 00:06:04 +00:00
Yonik Seeley 13789ae20b SOLR-5143: tests - avoid too large of a tree for a single block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516847 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 13:48:42 +00:00
Robert Muir f6318fab03 remove code duplication in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516661 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 23:17:55 +00:00
Robert Muir bc94ec4dc1 SOLR-5182: add regenerator for blockjoin cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516653 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 22:52:27 +00:00
Erick Erickson 3865e131cb SOLR-5057 - queryResultCache should match out-of-order fq clauses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516299 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 20:31:39 +00:00
Steven Rowe 918053d646 SOLR-5173: Solr-core's Maven configuration includes test-only Hadoop dependencies as indirect compile-time dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516264 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 19:12:42 +00:00
Robert Muir 39dbc26716 LUCENE-5178: add missing support for docvalues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515977 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 21:30:55 +00:00
Robert Muir 2bbc869516 add a solr test for missing dv
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1515959 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 20:37:06 +00:00
Chris M. Hostetter fbbdba2614 SOLR-5108: fail plugin info loading if multiple instances exist but only one is expected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515852 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 16:02:38 +00:00
Robert Muir 3b49cf1c86 Merged /lucene/dev/trunk:r1514712-1515613
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1515615 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 21:31:34 +00:00
Chris M. Hostetter 0337755ed8 SOLR-5168: test improvements and @Ignore still broken test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515521 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 17:25:18 +00:00
Robert Muir d208878c11 improve DV faceting tests, support missing count for single valued string fields, remove required/default restriction
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1515520 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 17:23:52 +00:00
Alan Woodward c93e362fd4 SOLR-5162: ...with the right license header this time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515035 13f79535-47bb-0310-9956-ffa450edef68
2013-08-17 18:54:54 +00:00
Alan Woodward b669bf3a7c SOLR-5162: Add back core implicit properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515032 13f79535-47bb-0310-9956-ffa450edef68
2013-08-17 18:49:50 +00:00
Robert Muir 2c6bf04190 bump 4.5 codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514897 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 21:19:19 +00:00
Mark Robert Miller d0bb1cc471 SOLR-5164: add relative solr.home testing to some tests, explicitly check for expected instanceDir handling with relative solr.home
SOLR-5099: explicity check for proper solrcore.properties creation
Speed up some tests by setting leaderVoteWait to 0

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514857 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 19:12:29 +00:00
Erick Erickson 55142ef165 SOLR-4718 Allow solr.xml to be stored in ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514800 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:16:02 +00:00
Chris M. Hostetter 3399d7ec73 SOLR-3936: Fixed QueryElevationComponent sorting when used with Grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514795 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:14:02 +00:00
Erick Erickson b8097e9e53 SOLR-5156 Provide a way to move the contents of a file to ZooKeeper with ZkCLI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514776 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 16:30:17 +00:00
Robert Muir 7a4f7c669b Merged /lucene/dev/trunk:r1514641-1514711
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514719 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 14:11:27 +00:00
Erick Erickson fd9ae25cd1 SOLR-5164, Can not create a collection via collections API (cloud mode). Fixes SOLR-5099 too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514666 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 12:01:06 +00:00
Robert Muir 3be8ed1d10 LUCENE-5178: add 'missing' support to docvalues (simpletext only)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514642 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 10:25:38 +00:00
Chris M. Hostetter f02170a048 SOLR-5122: fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514494 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 21:07:16 +00:00
Chris M. Hostetter 1b3b9294cc SOLR-5122: Fixed bug in spellcheck.collateMaxCollectDocs. Eliminates risk of divide by zero, and makes estimated hit counts meaningful in non-optimized indexes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514402 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 17:50:30 +00:00