5172 Commits

Author SHA1 Message Date
Istvan Farkas
a1777b540b
SOLR-13921: Processing UpdateRequest with delegation token throws NullPointerException
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-11-13 13:03:41 -05:00
Andrzej Bialecki
3c06fbcad2 SOLR-13898: Non-atomic use of SolrCache get / put. 2019-11-13 18:10:12 +01:00
Chris Hostetter
8c12979fdd SOLR-13872: Fixed Backup failures due to race conditions in saving/reserving commit points
(cherry picked from commit 30e55e2b6efc55c04761b80c22a106f4a1115722)
2019-11-13 08:59:22 -07:00
Chris Hostetter
700aeeb58f Fix SOLR-13869 typo in CHANGES.txt
(cherry picked from commit 5df9a51cbfb51bcd1f2a723cef9f6d22accd72f1)
2019-11-12 14:04:53 -07:00
Chris Hostetter
b872863da9 SOLR-13864: SolrTestCaseJ4.getNextAvailablePort() has been deprecated
(cherry picked from commit 603be023feaf3f8e3e739e532b488068710d9097)
2019-11-12 13:42:14 -07:00
Noble Paul
37059eb594
SOLR-13822: Isolated Classloading from packages (#997)
* SOLR-13821: A Package store to store and load package artifacts 

* 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>:` 

*  SOLR-13841: Provide mappings for jackson annotation @JsonProperty to use Jackson deserializer
2019-11-06 19:45:14 +11:00
Joel Bernstein
3d69d112bc Fix CHANGES.txt 2019-11-05 09:20:34 -05:00
Joel Bernstein
70f5533045 SOLR-10786: Update CHANGES.txt 2019-11-05 09:18:41 -05:00
Andrzej Bialecki
848529128f SOLR-13882: Collections API COLSTATUS does not check live_nodes when reporting replica's status. 2019-11-05 14:07:24 +01:00
Jason Gerlowski
a98198cc04 SOLR-13762: Allow BinaryField use with non-binary wt's.
Closes #883
2019-11-04 08:44:33 -05:00
Houston Putman
2f8b3ea634 SOLR-13844: Remove replica recovery terms with the replica term (#951) 2019-11-04 09:41:40 +00:00
Chris Hennick
543d0b79aa 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:43:34 -07:00
Munendra S N
0e3a66be43 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 14:07:20 +05:30
Munendra S N
2055983d80 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 14:07:20 +05:30
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