Commit Graph

4966 Commits

Author SHA1 Message Date
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
Joel Bernstein ab4984419e Added 4.6.1 CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552905 13f79535-47bb-0310-9956-ffa450edef68
2013-12-21 14:09:11 +00:00
Mark Robert Miller 5f17bb8a01 SOLR-5565: Raise default ZooKeeper session timeout to 30 seconds from 15 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552700 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 15:16:03 +00:00
Mark Robert Miller 136a2c7190 SOLR-5562: ConcurrentUpdateSolrServer constructor ignores supplied httpclient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552691 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:56:07 +00:00
Mark Robert Miller 0a6017d7da SOLR-1301: Merge Morphlines modules up to Kite 0.10 and CDK 0.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552398 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 19:13:47 +00:00
Mark Robert Miller e7d605a2d5 SOLR-1301: Update to Kite 0.10 from CDK 0.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552381 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 17:51:39 +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 6df2115c56 SOLR-1301: Update jar checksums for Morphlines 0.9.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548795 13f79535-47bb-0310-9956-ffa450edef68
2013-12-07 06:17:30 +00:00
Mark Robert Miller c7a3b96893 SOLR-5532: SolrJ Content-Type validation is too strict for some webcontainers / proxies.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548659 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 19:01:03 +00:00
Mark Robert Miller 00b0209844 SOLR-1301: Fix a couple of bugs around setting up the embedded Solr instance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548600 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 17:04:47 +00:00
Mark Robert Miller 618f6b876d SOLR-5533: Improve out of the box support for running Solr on hdfs with SolrCloud.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548593 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 16:49:18 +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
Mark Robert Miller a758823bbe Clean up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548587 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 16:41:08 +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
Stefan Matheis ad4b95a353 SOLR-5539: Admin UI - Remove ability to create/modify files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548477 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 09:53:03 +00:00
Mark Robert Miller 6350b2d709 SOLR-1301: Clean up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547962 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 23:28:50 +00:00
Mark Robert Miller e4f83aa1a0 SOLR-1301: Merge in latest morphlines module updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547879 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 19:11:41 +00:00
Mark Robert Miller b2a253a930 SOLR-1301: Merge in latest solr-map-reduce updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547871 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 18:28:45 +00:00
Shalin Shekhar Mangar 1ae2e523df SOLR-5502: Moving change log entry to the other section because this bug hasn't been released yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547835 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 15:54:06 +00:00
Mark Robert Miller bca33f30d2 SOLR-1301: Straighten out module names so that they match current convention
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547819 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 15:15:24 +00:00
Uwe Schindler 7bf6ee0a92 Fix annotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547631 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 22:56:56 +00:00
Yonik Seeley f47d26a49e docs: SOLR-552 should be SOLR-5524
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547581 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 20:40:35 +00:00
Yonik Seeley 56e6b5752a SOLR-552: change scale function to use itself as context key instead of source
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547568 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 20:22:21 +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 5416a09e73 SOLR-5502: Fix inadvertently removed changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547522 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 18:43:26 +00:00
Robert Muir b5dbac5e35 LUCENE-4381: upgrade ICU to icu4j 52.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547502 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 18:05:23 +00:00
Steven Rowe 5f5098299a SOLR-1301: remove unnecessary (POM-only) dependency org.apache.hadoop:hadoop-yarn-server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547498 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 17:54:57 +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
Mark Robert Miller 09aa2dce76 SOLR-1301: Ignore these tests on java 8 and j9 for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547442 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 15:42:16 +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
Shalin Shekhar Mangar fcf3a10704 SOLR-5527: DIH logs spurious warning for special commands
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547394 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 14:13:13 +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
Robert Muir d1085391c1 remove unused sha1s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547298 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 06:28:24 +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
Uwe Schindler 4a1301c750 SOLR-1301: Ignore windows tests that cannot work because they use UNIX semantics. Also remove a never-executed test which tests nothing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547242 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 23:49:30 +00:00
Uwe Schindler ae33505da5 SOLR-1301: Fix windows problem with escaping of folder name (see crazy https://github.com/typesafehub/config/blob/master/HOCON.md for correct format: string must be quoted and escaped like javascript)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547239 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 23:30:54 +00:00
Uwe Schindler b7911212bf SOLR-1301: Fix compilation for Java 8 (the Java 8 compiler is more picky, but it's not a Java 8 regression: the code was just wrong)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547232 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 22:45:34 +00:00
Mark Robert Miller b49acb3894 SOLR-1301: Ivy likes to act funny if you don't declare compile and test resources in the same dependency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547187 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 20:51:19 +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 1e42240e89 SOLR-5482: add option to simulate hard jetty fails with iptables
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546863 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 21:58:45 +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 1e26cb20ba SOLR-5023: Add attribution to issue reporter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546795 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 09:09:11 +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 c3cbded1b1 SOLR-5499: Added a warning note in example solrconfig.xml against removing realtime get handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546776 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 04:43:27 +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 a6eb226481 boost the get leader timeout a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546679 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 02:30:56 +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 52e8ead225 SOLR-5354: fix attribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546589 13f79535-47bb-0310-9956-ffa450edef68
2013-11-29 16:03:21 +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
Stefan Matheis 765f907be1 SOLR-5189: Solr 4.x Web UI Log Viewer does not display 'date' column from logs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545581 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 09:41:38 +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
Shalin Shekhar Mangar b1e82e75ff SOLR-5494: Moving change log entry to bug fixes section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545551 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 06:28:06 +00:00
Mark Robert Miller 2912823f3a tests: up get leader timeout default to 2s from 1s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545530 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 03:30:40 +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
Mark Robert Miller dc147b8ee0 tests: mark the control requests in logging output for deletes as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545399 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 20:46:17 +00:00
Mark Robert Miller 78a40b68fb tests: remove extra control add from last commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545359 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 18:09:40 +00:00
Mark Robert Miller 42ead72e6f tests: mark the control requests in logging output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545336 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 16:25:51 +00:00
Shalin Shekhar Mangar 64c394c714 SOLR-5378: lucene expressions module's lib directory is not necessary in solr.lucene.libs path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545318 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 15:16:00 +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 9e7b76f893 tests: have TestLBHttpSolrServer extend SolrTestCaseJ4 so it runs jetty in test mode and is happier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545161 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 06:46:35 +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 2cd275ce25 SOLR-5417: make forbidden API's happy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545128 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 01:27:56 +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
Mark Robert Miller 262e0c4190 SOLR-5497: Did not help.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545107 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 23:15: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 aca845c6a0 SOLR-5497: Do not try and start a jetty that is not stopped
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545066 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 20:20:10 +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 ac8cd42ebd SOLR-5497: See if this helps.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545049 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:12:50 +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 eb1dcbaa70 SOLR-4376: DataImportHandler uses wrong date format for last_index_time if a delta-import is run first before any full-imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544421 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 06:45:14 +00:00
Mark Robert Miller 69bb099bd8 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544417 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 06:09:38 +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