Commit Graph

12521 Commits

Author SHA1 Message Date
Andrzej Bialecki 918b11c7ce For simulated queries count also buffered updates. 2018-09-28 20:24:29 +02:00
Charles Sanders 9481c1f623 SOLR-5163: edismax now throws an exception when qf refers to a nonexistent field 2018-09-27 15:53:26 -04:00
Peter Somogyi 044bc2a485 SOLR-12652: Remove SolrMetricManager.overridableRegistryName() 2018-09-27 15:39:55 -04:00
Andrzej Bialecki 2369c89634 SOLR-12709: Add TestSimExtremeIndexing for testing simulated large indexing jobs.
Several important improvements to the simulator.
2018-09-27 14:49:43 +02:00
Shalin Shekhar Mangar c587410f99 SOLR-12756: Refactor Assign and extract replica placement strategies out of it.
Now, assignment is done with the help of a builder class instead of calling a method with large number of arguments. The number of special cases that had to be handled have been cut down as well.
2018-09-27 16:15:38 +05:30
Noble Paul a6d39ba859 targetNode is not required for move-replica 2018-09-27 15:27:08 +10:00
Jan Høydahl 03c9c04353 LUCENE-8493: Stop publishing insecure .sha1 files with releases 2018-09-26 15:31:26 +02:00
Cao Manh Dat 667b8299e6 SOLR-12805: Store previous term (generation) of replica when start recovery process 2018-09-26 10:35:44 +07:00
Christine Poerschke 58167666c3 Fix comment typo in SolrConfig. 2018-09-25 17:56:39 +01:00
Noble Paul e16d7d6993 SOLR-11522: /autoscaling/suggestions now include rebalance options as well even if there are no violations 2018-09-26 00:47:03 +10:00
Shalin Shekhar Mangar e437b2f1ed SOLR-9317: Deduplicate node list before trying to find if all nodes are up. The test is also fixed to not send duplicate node names in the createNodeSet parameter. 2018-09-25 12:14:16 +05:30
David Smiley 9bc4b8d4fe SOLR-12759: fix regexp 2018-09-24 15:21:59 -04:00
noble 3f2975c27c SOLR-11522: /autoscaling/suggestions now include rebalance options as well even if there are no violations 2018-09-25 00:34:21 +10:00
Erick Erickson 95cc6f4f76 SOLR-12776: Setting of TMP in solr.cmd causes invisibility of Solr to JDK tools 2018-09-23 16:03:30 -07:00
Varun Thacker 60569fbe4e SOLR-11836: Move CHANGES entry to the 7.6 section 2018-09-21 17:01:37 -07:00
Shalin Shekhar Mangar 4bcace571e SOLR-9317: ADDREPLICA command should be able to add more than one replica to a collection,shard at a time.
The API now supports 'nrtReplicas', 'tlogReplicas', 'pullReplicas' parameters as well 'createNodeSet' parameter. As part of this change, the CREATESHARD API now delegates placing replicas entirely to the ADDREPLICA command and uses the new parameters to add all the replicas in one API call.
2018-09-21 15:12:21 +05:30
Erick Erickson dd088fb83e SOLR-12028: BadApple and AwaitsFix annotations usage 2018-09-20 22:31:49 -07:00
Noble Paul 1d604d1b3f SOLR-12792: extract test data into separate files in autoscaling tests 2018-09-21 13:26:52 +10:00
Noble Paul 6adeb5bc44 SOLR-12792: extract test data into separate files in autoscaling tests 2018-09-21 12:55:41 +10:00
Andrzej Bialecki 0dd7b70447 Add toString() to help debugging. 2018-09-20 15:32:42 +02:00
Andrzej Bialecki 5e6c99cc35 Reset the latch between re-runs of the same test. 2018-09-20 14:27:30 +02:00
Alan Woodward c0d2975970 LUCENE-8498: Remove LowerCaseTokenizer 2018-09-20 11:57:05 +01:00
Andrzej Bialecki 52bdcf6bb0 iSOLR-12080: Improve error handling of MoveReplicaCmd. Improve the test stability
by avoiding killing overseer.
2018-09-20 12:36:52 +02:00
Andrzej Bialecki 87cd5b14ae Start the splitting after the triggers are in place. 2018-09-20 10:36:24 +02:00
Cassandra Targett 264110e7b9 SOLR-12784: Fix broken link to stemdict.txt by including it in the Guide directly 2018-09-19 14:15:01 -05:00
Andrzej Bialecki 408232635a Fix occasional test failure due to a missing trigger config. 2018-09-19 11:58:30 +02:00
Alan Woodward c696cafc0d LUCENE-8352: Make TokenStreamComponents final 2018-09-19 10:02:56 +01:00
David Smiley c06a7ab0c7 SOLR-12759: fix regexp 2018-09-18 20:21:44 -04:00
David Smiley 5abee478b6 SOLR-12759: detect actual problem and only then "assumeTrue" to bail 2018-09-18 13:43:41 -04:00
Steve Rowe 7d0a7782fa SOLR-12771: add CHANGES entry 2018-09-17 15:02:10 -04:00
Steve Rowe ca86de1784 SOLR-12771: Improve Autoscaling Policy and Preferences documentation 2018-09-17 14:57:52 -04:00
Andrzej Bialecki 36eae57163 SOLR-12765: Incorrect format of JMX cache stats. 2018-09-17 15:33:16 +02:00
David Smiley ac7969e3c0 SOLR-6280: CollapseQParser now throws an error when pointing to a multi-valued field. 2018-09-17 09:08:54 -04:00
Erick Erickson b2b597b038 SOLR-12773: Fix typos widely spread around codebase 2018-09-16 09:46:20 -07:00
Erick Erickson 910a1c0312 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-09-15 21:26:19 -07:00
Cassandra Targett 39733cbf5f SOLR-12551: fix Tika version in list of major components in CHANGES.txt 2018-09-14 08:55:53 -05:00
Tomas Fernandez Lobbe a7a4f68da5 SOLR-12766: Log retries after the backoff 2018-09-13 20:46:38 -07:00
Christine Poerschke d6641ffb1d Fix Ma[n]datory typo in stream-decorator-reference.adoc file. 2018-09-13 21:26:19 +01:00
Tomas Fernandez Lobbe 9f37a6be9b SOLR-12766: Backoff time for internal requests is never more than 2 seconds 2018-09-13 08:43:10 -07:00
David Smiley dea3d69f95 SOLR-12759: assertFalse -> assumeFalse 2018-09-13 09:43:25 -04:00
Tomas Fernandez Lobbe 4a5b914eaa SOLR-12766: Improve backoff for internal retries
When retrying internal update requests, backoff only once for the full batch of retries
instead of for every request.
Make backoff linear with the number of retries
2018-09-12 21:11:34 -07:00
David Smiley 6e8c05f6fe SOLR-12361: ref guide changes & CHANGES.txt organization 2018-09-12 17:34:28 -04:00
Christine Poerschke 41e972ee8a Fix num[u]eric typo in stream-evaluator-reference.adoc file. 2018-09-12 22:30:01 +01:00
Cassandra Targett b32dcbbe42 Ref Guide: fix typos; params -> parameters 2018-09-12 15:04:28 -05:00
Cassandra Targett ad7f15d808 Fix typo in build.xml so PDF javadoc links get converted correctly 2018-09-12 15:03:43 -05:00
Jan Høydahl 5b96f89d2b LUCENE-5143: Fix smoketester, fix RM PGP key check, fix solr DOAP file, add CHANGES entry
Remove unused/stale 'copy-to-stage' and '-dist-keys' targets from ant build
2018-09-11 22:39:19 +02:00
Varun Thacker 2b553f03be SOLR-11836: add all contributors for the patch 2018-09-11 12:37:50 -07:00
Cassandra Targett 89bc082478 SOLR-12763: upgrade notes + some MergePolicy param fixes 2018-09-11 13:26:42 -05:00
Varun Thacker d35d2063a8 SOLR-11836: FacetStream works with bucketSizeLimit of -1 which will fetch all the buckets 2018-09-11 10:58:04 -07:00
Mike McCandless 398074d0f8 LUCENE-8343: change suggesters to use Long instead of long weight during indexing, and double instead of long score at suggest time 2018-09-11 12:03:40 -04:00
Cassandra Targett a619038e90 SOLR-12701: format/style consistency fixes for math expression docs; CSS change to make bold monospace appear properly 2018-09-11 08:47:16 -05:00
Anshum Gupta a1b6db26db SOLR-12762: Fix javadoc for SolrCloudTestCase.clusterShape() method and add a method that validates only against Active slices while testing 2018-09-10 15:18:32 -07:00
David Smiley 623cdf29ad SOLR-12759: Disable ExtractingRequestHandlerTest on JDK 11 due to
JDK bug with timezone locale and Date.toString
2018-09-10 11:45:44 -04:00
David Smiley a537aa20c1 SOLR-6387: Remove/revert dated assertFalse in ExtractingRequestHandlerTest
Since this problem does not appear anymore in the latest JVMs.
2018-09-10 11:33:15 -04:00
Jim Ferenczi 3a71bf39d1 Add 7.6.0 version 2018-09-10 16:05:53 +02:00
Jim Ferenczi 1f2b344def Revert "Add version 7.5.1"
This reverts commit 2ffcb878b4.
2018-09-10 15:56:05 +02:00
Noble Paul 8fbeedf27f SOLR-12738: removed unused method 2018-09-10 23:54:16 +10:00
Jim Ferenczi 2ffcb878b4 Add version 7.5.1 2018-09-10 09:19:09 +02:00
Noble Paul 4f0320c3f3 SOLR-12738: Incorrect Suggestions in autoscaling framework and refactoring 2018-09-10 12:24:24 +10:00
Joel Bernstein 70f001918e SOLR-11943: Fix RefGuide for latlonVectors and haversineMeters functions. 2018-09-09 20:59:13 -04:00
Joel Bernstein e5232f68cf SOLR-11943: Fix RefGuide for latlonVectors and haversineMeters functions. 2018-09-09 20:53:54 -04:00
Joel Bernstein 304836e675 SOLR-11943: Update RefGuide for latlonVectors and haversineMeters functions. 2018-09-09 20:44:25 -04:00
Erick Erickson 3b62f23f72 SOLR-12055: Enable async logging by default - rollback 2018-09-07 22:51:50 -07:00
Steve Rowe 8f498920bd SOLR-11943: Change scope of commons-math3 solr-core dependency from test to compile, for HaversineMetersEvaluator.java 2018-09-07 16:30:22 -04:00
Joel Bernstein f5ce384fb8 SOLR-11943: Change location... to latlon... 2018-09-07 15:42:34 -04:00
Steve Rowe 2c88922998 SOLR-8742: In HdfsDirectoryTest replace RAMDirectory usages with ByteBuffersDirectory. 2018-09-07 13:19:01 -04:00
Alan Woodward 66c671ea80 LUCENE-8483: Scorer cannot have a null Weight 2018-09-07 11:41:47 +01:00
Erick Erickson 0dc66c236d SOLR-12028: BadApple and AwaitsFix annotations usage 2018-09-06 20:43:51 -07:00
David Smiley 21d130c3ed SOLR-12357: TRA preemptiveCreateMath option.
Simplified test utility TrackingUpdateProcessorFactory.
Reverted some attempts the TRA used to make in avoiding overseer communication (too complicated).
Closes #433
2018-09-06 23:38:44 -04:00
Erick Erickson 9e04375dc1 SOLR-12732: TestLogWatcher failure on Jenkins 2018-09-06 19:25:33 -07:00
Joel Bernstein 98611d33a7 SOLR-12749: timeseries() expression missing sum() results for empty buckets 2018-09-06 20:34:26 -04:00
Tomas Fernandez Lobbe ccd9f6fccb SOLR-12612: Accept custom keys in cluster properties (doc changes)
Also added missing known cluster properties
2018-09-06 14:38:35 -07:00
Tomas Fernandez Lobbe 0af269fb49 SOLR-12612: Accept custom keys in cluster properties
Cluster properties restriction of known keys only is relaxed, and now unknown properties starting with "ext."
will be allowed. This allows custom to plugins set their own cluster properties.
2018-09-06 14:07:30 -07:00
Cassandra Targett 8caa34c4cf SOLR-10697: update Ref Guide for default value changes 2018-09-06 13:25:53 -05:00
Joel Bernstein c684773e8d SOLR-11943: Update CHANGES.txt 2018-09-06 14:23:53 -04:00
Joel Bernstein b8e87a1010 SOLR-11943: Add machine learning functions for location data 2018-09-06 14:01:09 -04:00
Chris Hostetter 597bd5db77 SOLR-9418: Added a new (experimental) PhrasesIdentificationComponent for identifying potential phrases in query input based on overlapping shingles in the index 2018-09-06 10:50:56 -07:00
Cassandra Targett cac589b803 SOLR-12716: Move common params to top of page; insert links to common param section for each trigger; improve consistency 2018-09-06 11:58:51 -05:00
Cassandra Targett 00ce9e067b SOLR-12722: expand "params" -> "parameters (plus a bunch of other things I found in unrelated transformer examples) 2018-09-06 08:54:37 -05:00
Cassandra Targett 9c364b2d86 SOLR-12684: put expression names and params in monospace 2018-09-06 08:16:27 -05:00
Jan Høydahl 285b743a8b SOLR-12745: Wrong header levels on BasicAuth refGuide page 2018-09-06 10:31:18 +02:00
Varun Thacker 89d598e9e8 SOLR-12744: Improve logging messages and verbosity around recoveries 2018-09-05 19:56:25 -07:00
Erick 37375ae600 SOLR-12733: SolrMetricReporterTest failure 2018-09-05 17:04:31 -07:00
Joel Bernstein b4a1548248 SOLR-12701: Fix knnSearch RefGuide 2018-09-05 14:14:59 -04:00
Cassandra Targett 4f05588007 SOLR-12625: fix typos..."an" -> "and" 2018-09-05 12:47:08 -05:00
Cassandra Targett e893f3480d SOLR-12715: change preferredOperation values to lowercase since that's how they're entered 2018-09-05 12:47:08 -05:00
Cassandra Targett 2565010261 SOLR-11690: put command examples in [source] blocks; make NOTE a CAUTION and move up to associated command 2018-09-05 12:47:08 -05:00
Christine Poerschke 3f9937bca2 Fix 'included' and 'number' typos in stream-source-reference.adoc file. 2018-09-05 17:51:00 +01:00
Christine Poerschke f385f02e4b Fix 'including' typo in cloud-screens.adoc file. 2018-09-05 17:46:47 +01:00
Joel Bernstein 719d922cbc SOLR-11863: Fix RefGuide typos 2018-09-05 11:30:27 -04:00
Joel Bernstein 0113adebce SOLR-11863: Add knnRegress to RefGuide 2018-09-05 11:20:30 -04:00
David Smiley e4f256be15 SOLR-12722: [child] transformer now processes 'fl' 2018-09-05 10:50:14 -04:00
Shalin Shekhar Mangar df20c4b9e6 SOLR-11990: Wait for all nodes to be live before running tests.
A few tests have failed on jenkins where the very first call to Solr to set the policy fails because no live nodes were found. This commit adds a 30 second (max) wait for nodes to be registered live in ZK before attempting to run any test.
2018-09-05 16:07:10 +05:30
Shalin Shekhar Mangar b6ee0ed5d5 SOLR-12716: NodeLostTrigger should support deleting replicas from lost nodes by setting preferredOperation=deletenode
This commit adds support for preferredOperation configuration for NodeLostTrigger. The ComputePlanAction now creates DeleteNodeSuggester for each lost node serially when preferredOperation=deletenode. A new section for node lost trigger with exampls is added to the ref guide.
2018-09-05 15:40:10 +05:30
Dawid Weiss 6be01e2ade LUCENE-8485: Update randomizedtesting to version 2.6.4. 2018-09-05 11:51:02 +02:00
Alan Woodward 3b1a335fb3 LUCENE-6228: Missed refactoring of CollapsingQParserPlugin delegating collector 2018-09-05 08:14:39 +01:00
David Smiley b1b0963947 SOLR-11861 baseConfigSet default 2018-09-04 14:02:46 -04:00
Andrzej Bialecki e0eb7bac02 SOLR-12723: Reduce object creation in HashBasedRouter. 2018-09-04 18:16:00 +02:00
Jan Høydahl d997e8b4a2 SOLR-11690: Improve documentation about DIH password encryption 2018-09-04 14:22:32 +02:00
Shalin Shekhar Mangar 34a85014d5 SOLR-12715: NodeAddedTrigger should support adding replicas to new nodes by setting preferredOperation=addreplica
This commit adds support for preferredOperation configuration parameter which defaults to movereplica. Changes ComputePlanAction to add all (collection,shard) pair as hints to AddReplicaSuggester when addreplica is selected as the preferred operation.
2018-09-04 17:05:44 +05:30
Alan Woodward 910a0231f6 LUCENE-6228: Add Scorable class and make LeafCollector.setScorer() take Scorable 2018-09-04 11:01:44 +01:00
Erick Erickson 74b53b1a67 SOLR-12728: RequestLoggingTest fails on occasion, not reproducible 2018-09-03 10:19:33 -07:00
Mikhail Khludnev b4f9042a43 SOLR-12726: Removing obsolete sentences from SolrCloud Auto Scaling Ref Guide. 2018-09-03 20:00:39 +03:00
David Smiley d93c46ea94 LUCENE-8267: adjust CHANGES.txt advise 2018-09-01 17:24:44 -04:00
Varun Thacker 606e529f93 SOLR-10697: HttpShardHandler now uses a default of 100k as maxConnections (10k previously) and default maxConnectionsPerHost as 100k (20 previously). They are now consisent with the UpdateShardHandler defaults 2018-09-01 07:20:15 -06:00
Varun Thacker d55a81df84 SOLR-12704: Guard AddSchemaFieldsUpdateProcessorFactory against null field names and field values 2018-08-31 23:53:30 -06:00
Erick Erickson e7b4495343 SOLR-12055: Last patch had the entry in the wrong place in CHANGES.txt 2018-08-31 20:43:26 -07:00
Erick Erickson 8e75f393b3 SOLR-12055: Enable async logging by default 2018-08-31 20:39:05 -07:00
Shalin Shekhar Mangar 4d78db26be SOLR-11990: Set waitForFinalState=true for the move replica API call so that the cluster is at steady state when the test ends. 2018-08-31 09:42:00 +05:30
Shalin Shekhar Mangar 5670d612e3 SOLR-11990: When a Collection CREATE command fails because of a policy rule violation, the collection metadata remains in ZooKeeper, even though no replicas are added, so the user has to manually delete the zombie collection.
This is due to a change in behavior made in this issue where collection metadata creation was moved before attempting to use policy to place replicas. This change reverts the behavior by explicitly deleting the metadata when an AssignmentException occurs. Since the policy depends on collection metadata such as WITH_COLLECTION and COLOCATED_WITH properties, moving metadata creation after policy use would have resulted in passing these properties through the entire call stack quite invasively. Therefore the current approach is adopted.
2018-08-31 09:23:25 +05:30
Steve Rowe 8667132999 SOLR-12689: Add example of collection creation when autoscaling policy/prefs are configured 2018-08-30 20:01:28 -04:00
David Smiley 4096decd8f SOLR-12591: ParseDateField URP should default to "en_US" locale (not ROOT) which is implied by common formats.
Should fix Java 9,10,11 test fails; Java 8 continues to work.
2018-08-30 09:53:43 -04:00
Joel Bernstein 86ba65c107 SOLR-10651, SOLR-10784: Add new statistical and machine learning functions to CHANGES.txt for 7.5 release 2018-08-30 08:56:44 -04:00
Shalin Shekhar Mangar ad513cb621 Fixed wrong documentation in ScheduledTrigger. The property name is preferredOperation instead of preferredOp. 2018-08-30 16:58:44 +05:30
Dawid Weiss 54f2565038 LUCENE-8469: Inline calls to the deprecated StringHelper.compare, removed StringHelper.compare from master. 2018-08-30 09:59:51 +02:00
David Smiley 18874a6e36 SOLR-12591: Expand default configSet's date patterns to subsume those of extract contrib 2018-08-29 14:17:44 -04:00
David Smiley cae91b1eaf SOLR-12519: fix testGrandChildFilterJSON
Simplified differentiating random docs we don't care about from those we do by using IDs less than 0
2018-08-29 13:35:42 -04:00
Steve Rowe 098f475a67 SOLR-12662: Eliminate possible race conditions by moving Type-by-name map construction to Variable.Type, accessible via Variable.Type.get(name) 2018-08-29 11:26:31 -04:00
David Smiley 5a0e7a615a SOLR-12519: child doc transformer can now produce a nested structure.
Fixed SolrDocument's confusion of field-attached child documents in addField()
Fixed AtomicUpdateDocumentMerger's confusion of field-attached child documents in isAtomicUpdate()
2018-08-29 10:02:09 -04:00
Dawid Weiss 545b0dcd04 SOLR-12360: fully numeric host names are valid based on RFC1123, so this test makes no sense. 2018-08-29 10:50:55 +02:00
Joel Bernstein 1cfc735fff SOLR-12634: Add gaussfit to the Math Expressions user guide 2018-08-28 17:01:15 -04:00
Steve Rowe 6430749d46 SOLR-12662: Reproducing TestPolicy failures: NPE and NoClassDefFoundError 2018-08-28 12:42:59 -04:00
Andrzej Bialecki 8d1dce933f SOLR-12392: Fix several bugs in tests and in trigger event serialization.
Add better support for converting MapWriter instances to JSON.
2018-08-28 15:11:18 +02:00
Joel Bernstein 04a50b6a2e SOLR-12701: Improve Monte Carlo example 2018-08-27 20:46:26 -04:00
Tomas Fernandez Lobbe d833b4c9d3 SOLR-10028: Fix and improvements to SegmentsInfoRequestHandlerTest 2018-08-27 14:05:50 -07:00
Joel Bernstein 659aed2de1 SOLR-12702: Add math expression userguid documentation 2018-08-27 16:10:15 -04:00
Joel Bernstein f4212a1df0 SOLR-12687: Add to math expressions user guide 2018-08-27 14:15:22 -04:00
Joel Bernstein 94503719ec SOLR-12702: Add zscores Stream Evaluator 2018-08-27 10:54:36 -04:00
Joel Bernstein 08a6d13c92 SOLR-12701: Remove statistical-programming page which is superceded by the new math-expressions paged 2018-08-27 10:30:48 -04:00
Andrzej Bialecki 7a3f837a32 SOLR-12669: Rename tests that use the autoscaling simulation framework. 2018-08-27 15:14:03 +02:00
Joel Bernstein b72ff3babb SOLR-12687: Add functions to cache data structures and mathematical models 2018-08-26 19:48:56 -04:00
Varun Thacker fc9aac11f7 SOLR-12684: Document speed gotchas and partitionKeys usage for ParallelStream. Standardize search streams to specify the export handler in the examples for expressions that operate on all the tuples 2018-08-24 01:20:06 -07:00
Varun Thacker cee309a6f7 SOLR-12572: revert numDocs to be indexed to 1k 2018-08-24 01:02:35 -07:00
Varun Thacker 9e78be40c3 SOLR-11598: Fix bug while setting and resetting string doc-values while exporting documents 2018-08-23 23:57:48 -07:00
Erick Erickson aa10cb7802 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-23 16:59:58 -07:00
Adrien Grand 4368ad72d2 LUCENE-8461: Fix test failure. 2018-08-23 23:04:19 +02:00
Steve Rowe 95cb7aa491 SOLR-12590: Improve Solr resource loader coverage in the ref guide 2018-08-23 14:36:05 -04:00
Varun Thacker dfd2801cd2 SOLR-12572: While exporting documents using the export writer, if a field is specified as a sort parameter and also in the fl (field list) parameter, we save on one doc-value lookup. This can bring performance improvements of 15% and upwards depending on how many fields are in common 2018-08-23 10:48:10 -07:00
Adrien Grand 025350ea12 LUCENE-8461: Add Lucene80Codec. 2018-08-23 10:51:45 +02:00
Erick Erickson 8cde1277ec SOLR-12690: Regularize LoggerFactory declarations 2018-08-22 15:26:37 -07:00
Varun Thacker 5eab1c3c68 SOLR-12683: HashQuery will throw an exception if more than 4 partitionKeys is specified. Earlier after the 4th partitionKey the keys would be silently ignored. 2018-08-20 15:21:19 -07:00
Erick Erickson 66d500b5a5 SOLR-12625: Combine SolrDocumentFetcher and RetrieveFieldsOptimizer 2018-08-20 10:37:32 -07:00
Shalin Shekhar Mangar 1c0f95ee04 SOLR-12130: CdcrReplicationDistributedZkTest is broken into two test classes, CdcrOpsAndBoundariesTest which does not require node restarts and CdcrWithNodesRestartsTest which does. The tests themselves are made faster and more resilient to spurious failures 2018-08-20 14:49:13 +05:30
Shalin Shekhar Mangar 079a81f14f SOLR-12675: Make LeaderVoteWaitTimeoutTest more resilient against side effects of test methods.
Extracted a new method to ensure a given number of jettys are always running in the test setup. Also, delete all collections created by other test methods.
2018-08-20 14:45:50 +05:30
Shalin Shekhar Mangar 3c9050c3dd SOLR-12679: MiniSolrCloudCluster.startJettySolrRunner method should not add a duplicate jetty instance to the list 2018-08-20 14:24:31 +05:30
Shalin Shekhar Mangar 20d0f67edd SOLR-12680: Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent 2018-08-20 13:25:56 +05:30
Shalin Shekhar Mangar ee498f5a38 SOLR-12679: MiniSolrCloudCluster.stopJettySolrRunner should remove jetty from the internal list
While the startJettySolrRunner adds the given jetty instance to the internal list of jetty instances, the stopJettySolrRunner method does not remove the given instance from the list. This leads to inconsistencies such as stopped jettys retained in the internal list and duplicate (stopped) jettys. This commit also fixes TestCollectionsAPIViaSolrCloudCluster to deal with this change.
2018-08-20 13:17:05 +05:30
Varun Thacker 3e4545219e SOLR-12674: RollupStream should not use the HashQueryParser for 1 worker 2018-08-19 11:59:38 -07:00
Erick Erickson 9f615fbae7 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-17 14:40:16 -07:00
Joel Bernstein 52f9cee97b SOLR-12671: Add robust flag to knnRegress Stream Evaluator 2018-08-17 14:26:17 -04:00
Noble Paul 124be4e202 SOLR-12014: Cryptic error message when creating a collection with sharding that violates autoscaling policies 2018-08-18 00:37:50 +10:00
Shalin Shekhar Mangar 6e21cb3aa9 SOLR-11990: Create Collection API now waits for the updated state of the withCollection to be visible after setting the COLOCATED_WITH value
Sometimes deletion of the withCollection succeeds even though the linked collection exists, if the delete request is sent immediately after the creation of the linked collection. This is because of a race between the delete request and the zookeeper update made by create collection such that the COLOCATED_WITH property is not visible to the overseer collection processor during the delete request. Therefore, we now wait until the property is visible before returning a success to the user. The test also adds more asserts so that a similar race will fail the test immediately with a proper assert message.
2018-08-17 14:26:30 +05:30
Anshum Gupta 4309ae6f9f SOLR-12475: Fix failing MaxSizeAutoCommitTest 2018-08-16 23:05:21 -07:00
Andrzej Bialecki 585ba164a8 SOLR-12392: Improve reliability of IndexSizeTriggerTest. 2018-08-16 22:05:27 +02:00
Andrzej Bialecki 9572e129f8 SOLR-12668: Autoscaling trigger listeners should be executed in the order of their creation. 2018-08-16 21:44:10 +02:00
David Smiley a661ebc6df SOLR-12591: Avoid JDK 9 bug with certain timezones like AKDT; test with EDT.
Also standardized on single 'z' in the test patterns, which is equivalent to triple.
2018-08-16 15:16:26 -04:00
Steve Rowe 711a72ed84 LUCENE-8456: Upgrade Apache Commons Compress to v1.18 2018-08-16 12:06:33 -04:00
Shalin Shekhar Mangar 57b33c19a4 SOLR-12607: Minor refactorings
Replaced a few private instances with lambdas and extracted common code for retrying splits into a new method
2018-08-16 16:07:05 +05:30
Shalin Shekhar Mangar 94ecb0616a SOLR-12607: Extract common code from testSplitAfterSplit and testSplitAfterSplit2 methods
The testSplitAfterSplit and testSplitAfterSplit2 tests only differ in the kind of fault injection being used. The rest of the test code is exactly the same so the common code is extracted into a new method called splitAfterSplit.
2018-08-16 15:19:56 +05:30
Shalin Shekhar Mangar 887055d892 SOLR-12670: RecoveryStrategy logs wrong wait time when retrying recovery 2018-08-16 15:00:49 +05:30
Shalin Shekhar Mangar 100b1511dd SOLR-12607: Increase recovery wait time from 15 seconds to 30 seconds to reduce spurious test failures 2018-08-16 13:10:01 +05:30
Shalin Shekhar Mangar 93a20b72b1 SOLR-12656: ShardSplitTest should extend AbstractFullDistribZkTestBase instead of BasicDistributedZkTest. Also removed some unused overridden methods to create solr clients 2018-08-16 08:01:08 +05:30
Noble Paul 60257ea276 SOLR-12649: CloudSolrClient retries requests unnecessarily exception from server 2018-08-16 00:26:23 +10:00
Joel Bernstein 9cc0078af2 Ref Guide: Small changes to math expressions descriptions 2018-08-15 10:14:49 -04:00
Noble Paul a059c944c1 SOLR-12665: Autoscaling policy not being refreshed due to caching 2018-08-16 00:02:27 +10:00
Jan Høydahl f3339d14c9 SOLR-12523: Improve error reporting and docs regarding Collection backup feature shared-fs requirement 2018-08-15 13:38:05 +02:00
Erick Erickson 4f1c0aab1c SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-14 21:25:17 -07:00
Erick Erickson dcbd5323bb SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-14 21:24:59 -07:00
Bar Rotstein ec01cc981c SOLR-12591: ParseDateFieldUpdateProcessorFactory: Use "lenient" and strip surrounding quotes.
More tests, ported from "extract" contrib stuff.
2018-08-15 00:04:09 -04:00
Cassandra Targett 0d89ff2e61 SOLR-12664: Fix Download Solr button in index.adoc so it looks like it did before button style changes 2018-08-14 16:13:03 -05:00
Tomas Fernandez Lobbe bff7a3bbb1 SOLR-12222, SOLR-12028: Remove @BaddApple annotation from TestDistributedSearch
This test hasn't failed since the changes in SOLR-12222 were committed
2018-08-14 13:25:05 -07:00
Andrzej Bialecki 8dd704ef78 SOLR-12470: Search Rate Trigger multiple bug fixes, improvements and documentation updates. 2018-08-14 20:41:42 +02:00
Cassandra Targett 3e58e8ab45 SOLR-12664: Change bottom page nav styling 2018-08-14 12:13:44 -05:00
Joel Bernstein a2bbeec27c SOLR-12660: Refine output form and register stream function 2018-08-14 09:50:34 -04:00
Joel Bernstein baf3b8f20c SOLR-12660: Fix TestLang 2018-08-13 18:43:16 -04:00
Joel Bernstein 9d57963f41 SOLR-12660: Add outliers Stream Evaluator to support outlier detection 2018-08-13 15:21:51 -04:00
Noble Paul be4a33938d SOLR-12592: added more validation and tests 2018-08-14 01:11:01 +10:00
Jan Høydahl 767223ddd3 SOLR-8207: Nodes view support for shard_1_1_1 format and replica1, replica_1 format. Show core state in label if not 'active' 2018-08-13 12:38:19 +02:00
Jan Høydahl 69b2af33fb SOLR-10984: Clean up web.xml, removing old redirects and outdated comments 2018-08-13 10:39:21 +02:00
Joel Bernstein 17eb8cd14d SOLR-12634: Add gaussfit Stream Evaluator 2018-08-11 14:17:44 -04:00
Uwe Schindler 928b92caa0 SOLR-12655: Add Korean morphological analyzer ("nori") to default distribution. This also adds examples for configuration in Solr's schema 2018-08-11 14:07:31 +02:00
Cassandra Targett cdc0959afc Ref Guide: small typos; i.e. and e.g. cleanups 2018-08-10 14:58:57 -05:00
Cassandra Targett 4a3f8f6b44 SOLR-12599: clarify availability and number of debug parameters 2018-08-10 14:19:53 -05:00
Cassandra Targett 89a1655e7f SOLR-11766: Move Streaming Expressions to be top-level section of Ref Guide 2018-08-10 08:54:43 -05:00
Cassandra Targett dfb33e97d0 Ref Guide: standardize section titles to use headline case 2018-08-10 08:54:43 -05:00
Cassandra Targett e46c6b83a4 SOLR-11990: standardize "co-locate" for "colocate" throughout 2018-08-10 08:54:43 -05:00
Cassandra Targett d1c73ff6f6 SOLR-11947: Change math-expressions.adoc to remove level 2 section headings; use headline case for dsp.adoc section titles 2018-08-10 08:54:43 -05:00
Joel Bernstein 71310a4722 SOLR-11585: Solr SQL does not work with point numeric fields 2018-08-09 19:57:50 -04:00
Jason Gerlowski 00aeb64c10 SOLR-12555: Use `expectThrows` for expected exceptions
This commit replaces the `try { doX(); fail(); }` pattern with the
`expectThrows` test helper, which was created for this purpose.  This
commit makes these changes in the core package: `o.a.solr.cloud`.

