Commit Graph

2581 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 76e71522a2 SOLR-5739: Removed shard state, range and parent from CoreAdmin calls and CoreDescriptor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569154 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 00:39:53 +00:00
Shawn Heisey bd527329ff SOLR-5741: correctly set max total connections on the HttpClient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569152 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 00:30:58 +00:00
Mark Robert Miller 110fc96440 tests: raise updates socket read timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569147 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 00:05:14 +00:00
Mark Robert Miller cae15ce7b6 SOLR-5740: Improve ChaosMonkey to not fail on expected fails due to client add/delete fails.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569120 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 22:17:37 +00:00
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