Commit Graph

6883 Commits

Author SHA1 Message Date
Mark Robert Miller ed9e1fc1b5 SOLR-7311: Add some infrastructure and tests to make sure Solr works well in the face of Name Node high availability and failover.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675883 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 15:08:11 +00:00
Yonik Seeley 1a778cd068 docs: move bug to right section of CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675879 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 15:01:39 +00:00
Yonik Seeley 558d85f892 SOLR-7387: fix distrib terms facet sorting buckets by min,max,avg,unique
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675707 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:35:09 +00:00
Tomas Eduardo Fernandez Lobbe 68ac99b511 SOLR-7406: Add facet.range.method parameter with options 'filter' and 'dv' for range faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675706 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:27:34 +00:00
Shalin Shekhar Mangar 299ddc5abe SOLR-4839: SSL support with Jetty 9. Also fixes SOLR-7449 on trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675619 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 14:17:35 +00:00
Noble Paul 551562bed6 SOLR-7157: initParams must support tags other than appends, defaults and, invariants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675591 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:34:35 +00:00
Ramkumar Aiyengar 852e04e3d0 SOLR-7081: TestMiniSolrCloudCluster.testBasics tidies up after itself, adds collection create/delete/create test case.
TestMiniSolrCloudCluster.testBasics now re-creates the server it removed for test purposes,
thus restoring the original NUM_SERVERS count. TestMiniSolrCloudCluster.testBasics now also deletes
the collection it created for test purposes (this revision adds MiniSolrCloudCluster.deleteCollection
and AbstractDistribZkTestBase.waitForCollectionToDisappear methods).