Closes #425
2018-08-09 15:46:50 -04:00
Mikhail Khludnev 63fc1246f7 SOLR-11834: rollback [subquery] fields documentation 2018-08-09 20:28:45 +03:00
Steve Rowe 6c11284e7c SOLR-12636: escape arrow glyph to fix precommit 2018-08-09 09:56:17 -04:00
Joel Bernstein cb1db48252 SOLR-11863: Add knnRegress Stream Evaluator to support nearest neighbor regression 2018-08-08 21:05:21 -04:00
Varun Thacker e9f3a3ce1d SOLR-12616: Optimize Export writer upto 4 sort fields to get better performance. This was removed in SOLR-11598 but brought back in the same version 2018-08-08 13:28:00 -07:00
Varun Thacker 7c4584bd4f SOLR-11008: Use a lighter config for MetricsHandlerTest and ensure the core is up before the test starts 2018-08-08 13:28:00 -07:00
Steve Rowe 37e8fea22e SOLR-12636: Improve autoscaling policy rules documentation 2018-08-08 14:23:08 -04:00
Noble Paul 9b418a4593 SOLR-12618: AutoScalingHandlerTest failing in jenkins 2018-08-09 01:24:03 +10:00
Cassandra Targett 2674c53809 Ref Guide: fix typo in MODIFYCOLLECTION example 2018-08-08 08:53:15 -05:00
Jan Høydahl 6845bbff55 SOLR-8207: Collections with underscores in name no longer cause a crash the Cloud->Nodes UI 2018-08-08 15:25:43 +02:00
Jan Høydahl 9306922d65 SOLR-7767: "ZK Status" sub menu under "Cloud" tab to see status of zookeeper ensemble 2018-08-08 12:43:19 +02:00
Moshe 38bf976cd4 SOLR-12485: Solr-Update XML format now accepts child documents under a field
thus providing a semantic relationship.  (like allowed for JSON).
Improved XML.java a bit
Closes #430
2018-08-07 13:52:11 -04:00
David Smiley c3887b351e SOLR-12586: Change ParseDateFieldUpdateProcessorFactory to use java.time.DateTimeFormatter, not Joda Time.
Note: slightly different pattern language!
Remove Joda Time.
Closes #428
2018-08-07 11:51:16 -04:00
Joel Bernstein 2ca5a6d12e SOLR-12629: The predict evaluator should work with the polyfit function 2018-08-07 10:31:53 -04:00
Andrzej Bialecki 208d59b5e3 SOLR-12541: Metrics handler throws an error if there are transient cores. 2018-08-07 13:21:41 +02:00
Erick Erickson 08ca54f1f8 SOLR-11770: NPE in tvrh if no field is specified and document doesn't contain any fields with term vectors, forgot to add CHANGES.txt 2018-08-06 20:05:52 -07:00
Erick Erickson 96e8392921 SOLR-11770: NPE in tvrh if no field is specified and document doesn't contain any fields with term vectors 2018-08-06 20:04:59 -07:00
Tomas Fernandez Lobbe 896fd0ebd5 SOLR-12222: Improve TestDistributedSearch search
Consider the case when the distributed requests fails with timeAllowed before it reaches the shards
2018-08-06 16:58:08 -07:00
Tomas Fernandez Lobbe db1e0642cb SOLR-12626: TestInjection.waitForInSyncWithLeader retries in case of errors
When waiting for follower replicas to be in sync with the leader, TestInjection.waitForInSyncWithLeader
now keeps waiting even if it gets an exception while trying to get leader's replication details. The
method will only exit when it exhausts the number of retries or succeeds.
2018-08-06 15:59:25 -07:00
Tomas Fernandez Lobbe c338cf61e7 SOLR-11881: Retry update requests from leaders to followers 2018-08-06 15:56:49 -07:00
Noble Paul ffedb99dc8 SOLR-12592: added javadoc 2018-08-05 11:56:22 +10:00
Varun Thacker 592899a419 SOLR-12615: HashQParserPlugin won't throw an NPE for string hash key and documents with empty value 2018-08-04 14:32:36 -07:00
Varun Thacker b33df4ecff SOLR-12622: Ref guide example for configuring SolrSlf4jReporter 2018-08-04 11:13:22 -07:00
noble 664187f73a SOLR-12592: added support for range , percentage and decimal 2018-08-04 16:34:23 +10:00
Jan Høydahl f8db5d0afd SOLR-12614: Make "Nodes" view the default in AdminUI "Cloud" tab 2018-08-03 23:20:48 +02:00
Varun Thacker 0b59b0ed1d SOLR-12617: remove beanutils license and notice files 2018-08-03 13:38:10 -07:00
Varun Thacker e3cdb395a4 SOLR-12617: Remove Commons BeanUtils as a dependency 2018-08-03 09:46:54 -07:00
Jan Høydahl 17a02c1089 SOLR-8207: Add "Nodes" view to the Admin UI "Cloud" tab, listing nodes and key metrics 2018-08-03 13:55:11 +02:00
Erick 6afd3d1192 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-02 17:40:59 -07:00
Andrzej Bialecki b5ed6350a0 SOLR-12509: Fix a bug when using round-robin doc assignment. 2018-08-02 21:17:15 +02:00
Andrzej Bialecki d1173b8adc SOLR-12594: MetricsHistoryHandler.getOverseerLeader fails when hostname contains hyphen. 2018-08-02 18:47:58 +02:00
Andrzej Bialecki 5de10c7966 SOLR-12344: SolrSlf4jReporter doesn't set MDC context. 2018-08-02 14:29:47 +02:00
Noble Paul 868e970816 SOLR-12592: support #EQUAL function in cores in autoscaling policies 2018-08-02 15:20:46 +10:00
Shalin Shekhar Mangar 259bc2baf7 SOLR-12607: Fixed two separate bugs in shard splits which can cause data loss. The first case is when using TLOG replicas only, the updates forwarded from parent shard leader to the sub-shard leader are written only in tlog and not the index. If this happens after the buffered updates have been replayed then the updates can never be executed even though they remain the transaction log. The second case is when synchronously forwarding updates to sub-shard leader fails and the underlying errors are not propagated to the client 2018-08-02 08:24:32 +05:30
Andrzej Bialecki 1133bf98a5 SOLR-12509: Improve SplitShardCmd performance and reliability. 2018-08-01 16:30:59 +02:00
Cao Manh Dat 0dc124aa78 SOLR-12412: Fix precommit 2018-08-01 07:14:41 +07:00
Cao Manh Dat eada799f57 SOLR-12412: Leak transaction log on tragic event 2018-08-01 07:13:41 +07:00
Varun Thacker c9e3c456e3 SOLR-11807: Simply testing of createNodeSet with restoring collection and fixing the test failure 2018-07-31 15:19:23 -07:00
Christine Poerschke 8a4482805b SOLR-12609: include actual value in two MathExpressionTest.testMultiVariateNormalDistribution asserts 2018-07-31 19:29:50 +01:00
Christine Poerschke 4a1ee046c3 SOLR-12402: Factor out SolrDefaultStreamFactory class. 2018-07-31 19:29:43 +01:00
Cassandra Targett 13960594e4 SOLR-11870: Ref Guide: Add docs on filter param for ICU filters 2018-07-31 13:17:14 -05:00
Cassandra Targett ecad9198d8 SOLR-12448: Fix outdated docs that say autoAddReplicas is for shared FS only in Ref Guide and v2 API specs 2018-07-31 12:25:45 -05:00
Christine Poerschke 9262ed7e56 SOLR-12558: solr/core (private) logger renames 2018-07-31 16:58:51 +01:00
Alexandre Rafalovitch abd6b07ea9 SOLR-12574: Fix the SignificantTermStream to use the new bucket format 2018-07-31 08:18:39 -04:00
Noble Paul 4602e4de45 SOLR-12601: Refactor the autoscaling package to improve readability 2018-07-31 13:12:34 +10:00
Steve Rowe a08eadb480 Fix InfixSuggestersTest.testShutdownDuringBuild() failures 2018-07-30 22:49:49 -04:00
Varun Thacker 8d28bbc905 SOLR-12477: Return server error(500) for AlreadyClosedException instead of client Errors(400) . This closes PR #402 2018-07-30 17:42:03 -07:00
Cassandra Targett ea221069c3 SOLR-12164: Ref Guide - improve index.adoc so it's a nicer landing page for the Guide 2018-07-30 14:11:55 -05:00
Christine Poerschke 3583bdb324 SOLR-12558: solr/core (private) logger rename - ExportWriter 2018-07-30 18:48:58 +01:00
Christine Poerschke e1063b7f4b SOLR-12558: solr/core (private) logger rename - JettySolrRunner 2018-07-30 18:46:12 +01:00
Adrien Grand 61e89e3ca0 LUCENE-8431: Top-docs collectors now collect lower bounds of the hit count. 2018-07-30 16:38:05 +02:00
Adrien Grand 9ca053712a LUCENE-8430: TopDocs.totalHits may now be a lower bound of the hit count. 2018-07-30 16:38:05 +02:00
Adrien Grand 3a837ca374 LUCENE-8412: Further simplification. 2018-07-30 16:20:36 +02:00
Alexandre Rafalovitch e264d03920 SOLR-12574: Use a common bucket for all significantTerms outputs 2018-07-29 12:02:07 -04:00
Shalin Shekhar Mangar 179c8f9b48 SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node.
A collection may be co-located with another collection during collection creation time by specifying a
'withCollection' parameter. It can also be co-located afterwards by using the modify collection API.
The co-location guarantee is enforced regardless of future cluster operations whether they are invoked
manually via the Collection API or automatically by the Autoscaling framework.

