5158 Commits

Author SHA1 Message Date
Houston Putman
bf26279699 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:51:04 -07:00
Munendra S N
21e58bc128 SOLR-12393:fix score not returned if expanded docs sorted by non-score 2019-10-24 20:02:32 +05:30
David Smiley
9a108996bb SOLR-13855: DistributedZkUpdateProcessor needs to propagate URP.finish()
Important since Run URP finish() propagates to updateLog to fsync()!
Closes #969

(cherry picked from commit 3ae820424809baa4e5a85d8bbdb0294cf6fe5b9b)
2019-10-23 17:51:27 -04:00
Andrzej Bialecki
6e6b36cbcd SOLR-13831: Support defining arbitrary autoscaling simulation scenarios. 2019-10-23 21:14:05 +02:00
Mikhail Khludnev
0b8b1438e9 SOLR-13824: reject prematurely closed curly bracket in JSON. 2019-10-21 23:35:15 +03:00
Munendra S N
437b7445c6 SOLR-9802: fix grouping failure for date fields in solrcloud
Closes #221
2019-10-20 16:10:55 +05:30
Munendra S N
c65451115c SOLR-13403: fix NPE in terms for DatePointField
* This fixes NPE and adds support for DatePointField in terms
  component
2019-10-19 00:09:07 +05:30
Andrzej Bialecki
441af3e7aa SOLR-13677: All Metrics Gauges should be unregistered by components that registered them. 2019-10-18 18:44:16 +02:00
Munendra S N
b8213cef1a SOLR-12769: correct documentation for delete op in request params API 2019-10-18 21:29:05 +05:30
Munendra S N
2cbe03429e SOLR-13827: fail on unknown operation in Request Parameters API 2019-10-18 21:28:53 +05:30
Shalin Shekhar Mangar
ab65f34686 SOLR-13843: The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas
(cherry picked from commit 86a40c1cd5691ce8c9c233c9a8186a4f50aa4f5f)
2019-10-18 14:52:26 +05:30
Jan Høydahl
5a074b0fe4 SOLR-13835 HttpSolrCall produces incorrect extra AuditEvent on AuthorizationResponse.PROMPT (#946)
(cherry picked from commit 611c4f960e9472880e2ec24dda9336a59cd41426)
2019-10-17 00:47:42 +02:00
Cassandra Targett
802e97d6aa SOLR-12786: Update Ref Guide build tool versions & fix section links for new format requirements 2019-10-16 12:43:59 -05:00
Ishan Chattopadhyaya
fb4b2a8834 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:52:16 +05:30
Ishan Chattopadhyaya
46df93ced4 SOLR-13793: Limiting number of forwards to total replicas in collection to avoid deadly forwarding loops 2019-10-15 14:43:57 +05:30
Jan Høydahl
337dbd50a6 SOLR-13665: Added missing netty dependencies to solrJ (#938)
(cherry picked from commit 64fb42c71475fb849da873297f53a982e5293f14)
2019-10-15 10:36:45 +02:00
Noble Paul
41779e5f60 SOLR-13731: javabin must support a 1:1 mapping of the JSON update format 2019-10-14 11:09:23 +11:00
Yonik Seeley
cc62b9fac2 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:11:04 -04:00
Joel Bernstein
946df69a8a SOLR-13829: Update CHANGES.txt 2019-10-11 09:04:08 -04:00
Gus Heck
cdca1fcd67 SOLR-13760 update CHANGES.txt
(cherry picked from commit fb3d030e056989e61243df956c34cde7b702e654)
2019-10-10 21:38:47 -04:00
Andrzej Bialecki
9c96834ca7 SOLR-13828: Improve ExecutePlanAction error handling. 2019-10-10 23:59:30 +02:00
Cao Manh Dat
8864320e39 SOLR-13293: ConcurrentUpdateHttp2SolrClient always log AsynchronousCloseException exception error on indexing 2019-10-09 20:57:25 +01:00
Ishan Chattopadhyaya
a46340330f Adding version 8.4.0 2019-10-08 19:56:42 +05:30
Joel Bernstein
a4a1d2f7a8 SOLR-13298: Update CHANGES.txt 2019-10-08 10:03:23 -04:00
Andrzej Bialecki
47aece66b4 SOLR-13376: Multi-node race condition to create/remove nodeLost markers. 2019-10-08 13:42:43 +02:00
Noble Paul
f19aaa8097 SOLR-13821: Package Store for storing package artifacts (#929)
SOLR-13821: Package Store for storing package artifacts
2019-10-08 22:21:41 +11:00
Jason Gerlowski
5dc480f88f SOLR-13539: Fix MV removeregex atomic-updates
Prior to this commit, the ByteArrayUtf8CharSequence issues had been
fixed on single value removeregex commands, but not if multiple regex's
were used.

This commit fixes our NamedList parsing for this additional case.  It
also adds some tests for related atomic-update cases.

Co-Authored-By: Tim Owen
2019-10-08 06:32:17 -04:00
Andrzej Bialecki
611966ec7b SOLR-13790: LRUStatsCache size explosion and ineffective caching. 2019-10-07 22:41:41 +02:00
Noble Paul
bb3d4e41f0 SOLR-13787: An annotation based system to write v2 APIs
This is to make V2 APIs easier to write and less error prone
* All specs are always in sync with code
* specs are generated from code
*  no need to learn and write json schema
2019-10-07 09:31:07 +11:00
Mikhail Khludnev
67de998cb7 SOLR-13719: introducing SolrClient.ping(collection) 2019-10-06 23:48:34 +03:00
Ishan Chattopadhyaya
af2fe8febc SOLR-13661: Reverting all half-baked stuff from SOLR-13707, SOLR-13659, SOLR-13565, SOLR-13650, SOLR-13710, SOLR-13721, SOLR-13637
All half baked package management and hot-classloading code reverted to allow for a fresh start.
2019-10-06 20:38:59 +05:30
Thomas Wöckinger
95e54196fc SOLR-13795: Managed schema should do a core reload in standalone mode.
Fixes #902

(cherry picked from commit 22e96697de1d9bc710f6e68e94885460106528bc)
2019-10-04 14:04:42 -04:00
Christine Poerschke
e734b40375 SOLR-13812: Add javadocs, uneven rejection and basic test coverage for the SolrTestCaseJ4.params method.
(Diego Ceccarelli, Christine Poerschke, Munendra S N)
2019-10-04 11:35:04 +01:00
Christine Poerschke
03facaa3f7 SOLR-13791: Remove remaining Commons BeanUtils references. (Andras Salamon, Christine Poerschke) 2019-10-04 11:35:04 +01:00
Andrzej Bialecki
ae80c181d8 SOLR-8241: Add CaffeineCache, an efficient implementation of SolrCache. 2019-10-04 07:51:58 +02:00
Thomas Wöckinger
1ee531920a SOLR-13802: Write analyzer property luceneMatchVersion to managed schema
Closes #911
(cherry picked from commit 4ddde00667faa3c23081b9bdfc552ab3472bad24)
2019-10-01 09:23:54 -04:00
Erick Erickson
2f0dc888f5 SOLR-13771: Add -v and -m to ulimit section of reference guide and bin/solr checks. Forgot CHANGES.txt entry
(cherry picked from commit 67f4c7f36eef2ae75fb80859dfc0e612675cb94d)
2019-09-30 18:01:39 -04:00
Cao Manh Dat
494d823e9d SOLR-13798: SSL: Adding Enabling/Disabling client's hostname verification config 2019-09-30 16:31:11 +01:00
Joel Bernstein
5c860391ef SOLR-13632,SOLR-13667,SOLR-13625: Update CHANGES.txt 2019-09-29 20:37:50 -04:00
Shalin Shekhar Mangar
d353c19f77 SOLR-13712: JMX MBeans are not exposed because of race condition between creating platform mbean server and registering mbeans
(cherry picked from commit 2ba61c8fb9c42586a174072276592ddfdff1563b)
2019-09-29 10:11:08 +05:30
Munendra S N
b7ce53d0bf SOLR-13417: handle stats on date/str fields in solrj's JSON facet resp
* Except for min/max aggregation in all other cases values woudl be
  number. As for same data/string field, value can vary based on
  aggregation used, capture response in Map<String, Object>
2019-09-28 12:21:18 +05:30
Munendra S N
9586396dba SOLR-13180: fix classCastEx in JSON Request API 2019-09-28 11:22:45 +05:30
Yonik Seeley
971b5d5823 SOLR-13399: add SPLITSHARD splitByPrefix docs (#903)
* SOLR-13399: add SPLITSHARD splitByPrefix docs

* SOLR-13727: CHANGES entry for bug
2019-09-27 13:36:58 -04:00
Chris Hostetter
e979255ca7 SOLR-13747: New TestSSLTestConfig.testFailIfUserRunsTestsWithJVMThatHasKnownSSLBugs() to give people running tests more visibility if/when they use a known-buggy JVM causing most SSL tests to silently SKIP
(cherry picked from commit ec9780c8aad7ffbf394d4cbefa772c6ba61650d0)
2019-09-26 14:13:02 -07:00
Anshum Gupta
3c3d5b1172
LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (#871) (#901)
* LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (#871)
2019-09-25 15:26:00 -07:00
David Smiley
74cfacee96 SOLR-13784: EmbeddedSolrServer coreName optional
(cherry picked from commit 0d0af505a034a04e3d86cd24447b5a747bfa23c0)
2019-09-25 11:34:12 -04:00
Munendra S N
f43909111f SOLR-13022: validate sort parameters in JSON facet after parsing
* This fixes NPE in case of non-existent aggregate functions in sort/prelim_sort
* validate sort direction
2019-09-25 10:57:17 +05:30
Gus Heck
b1fc4bb31e SOLR-11492 - clean up /solr/cloud-dev and add a well documented script.
(cherry picked from commit d75f027912d9c0142885ade9b25c08cc00260470)
2019-09-21 08:54:07 -04:00
Munendra S N
230c6bf2cb SOLR-13272: add support for arbitrary ranges in JSON Range faceting
In some cases, the gap might need to be different for different ranges.
To support such cases, add support to specify arbitrary ranges.
2019-09-21 12:08:41 +05:30
Munendra S N
b7a4665925 SOLR-13725: allow negative values for limit in TermsFacetMap
* when limit is negative all the facet values are returned
* allow mincount=0 in TermsFacetMap.
2019-09-21 11:19:42 +05:30