Sometimes TestMiniSolrCloudCluster.testBasics runs its create-collection/search-collection/delete-collection
logic twice, thus creating a create/delete/create-collection test case.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675590 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:29:52 +00:00
David Wayne Smiley 9d1c2019a8 LUCENE-6422: New spatial PackedQuadPrefixTree. Thanks Nick!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675538 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 04:08:31 +00:00
Ramkumar Aiyengar e86dec2058 SOLR-7450: Fix grep options used when searching for numbers in bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675511 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 22:42:19 +00:00
Yonik Seeley dd68aaf7e0 tests: test date docvalues w/ json facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 19:19:52 +00:00
Yonik Seeley a02b9a08a1 SOLR-7417: implement unique() for numeric fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675427 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 17:22:27 +00:00
Shalin Shekhar Mangar 9464d2afb7 SOLR-4839: Make our jetty configs resemble stock Jetty 9.3 configs more closely. Thread pool and common config goes to jetty.xml. All property names are prefixed with solr.jetty. SSL keystore paths are now absolute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675337 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:35:31 +00:00
Noble Paul 8c5fcd1ff6 SOLR-7176: zkcli script can perfrom the CLUSTERPROP command without a running Solr cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675331 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:12:33 +00:00
Shai Erera 5afa59c004 SOLR-7408: Let SolrCore be the only thing which registers/unregisters a config directory listener
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675274 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 08:25:26 +00:00
Shalin Shekhar Mangar ede96a0dd1 SOLR-4839: Upgrade jetty to 9.2.10.v20150310 in trunk. Also, moved the change log entry to 6.0.0 until we backport to 5x.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675261 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 05:57:28 +00:00
Shalin Shekhar Mangar 3c1c7279dc SOLR-7440: DebugComponent does not return the right requestPurpose for pivot facet refinements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675258 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 04:25:13 +00:00
Yonik Seeley f8025175d5 SOLR-7443: Implement range faceting over date fields in facet module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675246 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 02:23:09 +00:00
Anshum Gupta 2482af467d SOLR-7418: Check and raise a SolrException instead of an NPE when an invalid doc id is sent to the MLTQParser in Cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675230 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 00:09:33 +00:00
Adrien Grand c6821e1a19 LUCENE-6446: Simplified Explanation API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675109 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 12:55:41 +00:00
Shalin Shekhar Mangar 2aed77e893 SOLR-6665: Add AwaitsFix annotation to the new test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675067 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 09:04:17 +00:00
Shalin Shekhar Mangar 9eae452cfb SOLR-6665: ZkController.publishAndWaitForDownStates can return before all local cores are marked as 'down' if multiple replicas with the same core name exist in the cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675030 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 05:49:39 +00:00
Mark Robert Miller d33eb8eb44 SOLR-7429: Remove Solr server module sync-hack introduced in SOLR-4050.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674997 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 22:39:13 +00:00
Uwe Schindler f4207755d9 LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674939 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 16:26:26 +00:00
Uwe Schindler 5b4fe002ba LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00
Steven Rowe 0bc9c7821d SOLR-7419: document intentional overflow in SolrQueryTimeoutImpl thread local
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674866 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 14:25:52 +00:00
Shalin Shekhar Mangar da1cd63a22 SOLR-7421: RecoveryAfterSoftCommitTest fails frequently on Jenkins due to full index replication taking longer than 30 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674733 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:44:02 +00:00
Mark Robert Miller ea83cc6678 SOLR-7426: SolrConfig#getConfigOverlay does not clean up it's resources.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674666 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 18:44:21 +00:00
Shalin Shekhar Mangar e699256bbb SOLR-7381: Uncaught exceptions thrown by tasks in the pool are logged along with submitter's stack trace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674593 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 03:48:22 +00:00
Ramkumar Aiyengar 19e25c78b6 SOLR-7392: Fix SOLR_JAVA_MEM and SOLR_OPTS customizations in solr.in.sh being ignored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674565 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 19:13:00 +00:00
Yonik Seeley 3b94724907 SOLR-7422: "type" param for JSON Facet API for flatter structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674519 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:27:26 +00:00
Timothy Potter beea9c2733 SOLR-7421: Marking test as a BadApple for now until we can figure out what is causing replication to take so long for a small index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674512 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:11:26 +00:00
Shalin Shekhar Mangar e541bccd45 SOLR-7420: Overseer stats are not reset on loss of ZK connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 08:42:57 +00:00
Shalin Shekhar Mangar 8573f64b9c SOLR-6087: SolrIndexSearcher makes no DelegatingCollector.finish() call when IndexSearcher throws an expected exception. This closes #57.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674443 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 04:43:19 +00:00
Shalin Shekhar Mangar f258d2f9d4 SOLR-6886: Removed redundant size check and added missing calls to DelegatingCollection.finish inside Grouping code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674430 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 03:32:36 +00:00
Tomas Eduardo Fernandez Lobbe 61bdfdd635 SOLR-7412: Fixed range.facet.other parameter for distributed requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674182 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 01:35:30 +00:00
Yonik Seeley 4e73212034 SOLR-7411: fix threadsafety bug in SearchHandler introduced in SOLR-7380
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674163 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 22:47:11 +00:00
Adrien Grand f4c0546567 LUCENE-6425: Replaced Query.extractTerms with Weight.extractTerms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674091 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 15:14:35 +00:00
Shai Erera dee02e6151 SOLR-7401: fix copy/paste bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673888 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 17:33:48 +00:00
Shai Erera 86b191c550 SOLR-7401: fixed NPE when concurrently creating and deleting collections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 15:05:06 +00:00
Tommaso Teofili 06a1248a4d SOLR-7376 - adjusted RawValueTransformerFactoryimpl to use StorableField#stringValue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673731 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 11:29:02 +00:00
Tommaso Teofili 4187f7c507 SOLR-7376 - commented code using old IndexableField API, just using Object#toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673665 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 07:14:49 +00:00
Ryan McKinley 6e96326e20 Merged revision(s) 1673654 from lucene/dev/branches/branch_5x:
SOLR-7376: adding missing files
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673655 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 06:15:20 +00:00
Ryan McKinley 63edfb11c6 Merged revision(s) 1673647 from lucene/dev/branches/branch_5x:
SOLR-7376: Return raw XML or JSON
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673649 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 04:57:39 +00:00
Shalin Shekhar Mangar 382f9e45e0 SOLR-7381: MDC keys are now exposed in thread names automatically so that a thread dump can give hints on what the thread was doing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673469 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 17:03:38 +00:00
Varun Thacker 71fca8a60d SOLR-6637: improve CHANGES entry + fix wrong usage of path in snapshooter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673420 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 13:15:49 +00:00
Shalin Shekhar Mangar 293efe55c1 SOLR-7381: Set node name in MDC inside ZkController as soon as we discover it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673411 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 11:45:20 +00:00
Shalin Shekhar Mangar a64266193a SOLR-7381: Usages of Executors#newFixedThreadPool, #newSingleThreadExecutor, #newCachedThreadPool as well as ThreadPoolExecutor directly is now forbidden in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673372 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 06:50:52 +00:00
Noble Paul bdefedfa42 Do not throw cached Exception, create new
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673364 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:34:29 +00:00
Noble Paul e666070542 Reduce logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673362 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:26:11 +00:00
Shalin Shekhar Mangar 53c80b10cf SOLR-7385: The clusterstatus API now returns the config set used to create a collection inside a 'configName' key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673360 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:25:12 +00:00