7682 Commits

Author SHA1 Message Date
Chris Hostetter
592d10d7ce SOLR-13490: fix TestWaitForStateWithJettyShutdowns to use correct (randomized) JettyConfig
(cherry picked from commit 7eb8703df64b4fdda8113ddcbcd0b4d2413ecc38)
2019-06-17 15:34:24 -07:00
Chris Hostetter
2f2333a781 SOLR-13490: Fix CollectionStateWatcher/CollectionStatePredicate based APIs in ZkStateReader and CloudSolrClient to be triggered on liveNode changes.
Also add Predicate<DocCollection> equivilents for callers that don't care about liveNodes.

(cherry picked from commit 5a974860fa83408a86ca64b417f3111b037da7eb)
2019-06-17 10:00:05 -07:00
Noble Paul
562c462ee3 SOLR-13534: Dynamic loading of jars from a remote url (#712)
* SOLR-13534 : Dynamic loading to support loading jars from a URL
2019-06-17 17:00:26 +10:00
Gus Heck
2009c81374 SOLR-13420 Routed Aliases now use collection properties instead of core properties 2019-06-14 15:44:36 -04:00
Mikhail Khludnev
c73761b798 SOLR-13333: make terms.ttf work without terms.list in standalone mode 2019-06-14 15:46:22 +02:00
Christine Poerschke
908754a764 SOLR-13515: remove SolrPluginUtils.IdentityRegenerator in favour of NoOpRegenerator 2019-06-14 13:12:33 +01:00
Christine Poerschke
5c65d12460 SOLR-13511: Add SearchHandler.newResponseBuilder method to facilitate custom plugins' maintenance of per-request state in a custom ResponseBuilder. (Ramsey Haddad, Christine Poerschke) 2019-06-14 13:12:32 +01:00
Benoit Vanalderweireldt
28ef51bff3 SOLR-8754: add tests for org.apache.solr.util.hll.NumberUtilTest (#15)
(cherry picked from commit 2c10b1de19725ac30a342f9b551f9b6ad155b093)
2019-06-13 12:58:43 +02:00
Thomas Wöckinger
e91c5c5b75 SOLR-13347: Add support for reading/writing UUID from/to TransactionLog (#681)
SOLR-13347: Transaction log to natively support UUID types
2019-06-13 09:02:25 +10:00
Mikhail Khludnev
5f6df28e11 SOLR-13509: add omitHeader=false for shards requests to avoid NPE on partialResuls check 2019-06-12 18:12:21 +02:00
erick
cd809ef767 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing 2019-06-11 13:29:23 -07:00
Gus Heck
fbae72c4cc SOLR-13439 - Adds ability to locally cache collection properties for a specified duration. 2019-06-11 14:36:04 -04:00
Andrzej Bialecki
60821addcf Improve this test - instead of waiting a fixed amount of time wait until an update arrives.
Also, deal with partial updates.
2019-06-11 14:11:11 +02:00
Andrzej Bialecki
55ff28d15e Improve the test by actually checking that the version of Aliases is
more recent, instead of simply waiting.
2019-06-11 12:14:24 +02:00
Jan Høydahl
59e8886bf1 Revert "SOLR-13526: @AwaitsFix failing tests"
This reverts commit 891b8b04
2019-06-11 11:04:04 +02:00
Andrzej Bialecki
58d3761bf5 SOLR-13512: Fix a bug due to a different StoredFieldVisitor API in 8x. 2019-06-10 21:40:40 +02:00
Andrzej Bialecki
c932e7ffd5 SOLR-13512: Raw index data analysis tool (extension of COLSTATUS collection command). 2019-06-10 19:22:17 +02:00
Koen De Groote
8b6a0d0964 LUCENE-8847: Code Cleanup: Rewrite StringBuilder.append with concatted strings (#707)
This specific commit affects all points in the casebase where the argument of a StringBuilder.append() call is itself a regular String concatenation.
This defeats the purpose of using StringBuilder and also introduces an extra alloction.
These changes should avoid that.

ant tests have run, succeeded on local machine.

Removing test files from the changes.

Another suggested rework.
2019-06-10 18:10:06 +02:00
Tim Underwood
1e49d84545 LUCENE-8834: Cache the SortedNumericDocValues.docValueCount() value whenever it is used in a loop (#698) 2019-06-10 15:27:19 +02:00
Christine Poerschke
1710a8a36d SOLR-13496: Fix distributed grouping related NullPointerException in JSONWriter.writeSolrDocument 2019-06-07 16:50:18 +01:00
Jan Høydahl
891b8b04bb SOLR-13526: @AwaitsFix failing tests
(cherry picked from commit 85abdbebf57f9e85918cf72c1be20359710e62db)
2019-06-07 08:35:15 +02:00
Christine Poerschke
57c159e476 SOLR-13518: extra assertNotNull info for SolrInfoBeanTest 2019-06-05 20:39:55 +01:00
Cao Manh Dat
dc7b54df0c SOLR-13434: Fixes problem on Java 8 build 2019-06-05 15:33:51 +01:00
Chris Hostetter
63e93735a6 Fix TestSort.testRandomFieldNameSorts typo that ccaused very sporadic but reproducible failures
(cherry picked from commit 92cf9d8758285352a6bd3a959988f9b72ecdf8f0)
2019-06-04 13:50:16 -07:00
Cao Manh Dat
a39c342793 SOLR-13434: OpenTracing support for Solr (#685) 2019-06-04 20:05:17 +01:00
erick
06257c5847 SOLR-12249: Better error message when grouping on a tokenized (non SortableText) field in SolrCloud
(cherry picked from commit 7fb5b7ed357b730c93ece574d1e977ecd1268533)
2019-06-04 10:27:51 -07:00
Cao Manh Dat
518143c2f0 SOLR-13510: Intermittent 401's for internode requests with basicauth enabled 2019-06-04 16:17:29 +01:00
Erick Erickson
e890980311 SOLR-8346: Upgrade Zookeeper to version 3.5.5
(cherry picked from commit 7ebeab71f4b56d008835f0040468a07632024950)
2019-06-03 17:59:01 -07:00
markrmiller
96f000334c SOLR-13489: Stop the leader from trying to rejoin the election on session expiration and harden our zk reconnect code path.
# Conflicts:
#	solr/core/src/test/org/apache/solr/cloud/OverseerTest.java
2019-06-03 11:11:12 -05:00
Noble Paul
5c677f8f46 SOLR-13504: In autoscaling policies, use an explicit 'put : on-each' to specify the the rules is applied on each node (#694)
SOLR-13504: In autoscaling policies, use an explicit 'put : on-each' to specify the the rules is applied on each node
2019-06-03 18:41:10 +10:00
Chris Hostetter
753dfc43d6 Fix all solr tests to pass w/ -Dtests.dups=2 -Dtests.jvms=1
(cherry picked from commit c2b92f3015d44a48abc7cc5f7c972298ea317a07)
2019-05-29 10:27:40 -07:00
Christine Poerschke
e9feb1146b SOLR-12941: remove unused import in IndexSizeTriggerTest 2019-05-28 16:26:11 +01:00
Andrzej Bialecki
04d781db8b SOLR-12941: Fix IndexSizeTrigger to correctly work with "aboveBytes" and "splitMethod=link" parameters. 2019-05-28 11:34:36 +02:00
Noble Paul
c445ad4c75 SOLR-13493: /autoscaling/suggestions to be able to filter by type (#686)
* SOLR-13493: /autoscaling/suggestions to be able to filter by type
2019-05-28 07:58:39 +10:00
Erick Erickson
909910a9be SOLR-12562: Reverting Clean up RealTimeGetComponent.toSolrDoc (sha 97e7d8a3d78779bb26148ed1849ba1acdf44c6c5 and 15aa9dfb3de104c3cd880e1d59f835932c17e1ff)
(cherry picked from commit 57b64f26846294599f4f8016ce5566dffe5f4de2)
2019-05-27 08:38:33 -07:00
Erick Erickson
15aa9dfb3d SOLR-12652: Clean up RealTimeGetComponent.toSolrDoc
(cherry picked from commit 97e7d8a3d78779bb26148ed1849ba1acdf44c6c5)
2019-05-26 08:31:58 -07:00
Chris Hostetter
9465763628 Fix TestCloudSearcherWarming to work around SOLR-13490
Also clean up some crufty System.out/System.err pollution

(cherry picked from commit af4e1d324a389bac8cfcbffcbef20d4647957a61)
2019-05-25 08:40:20 -07:00
Noble Paul
e1fa16c324 SOLR-13484: autoscaling/diagnostics APIshould be able to give diagnostics output from config pasted as a payload 2019-05-24 08:06:21 +10:00
noble
93ce10e705 SOLR-13484:
autoscaling/diagnostics APIshould be able to give diagnostics output from config pasted as a payload
2019-05-24 07:54:46 +10:00
Erick Erickson
75f8ae55d0 SOLR-13454: Investigate ReindexCollectionTest failures
(cherry picked from commit 379e6f64b80918dd98a573c78be68fa901d70d5d)
2019-05-23 08:44:28 -07:00
Chris Hostetter
0ff6a59396 Fix TestStressCloudBlindAtomicUpdates to play nice with tests.dups
(cherry picked from commit 3ed31cfbc72b4e61d705a3e48202e386cdc3fe64)
2019-05-22 11:23:04 -07:00
Chris Hostetter
4dd3186c0f SOLR-13474: Fix "Search is temporarily disabled" logic to be consistent for entire request
SOLR-13469: Fix rejected requests during full disk full + IndexFetch to use 503 not 403
(cherry picked from commit 6cc67e433e191b5c0450a4d2fc06de26939ac920)

Conflicts:
	solr/CHANGES.txt
2019-05-20 10:29:00 -07:00
Andrzej Bialecki
4591f67390 SOLR-13475: Clean up empty alias lists. Fix the ordering or operations in the test. 2019-05-20 14:17:08 +02:00
Andrzej Bialecki
97d0d46db6 SOLR-13475: Null Pointer Exception when querying collection through collection alias. 2019-05-20 13:35:00 +02:00
Jan Høydahl
889cc4fc5c SOLR-13479: Harden OverseerTaskQueueTest
(cherry picked from commit 18cb42ee80854e2159201fe550b13d894425a4f8)
2019-05-17 20:57:19 +02:00
Alessandro Benedetti
6f83dad301 SOLR-12304: MLT component now supports mlt.interestingTerms
(cherry picked from commit b9db118ed3f60e0eb431126a1f5401b59c22808a)
2019-05-16 23:13:03 -04:00
Noble Paul
92451cf99c SOLR-13468: unused imports 2019-05-17 04:10:04 +10:00
David Smiley
6a3d32728b SOLR-13467: Include the S2 Geometry lib to make it simpler to use prefixTree="s2" on a Geo3D spatial field.
* Improved documentation on Geo3D.
* Better testing for Geo3D.

(cherry picked from commit 3a88ab616c9c8debe1f3a10e291697083eda3342)
2019-05-15 22:18:01 -04:00
Noble Paul
0f67df40b6 SOLR-13437: fork noggit code into Solr (#666)
* SOLR-13437: fork noggit code into Solr
2019-05-16 12:02:50 +10:00
Noble Paul
92ff728372 SOLR-13468: autoscaling/suggestions should be able to give suggestions from config sent as a payload (#678)
* SOLR-13468: autoscaling/suggestions should be able to give suggestions from config sent as a payload
2019-05-16 07:41:28 +10:00