Squashed commit of the following:

commit 3827703b38c598f1247c90ab57d3d640ab3a9e21
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:54:10 2018 +0530

    SOLR-11990: Added change log entry

commit 7977222e07ba47274062cb8d8a69e7956d644000
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:52:17 2018 +0530

    SOLR-11990: Added change log entry

commit 1857075fdb9d535b6149ad4369fed8b64b0c01f6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:49:51 2018 +0530

    SOLR-11990: Added note about co-location guarantees being one way only

commit 8557cbc8a511f21d1fcad99e11ea9d2104d0bef4
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:43:37 2018 +0530

    SOLR-11990: Remove unused import

commit 864b013fd744edca9b6b84a8a7573fab3c5310d5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:21:59 2018 +0530

    SOLR-11990: Fixing compilation issues after merging master

commit dd840a2f7e765ee96c899d4d9ea89b6b67c5ae62
Merge: bb4ffb3 828d281
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:03:50 2018 +0530

    Merge branch 'master' into jira/solr-11990

    # Conflicts:
    #	solr/solr-ref-guide/src/collections-api.adoc
    #	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Clause.java
    #	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Suggestion.java

commit bb4ffb32c4960a2809ac8927e214e1e012204a73
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 14:09:44 2018 +0530

    SOLR-11990: Ensure that the suggestion are validated by the policy engine otherwise move to the next candidate replica or the next candidate node

