Commit Graph

32361 Commits

Author SHA1 Message Date
Christine Poerschke 9e6047331b SOLR-13240: make operation-not-null checks consistent in TestPolicy.testNodeLostMultipleReplica
(Richard Goodman via Christine Poerschke)
2019-08-13 15:24:19 +01:00
noble 07ca02b737 SOLR-13688: Run the bin/solr export command multithreaded 2019-08-13 18:54:05 +10:00
Chris Hostetter 0291db44bc SOLR-13464: fix javadoc typo that precommit somehow missed? 2019-08-12 14:55:17 -07:00
Chris Hostetter c7822c393e 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
2019-08-12 14:03:54 -07:00
Megan Carey 768ca7c5a7 SOLR-13399: Adding splitByPrefix param to IndexSizeTrigger; some splitByPrefix test and code cleanup 2019-08-12 15:59:45 -04:00
Jan Høydahl d468d71c03 SOLR-13647: Default solr.in.sh contains incorrect default value 2019-08-12 13:56:35 +02:00
Erick Erickson f6f1b4244c SOLR-13568: Precommit fail Java var until 9x. Fail var... 2019-08-11 11:49:54 -04:00
Jason Gerlowski 52f1108a0e SOLR-13573: Add SolrRangeQuery getters for bounds 2019-08-11 09:02:38 -04:00
Tomoko Uchida 9b986d268f SOLR-13593: Allow to look up analyzer components by their SPI names in field type configuration. 2019-08-11 16:35:25 +09:00
Tomoko Uchida 407ba89aad LUCENE-8948: Change 'name' argument in ICU factories to 'form'. 2019-08-11 14:33:31 +09:00
Munendra S N 9546d8612c SOLR-13680: use try-with-resource to close closeable resources
closes #822
2019-08-10 13:51:11 +05:30
noble 1c9e0b8644 SOLR-13682: command line option to export documents to a file 2019-08-10 17:49:57 +10:00
noble b9912411ea SOLR-13682: precommit errors 2019-08-10 17:21:17 +10:00
Noble Paul e45e8127d5
SOLR-13682: command line option to export documents to a file
* SOLR-13682: command line option to export documents to a file
2019-08-10 16:34:23 +10:00
noble f692750356 Formatting fixed 2019-08-10 12:00:30 +10:00
Chris Hostetter 6cbe39c786 Harden SolrJmxReporterCloudTest
null out local ref to PlatformMBeanServer so test runner doesn't count it's memory size against the test class
2019-08-09 15:27:28 -07:00
yonik 2e5c554fea SOLR-13399: fix splitByPrefix default to be false 2019-08-09 09:05:22 -04:00
Shalin Shekhar Mangar e59f41b671 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.
2019-08-09 08:28:52 +05:30
Jason Gerlowski 2eb493d170 SOLR-13622: Rename FilesStream -> CatStream
Also fixes an 'cat' OS-dependent bug in StreamExpressionTest.
2019-08-08 08:38:21 -04:00
Shalin Shekhar Mangar ed137dbe28 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.
2019-08-08 15:14:55 +05:30
Alan Woodward 21842999fe LUCENE-8747: Allow access to submatches from Matches 2019-08-07 11:28:01 +01:00
Alan Woodward fa72da1c71 LUCENE-8941: Build wildcard matches lazily 2019-08-07 11:19:35 +01:00
Jan Høydahl 64884be044
SOLR-13672: Zk Status page now parses response from Zookeeper 3.5.5 correctly (#818)
* SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly
2019-08-07 09:10:37 +02:00
Chris Hostetter 878d332a0b Harden BasicAuthIntegrationTest w/work around for SOLR-13464 2019-08-06 15:08:26 -07:00
yonik 19ddcfd282 SOLR-13399: ability to use id field for compositeId histogram 2019-08-06 14:10:20 -04:00
Jan Høydahl 7ab12b405d Skip mocking for simple tests 2019-08-06 15:39:21 +02:00
Jan Høydahl 79c13d62d3 Added check for explicit empty line response from Zookeeper 2019-08-06 15:33:08 +02:00
Jan Høydahl 8d0506e962 Add spaces 2019-08-06 15:19:30 +02:00
Jan Høydahl 108381766a CHANGES 2019-08-06 15:16:29 +02:00
Jan Høydahl 5ff709d4bd Merge remote-tracking branch 'origin/master' into solr13672-zk
# Conflicts:
#	solr/CHANGES.txt
2019-08-06 15:14:55 +02:00
David Smiley 742e6b7eff LUCENE-8883: addVersion.py now adds categories to CHANGES.txt 2019-08-06 13:53:22 +02:00
Chris Hostetter 9e250f7219 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
2019-08-05 17:08:28 -07:00
Chris Hostetter a052fb5436 SOLR-13678: Harden CollectionPropsTest.testReadWriteCached to work around removeCollectionPropsWatcher() deadlock bug 2019-08-05 11:49:32 -07:00
David Smiley 4c6b0db25e revert accidental change 2019-08-05 11:25:40 +02:00
Bruno Roustant d97912529d SOLR-11866: QueryElevationComponent match="subset" feature
Closes #780
2019-08-05 11:23:47 +02:00
Atri Sharma 1cdcd0cdaf
Merge branch 'master' into new_rangetypes_or 2019-08-05 12:27:56 +05:30
Munendra S N 6fc042dd6d SOLR-13679: move changes entry to bug fix section 2019-08-05 10:40:22 +05:30
Munendra S N 84a62a5d87 SOLR-13679:Fix default style of [explain] registered in solrconfig.xml 2019-08-05 10:04:15 +05:30
Diego 751e64651c SOLR-13676: Reduce log verbosity in TestDistributedGrouping (#819)
* SOLR-13676: Reduce log verbosity in TestDistributedGrouping using ignoreException

* Code review

* Remove Assert
2019-08-05 09:27:44 +05:30
Tomoko Uchida 09993c6cf0 LUCENE-8778: Add a migration note to MIGRATE.txt 2019-08-04 23:52:45 +09:00
yonik b6c26f6c16 SOLR-13399: fix splitByPrefix test 2019-08-03 12:52:35 -04:00
Leonardo Menezes ff7b0c9de5 LUCENE-8764: Add "export all terms" feature to Luke
Co-authored-by: Tomoko Uchida <tomoko@apache.org>
2019-08-03 18:20:26 +09:00
Munendra S N 8c4fde94fe SOLR-12555: use expectThrows() to verify the ex thrown in tests 2019-08-03 13:00:49 +05:30
Chris Hostetter e8418adedb Harden CollectionPropsTest:
These fixes all relate to testWatcher + testMultipleWatchers:
* add additional asserts to the test methods to assert the expected property values are found
* mark Watcher.props volatile to prevent stale read by test thread
* add some randomization to Watcher.props to either come from the onStateChanged() input or
  from an explicit call to ZkStateReader.getCollectionProperties
  - previuosly, for reasons i don't understand, the test only consulted
    ZkStateReader.getCollectionProperties inside the Watcher, and ignored the onStateChanged()
    input
  - now the test validates both
* move all Watcher.triggered access into the existing synchronization blocks to prevent
  waitForTrigger() from returning prematurely due to gaining synch lock _after_
  Watcher.triggered was incremented in onStateChanged(), but _before_ onStateChanged() updated
  Watcher.props
* add detailed logging to provide additional info to help debug any additional jenkins failures
  that might pop up in the future if these fixes aren't sufficient
2019-08-02 17:02:17 -07:00
Boris Pasko 901f381c61
SOLR-6305: Replication from filesysem defaults, not from server defaults
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-08-02 18:43:26 -04:00
Joel Bernstein ee0fd49244 SOLR-13667: Fix precommit 2019-08-02 15:48:55 -04:00
Joel Bernstein 03a39666c0 SOLR-13667: Add upper, lower, trim and split Stream Evaluators 2019-08-02 15:38:26 -04:00
Christine Poerschke e2440d06d8 SOLR-13666: pull request template now sign-posts to Solr Reference Guide source
(Closes #814 PR.)
2019-08-02 17:30:55 +01:00
Jan Høydahl be7e9df57d Unused import 2019-08-02 15:42:05 +02:00
Jan Høydahl 9548481c8c Fix precommit
Remove errors from each host detail map
Display secureClientPort and server.1, server.2, server.3...
Added test for various failure responses and expected result from multiple nodes
2019-08-02 15:03:40 +02:00