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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tomas Fernandez Lobbe
d833b4c9d3
SOLR-10028: Fix and improvements to SegmentsInfoRequestHandlerTest
2018-08-27 14:05:50 -07: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
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
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
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