commit a97d45b22f9c232e939f979502c761001be9ae24
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 13:22:10 2018 +0530

    SOLR-11990: Autoscaling suggestions for withCollection violations should prefer moving replicas before adding replicas

commit 7b5a84338dfe7335599a5e96aff2d26cb4eeaac6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 12:22:45 2018 +0530

    SOLR-11990: Fix statement about the behavior of the modify collection API when modifying the withCollection parameter

commit 63aec4fe0de7025c16b6ebc47dad1004531ecee1
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jul 26 07:29:07 2018 +0530

    SOLR-11990: Added new page to the reference guide describing how to colocate collections together including guarantees and limitations

commit 6bfcd0786bb30353de9c26a01ec97ce3191b58f8
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 21:42:25 2018 +0530

    SOLR-11990: Added another test which creates two collections which are colocated with two different collections and ensures that create collection and add replica operations work correctly

commit 4cead778f0044b6fb4012b085abf7b60350f495b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 21:07:47 2018 +0530

    SOLR-11990: Stop or start jettys in test setup to ensure that we always have exactly 2 replicas running before a test starts

commit 70dbfd042c2164fcd76d406eeab1518e4d3147fb
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 19:19:07 2018 +0530

    SOLR-11990: Added description of the new withCollection parameter in the reference guide

