13453 Commits

Author SHA1 Message Date
Jan Høydahl
035d823acf SOLR-13702: Fix precommit 2019-08-23 18:33:07 +02:00
Jan Høydahl
4c9691ef19 SOLR-13702: Some components register twice their metric names (#834)
(cherry picked from commit 0aa3654802fa8fd7da27c80619248b92b3ac6af5)
2019-08-23 16:22:32 +02:00
noble
e94a7b05fb SOLR-13707: API to expose the currently used package name, details for each plugin 2019-08-22 16:32:51 +10:00
Noble Paul
42fe1e2ff5 SOLR-13707: API to expose the currently used package name, details for each plugin (#841) 2019-08-22 16:32:41 +10:00
Chris Hostetter
b0b17c441e Additional logging in test framework methods that 'waitFor' something to better trace order of operations when failures occur
(cherry picked from commit 2fdc882bc473627744c1fd184848dfabeab3648d)
2019-08-21 13:14:01 -07:00
Tomas Fernandez Lobbe
706059dded SOLR-13257: Support deterministic replica routing
Deterministic replica routing can help improve caching and allow a more consistent paging when sorting by score

This closes #677
2019-08-21 11:38:15 -07:00
noble
9c5a66fa9f SOLR-13706: Config API output is broken for "highlight" component 2019-08-21 07:30:24 +10:00
nppoly
c09ddcb718 LUCENE-8755: Spatial-extras quad and packed-quad trees now index
points a little faster, and also fix an edge case bug.
 Fixes #824

(cherry picked from commit 26628b2717a73235db56fde94f7f5b64cbc5b8b2)
2019-08-20 23:11:27 +02:00
Chris Hostetter
f9139649b1 SOLR-13650: AwaitsFix TestContainerReqHandler.testCacheFromGlobalLoader
the jenkins failure rate for this test since it was committed is over 80%, it needs to be dsaibled until this can be addressed

(cherry picked from commit 8725944fba69cca19dddcac2617251b38f0b1cf9)
2019-08-20 09:45:37 -07:00
Noble Paul
c18146602b
SOLR-13650: ref guide typo 2019-08-20 18:37:28 +10:00
Munendra S N
e584c9d140 SOLR-13704: correct error codes for client errors in expand component 2019-08-20 09:59:29 +05:30
noble
ddb46deec3 SOLR-13650: ref guide 2019-08-20 12:03:19 +10:00
noble
625e3f38b2 SOLR-13650: CHANGES.txt 2019-08-20 11:57:08 +10:00
noble
6d3d3c7a6c SOLR-13650: precommit errors fixed 2019-08-20 11:56:59 +10:00
noble
ecfd0c14bc SOLR-13650: cache reload listener 2019-08-20 11:56:48 +10:00
noble
129231d4a7 SOLR-13650: compile error fixed 2019-08-20 11:56:35 +10:00
Noble Paul
b0a11ba5c7 SOLR-13650: Support for named global classloaders 2019-08-20 11:56:18 +10:00
Chris Hostetter
ee50c9d5ac Harden TestExtendedDismaxParser.testBf
Eliminate assumption about index order

(cherry picked from commit a12cf2f6d84e55a77d99384602fad464b7e90d80)
2019-08-19 15:33:49 -07:00
Chris Hostetter
c324be4874 Harden TestExportWriter
force MergePolicy to ensure index order assumptions are valid

(cherry picked from commit 8a24641fb2b2949855a3b9226fb83375295a257e)
2019-08-19 11:54:27 -07:00
Munendra S N
f749bd7bc4 SOLR-6328: return missing count for facet.missing=true even if limit=0
* facet.missing is independent of facet.limit. So, even for limit=0,
  missing counts should be return if facet.missing=true
2019-08-19 21:04:16 +05:30
noble
bad55fd51a SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them 2019-08-19 19:52:37 +10:00
Noble Paul
1c0490c9ab SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them (#836)
* SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them
2019-08-19 19:52:16 +10:00
Chris Hostetter
eb7e3b0114 SOLR-13701: Fixed JWTAuthPlugin to update metrics prior to continuing w/other filters or returning error
(cherry picked from commit f5856ef40479250abf496e684d88c54f27ee8e73)
2019-08-18 12:21:34 -07:00
Chris Hostetter
2ca46fb0a3 SOLR-13700: Fixed a race condition when initializing metrics for new security plugins on security.json change
(cherry picked from commit 251259d5abf94578b51da3efd05327da72667e7e)
2019-08-18 12:21:24 -07:00
Chris Hostetter
e6df368e53 Harden AliasIntegrationTest.testClusterStateProviderAPI
use the underlying ZKStateReader of the ClusterStateProvider when waiting for the alias ZNodeVersion to change

prior versions of the test waited using the zkStateReader of the remote client, but there was no garuntee that the state had been updated on the ClusterStateProvider being used by the test

(cherry picked from commit 54ab07718a016c888e69ff4a8070c24cf34d3a51)
2019-08-14 21:37:28 -07:00
Andrzej Bialecki
09bee6d57c SOLR-13694: IndexSizeEstimator NullPointerException. 2019-08-14 18:51:49 +02:00
Mikhail Khludnev
ea8f921e71 adding <SpanPositionRange> into XML Query Parser 2019-08-14 18:23:08 +03:00
Andrzej Bialecki
c48a3cd9dc SOLR-13693: Use strongly-typed setters for cache parameters. 2019-08-14 15:59:36 +02:00
noble
8be67aa4c4 SOLR-13688: compile error on java 8 2019-08-14 09:55:22 +10:00
Christine Poerschke
4689fb8642 SOLR-13240: make operation-not-null checks consistent in TestPolicy.testNodeLostMultipleReplica
(Richard Goodman via Christine Poerschke)
2019-08-13 15:37:20 +01:00
noble
03fd3d3923 SOLR-13688: Run the bin/solr export command multithreaded 2019-08-13 18:56:28 +10:00
Chris Hostetter
06dd37e907 SOLR-13464: Test work arounds
* Refactor existing work around in BasicAuthIntegrationTest up into SolrCloudAuthTestCase for re-use in JWTAuthPluginIntegrationTest

 * Simplify BasicAuthOnSingleNodeTest and PKIAuthenticationIntegrationTest to use their existing (static) security settings on creation of MiniSolrCloud.  Since they no longer modify security.json once the nodes are alive, the issue no longer affects them

(cherry picked from commit c7822c393e6affa77c233f9e8e9bf9d8aeb12578)
(cherry picked from commit 0291db44bc8e092f7cb2f577f0ac8ab6fa6a5fd7)
2019-08-12 14:57:18 -07:00
Megan Carey
7fc5c0e07d SOLR-13399: Adding splitByPrefix param to IndexSizeTrigger; some splitByPrefix test and code cleanup 2019-08-12 16:03:51 -04:00
Jan Høydahl
5ecc6dfaf8 SOLR-13647: Default solr.in.sh contains incorrect default value
(cherry picked from commit d468d71c030dba77fb7e6bed295e5766248a5944)
2019-08-12 13:58:56 +02:00
Erick Erickson
5df5df9ec3 SOLR-13568: Precommit fail Java var until 9x. Fail var...
(cherry picked from commit f6f1b4244c40e5665b20a2a8ef9852c6dd827cb2)
2019-08-11 11:51:52 -04:00
Jason Gerlowski
a50927bac0 SOLR-13573: Add SolrRangeQuery getters for bounds 2019-08-11 09:04:14 -04:00
Munendra S N
4ac23230a4 SOLR-13680: use try-with-resource to close closeable resources
closes #822
2019-08-10 14:02:52 +05:30
noble
aec2eb0c9d SOLR-13682: command line option to export documents to a file 2019-08-10 17:44:52 +10:00
noble
382627d94b Formatting fixed 2019-08-10 12:01:21 +10:00
Chris Hostetter
650801b5db Harden SolrJmxReporterCloudTest
null out local ref to PlatformMBeanServer so test runner doesn't count it's memory size against the test class

(cherry picked from commit 6cbe39c786c50b269ce383f44ecbee019e820a92)
2019-08-09 15:27:51 -07:00
yonik
0fa9cb54c7 SOLR-13399: fix splitByPrefix default to be false 2019-08-09 09:06:22 -04:00
Shalin Shekhar Mangar
f4dc168301 SOLR-13141: CDCR bootstrap does not replicate index to the replicas of target cluster.
The leader node on the target cluster will now increment its term after bootstrap succeeds so that all replicas of this leader are forced to recover and fetch the latest index from the leader.

(cherry picked from commit e59f41b6712b4feb9b810b34108a43281c33e515)
2019-08-09 08:29:52 +05:30
Jason Gerlowski
299d92da5c SOLR-13622: Rename FilesStream -> CatStream
Also fixes an 'cat' OS-dependent bug in StreamExpressionTest.
2019-08-08 08:39:10 -04:00
Shalin Shekhar Mangar
de522052c8 SOLR-13674: NodeAddedTrigger does not support configuration of replica type hint.
A new replicaType property has been added to NodeAddTrigger so that new replicas of the given type are added when the preferredOp is addreplica. The default value of replicaType is `NRT`.

This closes #821.

(cherry picked from commit ed137dbe281cfb314af340673a7b646922a2e7d1)
2019-08-08 15:19:53 +05:30
Jan Høydahl
f853198f72 SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly
(Back ported from 8 commits on master branch)
2019-08-07 10:02:38 +02:00
Chris Hostetter
6fea853711 Harden BasicAuthIntegrationTest w/work around for SOLR-13464
(cherry picked from commit 878d332a0bd7374190a85a23d3a6241d930289f3)
2019-08-06 15:08:55 -07:00
yonik
d8f99a9986 SOLR-13399: ability to use id field for compositeId histogram 2019-08-06 14:11:12 -04:00
Chris Hostetter
e8ff97669d Fix incorrect assertions in RulesTest.doIntegrationTest
my previous commit added waitForState calls to doIntegrationTest that forgot to take into account initial repFactor when createShard was called

as a result, the test could only pass if wather was called after a initial leader went live, before other replicas became live

this commit fixes this mistake, and hardens the assertions about the location of those replicas given the rule in use

also adds new expecation that trying to add additional replicas that would violate rule will cause request ot fail

(cherry picked from commit 9e250f7219a358e158229551e7c2a9eac2d7aea6)
2019-08-05 17:09:24 -07:00
Chris Hostetter
b18041476f SOLR-13678: Harden CollectionPropsTest.testReadWriteCached to work around removeCollectionPropsWatcher() deadlock bug
(cherry picked from commit a052fb5436840b45909446668c1137cb3f266c99)
2019-08-05 11:49:53 -07:00
Bruno Roustant
445f4bf5c2 SOLR-11866: QueryElevationComponent match="subset" feature
Closes #780

(cherry picked from commit d97912529d5ec4e86a8b6def4103bc6f4fbfd24b)
2019-08-05 11:51:40 +02:00