8135 Commits

Author SHA1 Message Date
Tomas Fernandez Lobbe
5c6a299eff SOLR-13207: Fix tests 2019-11-01 15:53:38 -07:00
Chris Hennick
b17d630e50 SOLR-13207: Handle query errors in calculateMinShouldMatch (#978)
Traps error that arises when the < operator is used at the end of a query field.
Also handles NumberFormatException when the operand isn't a number.
2019-11-01 10:40:56 -07:00
Houston Putman
6e1ecd1218 SOLR-13844: Remove replica recovery terms with the replica term (#951) 2019-11-01 14:34:53 +00:00
noble
53b002f59d SOLR-13822: FIle leakes fixed 2019-11-01 16:33:20 +11:00
noble
22b681755c SOLR-13822: Disbaled on windows till further investigation 2019-10-30 08:27:23 +11:00
Munendra S N
24134cf9b1 SOLR-13823: fix ClassCastEx in group.query when score is requested
* This makes sures score computed for standalone and distributed
  is same for group.query. This is done by using mainQuery to compute
  scores
2019-10-29 13:56:03 +05:30
Munendra S N
0a4f6c566e SOLR-13877: fix NPE in expand component
* This could happen when expand component is not used with collapse
  and matched docs have fewer unique values
2019-10-29 13:56:03 +05:30
Munendra S N
b82b7725e1 SOLR-13783: fix failing tests due to NamedList.toString() change 2019-10-29 13:35:31 +05:30
Houston Putman
fa27e476f7 SOLR-13865: Migrate replica routing code to SolrJ (#974)
* [SOLR-13865] Migrate replica routing code to  solrJ

* Added a CommonTestInjection class.

* Fixing imports.

* Reverted extraneous streaming changes.

* Fix precommit errors.

* Changing name of the RLTManager.

* Splitting up existing tests.

* Updated documentation.

* Added solr/CHANGES.txt entry
2019-10-28 15:49:21 -07:00
noble
3af4e6adc6 SOLR-13822: Adressing Windows test failures 2019-10-29 06:12:52 +11:00
Chris Hostetter
b17a4cb5a9 SOLR-13822: AwaitsFix this test until the file leaks are addressed 2019-10-25 14:44:25 -07:00
Munendra S N
3ef54e4516 SOLR-12393:fix score not returned if expanded docs sorted by non-score 2019-10-24 19:41:14 +05:30
Munendra S N
f71e4b210d SOLR-13403: test terms component with point fields on empty index 2019-10-24 10:06:16 +05:30
Tomas Fernandez Lobbe
dc9dbd266b
SOLR-13866: Override getSolrMetricsContext in DirectUpdateHandler2 (#971) 2019-10-23 16:13:26 -07:00
Noble Paul
98f08d39aa
SOLR-13822: Isolated Classloading from packages (#957)
SOLR-13822: A Package management system with the following features. A packages.json in ZK to store
  the configuration, APIs to read/edit them and isolated classloaders to load the classes from
  those packages if the 'class' attribute is prefixed with `<package-name>:`
2019-10-24 08:55:11 +11:00
David Smiley
3ae8204248 SOLR-13855: DistributedZkUpdateProcessor needs to propagate URP.finish()
Important since Run URP finish() propagates to updateLog to fsync()!
Closes #969
2019-10-23 17:49:01 -04:00
Andrzej Bialecki
c1174dc0d6 SOLR-13831: Support defining arbitrary autoscaling simulation scenarios. 2019-10-23 20:48:10 +02:00
Tomas Fernandez Lobbe
98cdac82a1
SOLR-13860: Enable back TestTlogReplica (#965)
* Wait for leader in testBasicLeaderElection

It can take some time (>4 seconds) to elect a new leader, and if the update is attempted immediately it'll fail. Need to either wait for the leader or retry the udpate in case of failure (which is what clients would do)

* Wait for leader to be active in testKillTlogReplica

* Add hack to prevent unrelated failure

* Reduce the time wait time for replica state change

* A more robust attempt to add replicas in the tests

* Wait for replication for 2 times the replication time
2019-10-23 10:46:36 -07:00
Andrzej Bialecki
1d7cd61575 SOLR-13854: Remove deprecated SolrMetricProducer.initializeMetrics API. 2019-10-22 21:23:48 +02:00
Munendra S N
597241a412 SOLR-13403: disable distrib test for point fields in terms 2019-10-22 10:40:38 +05:30
Mikhail Khludnev
afdb80069c SOLR-13824: reject prematurely closed curly bracket in JSON. 2019-10-21 23:25:06 +03:00
Munendra S N
80bca5040a SOLR-9802: fix grouping failure for date fields in solrcloud
Closes #221
2019-10-20 15:57:19 +05:30
Noble Paul
831f90fa36
SOLR-13841: Add jackson databind annotations to SolrJ classpath
SOLR-13841: Add jackson databind annotations to SolrJ classpath
2019-10-20 10:00:13 +11:00
Munendra S N
cabc125eef SOLR-13403: fix NPE in terms for DatePointField
* This fixes NPE and adds support for DatePointField in terms
  component
2019-10-18 23:45:57 +05:30
Munendra S N
dce0c5953c SOLR-13827: fail on unknown operation in Request Parameters API 2019-10-18 21:08:33 +05:30
Andrzej Bialecki
f07998fc23 SOLR-13677: All Metrics Gauges should be unregistered by components that registered them. 2019-10-18 17:15:04 +02:00
Shalin Shekhar Mangar
86a40c1cd5 SOLR-13843: The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas 2019-10-18 14:48:37 +05:30
Chris Hostetter
63e9bcf5d1 SOLR-13741: Harden AuditLoggerIntegrationTest 2019-10-16 16:56:34 -07:00
Chris Hostetter
ebc720c5b0 SOLR-13852: Fix TestCloudNestedDocsSort to ensure child docs are never created in a way that violates uniqueKey rules 2019-10-16 15:49:58 -07:00
Jan Høydahl
611c4f960e
SOLR-13835 HttpSolrCall produces incorrect extra AuditEvent on AuthorizationResponse.PROMPT (#946) 2019-10-17 00:44:34 +02:00
Andrzej Bialecki
f7f6a37f33 SOLR-13849: Ignore events created by running triggers. 2019-10-16 10:32:54 +02:00
Chris Hostetter
939b3364e6 SOLR-13846: workaround - elliminate use of problematic PreemptiveBasicAuthClientBuilderFactory in tests that don't need it 2019-10-15 15:37:33 -07:00
Ishan Chattopadhyaya
e2b160b865 SOLR-13834: ZkController#getSolrCloudManager() now uses the same ZkStateReader instance instead of instantiating a new one
ZkController#getSolrCloudManager() created a new instance of ZkStateReader, thereby causing mismatch in the
visibility of the cluster state and, as a result, undesired race conditions.
2019-10-15 14:51:02 +05:30
Ishan Chattopadhyaya
b8648c60e7 SOLR-13793: Limiting number of forwards to total replicas in collection to avoid deadly forwarding loops 2019-10-15 14:43:20 +05:30
Koen De Groote
e7e6cfaecf LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). (#919) 2019-10-14 18:45:47 +02:00
Koen De Groote
04786244d0 LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2 2019-10-14 18:36:19 +02:00
yonik
1d43bda284 SOLR-13815: enhance live split test to fail more often 2019-10-13 17:07:10 -04:00
noble
88f457ee2a SOLR-13821: refactored the code to change the API to suit package loader 2019-10-12 16:59:14 +11:00
noble
84126ea0ea SOLR-13787: Better error logging 2019-10-12 16:35:08 +11:00
Yonik Seeley
a057b0d159
SOLR-13815: fix live split data loss due to cluster state change between checking current shard state and getting list of subShards (#920)
* SOLR-13815: add simple live split test to help debugging possible issue

* SOLR-13815: fix live split data loss due to cluster state change berween checking current shard state and getting list of subShards
2019-10-11 15:07:03 -04:00
noble
5b6561eadb SOLR-13787: Support for Payload<T> as 3rd param 2019-10-12 00:39:05 +11:00
noble
2d32f0b5a6 SOLR-13787: Added support for PayLoad<T> as 3rd param 2019-10-12 00:23:40 +11:00
noble
8bfd8a55c9 SOLR-13827: Added support for PayLoad<T> as 3rd param 2019-10-12 00:11:59 +11:00
noble
5e9ed10657 SOLR-13821: Incorrect file path escape in windows 2019-10-11 11:47:39 +11:00
Gus Heck
be813bd0ae
SOLR-13760 - restore viability of date math in TRA start property (#879)
* SOLR-13760 - restore viability of date math in TRA start property by 
fixing the start date for time routed aliases
upon the receipt of the first document to avoid problems
with date math calculations required by DRA's
2019-10-10 18:17:22 -04:00
Andrzej Bialecki
430267ecc9 SOLR-13828: Improve ExecutePlanAction error handling. 2019-10-10 23:59:06 +02:00
Cao Manh Dat
1cda424503 SOLR-13293: ConcurrentUpdateHttp2SolrClient always log AsynchronousCloseException exception error on indexing 2019-10-09 20:56:50 +01:00
noble
c0b00716bd SOLR-13821: missing package-info.java 2019-10-09 23:17:30 +11:00
Andrzej Bialecki
8c144444fe SOLR-13376: Multi-node race condition to create/remove nodeLost markers. 2019-10-08 13:41:02 +02:00
Noble Paul
e3bd5a7da2
SOLR-13821: Package Store for storing package artifacts (#929)
SOLR-13821: Package Store for storing package artifacts
2019-10-08 14:24:33 +11:00