commit 9d8260852b9d667d4d8e026432fd7727b7789393
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 19:16:46 2018 +0530

    SOLR-11990: Reset count down latch during test setup

commit ae508165571b1afde54337859b8d5fdbb1d67312
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 15:43:54 2018 +0530

    SOLR-11990: Add support for withCollection in simulated create collection API

commit 84f026b8c4cc25edb548430b8f5ad09d2486b3b5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 17:21:33 2018 +0530

    SOLR-11990: Ported the refactoring made in CreateCollectionCmd to the simulated version so that simulation tests are able to create collections correctly

commit defe111c9d31c8e4f0f00b4f2f3c875f5b2fa602
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:17:52 2018 +0530

    SOLR-11990: Add missing javadoc for return statement

commit 8e47d5bc4545548c5441909c3fcc1a7901b38185
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:11:45 2018 +0530

    SOLR-11990: Replace usage of forbidden Charsets with StandardCharsets class

commit 2d1b9eb25ea96a3a42c000ae654400ed44c17554
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:07:36 2018 +0530

    SOLR-11990: Extract ConditionType to an interface VarType along with a WithCollectionVarType implementation

commit 1de2a4f52a59afca28de75bfa5156a3d6567a4f5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 12:53:26 2018 +0530

    SOLR-11990: Pass strict-ness parameter to the ConditionType so that WITH_COLLECTION can choose not to project add replica in strict mode.

    This ensures that add replica or move replica suggesters always choose nodes that already have withCollection replicas first unless there are violations in doing so. Only if the first pass fails to find a suitable replica, do we go to the other nodes in the cluster. This also removes the need for the majority of changes in AddReplicaSuggester and so they've been reverted.

commit 0d616ed9e9bad791548c87086cba7760d724350d
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 11:36:34 2018 +0530

    SOLR-11990: Minor changes to formatting and code comments

commit 1228538f934f35f15797d89c2c66f2deb9cddd8c
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 23 14:26:19 2018 +0530

    SOLR-11990: Added a test which simulates a lost node and asserts that move replica suggester moves the replica on the lost node to a node already having the withCollection present

commit 582f1fd98de93ab73c74a1f623749dd031beb381
Author: Noble Paul <noble@apache.org>
Date:   Mon Jul 23 18:35:22 2018 +1000

    SOLR-11990: NPE removing unnecessary System.out.println

commit 501bc6c1d066321b344bbb8b1de3c2ead52f8c49
Author: Noble Paul <noble@apache.org>
Date:   Mon Jul 23 18:31:07 2018 +1000

    SOLR-11990: NPE during class init

commit acbf4a69321e16cff11cc7cf0a1f076fd9ac0037
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 23 13:55:30 2018 +0530

    SOLR-11990: Added asserts on the nodes that should be selected by the add replica suggester

commit 4824933fd6eb7d1773acbff1a1a0c5e670226e0b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 20 14:30:52 2018 +0530

    SOLR-11990: Added WITH_COLLECTION to global tags. Fixed implementation of addViolatingReplicas and getSuggestions in the clause impl. Added more asserts in testWithCollectionSuggestions.

commit dbadb33211c190026e08d8e3ea587b6f8df8720b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 20 13:44:36 2018 +0530

    SOLR-11990: Added support for comparing violations, generating suggestions and adding violating replicas

commit ada1f17d5c93a4186260473e4822d2bee1da0e16
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 19:14:56 2018 +0530

    SOLR-11990: Fix mock node state provider in TestPolicy to use the right cluster state. Added nocommits to ensure that we return the right suggestions for this feature.

commit ef2d61812e0d96eb2275b3411906d9de57ab835e
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 18:39:51 2018 +0530

    SOLR-11990: Add missing node in nodeValues configuration

commit 34841fc01fea4a9f1e6a9f64050e576f2247a72b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 16:32:57 2018 +0530

    SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node
2018-07-29 07:26:13 +05:30
Varun Thacker 828d2815f1 SOLR-12599: Add more query routing params to the ref guide 2018-07-27 14:31:55 -07:00
Shalin Shekhar Mangar 3119fbb947 SOLR-12597: Migrate API should fail requests that do not specify split.key parameter 2018-07-27 11:53:53 +05:30
Noble Paul dfb18a6d72 SOLR-12536: ref guide typo fixed 2018-07-27 14:27:51 +10:00
Noble Paul 90424cbe27 SOLR-12536: ref guide 2018-07-27 12:37:32 +10:00
David Smiley e2b08a4d47 SOLR-11542: Add more logging via @LogLevel to diagnose rare failures 2018-07-26 12:22:26 -04:00
Noble Paul d87ea6b1cc SOLR-12536: autoscaling policy support to equally distribute replicas on the basis of arbitrary properties 2018-07-26 21:32:45 +10:00
Chris Hostetter 71c0bddd14 SOLR-12581: the JSON Facet 'relatedness()' aggregate function now supports a 'min_popularity' option using the extended type:func syntax 2018-07-25 10:06:30 -07:00