2369 Commits

Author SHA1 Message Date
noble
8489b0f159 a simple perf test to check serialization/deserialization perf 2019-10-28 17:18:37 +11: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
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
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
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
Koen De Groote
575f8a6ad8 LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). (#919) 2019-10-14 19:56:23 +02:00
Koen De Groote
93f9a093cc LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2 2019-10-14 19:56:00 +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
Joel Bernstein
f38ce1a815 SOLR-13829: RecursiveEvaluator casts Continuous numbers to Discrete Numbers, causing mismatch 2019-10-10 21:26:36 -04:00
Cao Manh Dat
21dfdac46c SOLR-13293: Fix compile error on Java 8 2019-10-10 08:10:16 +01:00
Cao Manh Dat
8864320e39 SOLR-13293: ConcurrentUpdateHttp2SolrClient always log AsynchronousCloseException exception error on indexing 2019-10-09 20:57:25 +01: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
f74edc6787 SOLR-13539: Improve atomic-update test coverage
Closes #665
2019-10-08 06:31:11 -04:00
Jason Gerlowski
20e382984a SOLR-13539: Introduce EmbeddedSolrServerTestBase
This groundwork commit allows tests to randomize request content-type
more flexibly.  This will be taken advantage of by subsequent commits.

Co-Authored-By: Thomas Woeckinger
Closes: #755
2019-10-08 06:31:11 -04:00
Andrzej Bialecki
611966ec7b SOLR-13790: LRUStatsCache size explosion and ineffective caching. 2019-10-07 22:41:41 +02:00
Joel Bernstein
7d4751e8b8 SOLR-13298: Allow zplot to plot matrices 2019-10-06 22:25:52 -04: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
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
Joel Bernstein
82fb0242f4 SOLR-13632: Fix precommit 2019-09-29 19:40:37 -04:00
Joel Bernstein
c27b8509d0 SOLR-13632: Support integral plots, cosine distance and string truncation with math expressions 2019-09-29 19:40:14 -04:00
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
David Smiley
74cfacee96 SOLR-13784: EmbeddedSolrServer coreName optional
(cherry picked from commit 0d0af505a034a04e3d86cd24447b5a747bfa23c0)
2019-09-25 11:34:12 -04:00
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
Munendra S N
31aa08ad24 SOLR-13780: fix ClassCastException in NestableJsonFacet
* handle both int and long values for count. In case of single-shard or
  standalone, count is int whereas in multishard count would be long
2019-09-21 11:19:32 +05:30
Jason Gerlowski
f12a652e11 SOLR-13622: Fix file-handle leak 2019-09-14 20:41:15 -04:00
Koen De Groote
ad6d73b481 Changing keyset() to entryset() and sometines values(). (#868) 2019-09-13 15:42:42 +02:00
Andrzej Bialecki
37c224b9e0 SOLR-13742: Allow optional redaction of data saved by 'bin/solr autoscaling -save'.
Fix some unwanted side-effects in snapshots + add more robust unit tests.
2019-09-07 22:00:19 +02:00
Christine Poerschke
6b5759efaf SOLR-13240: Fixed UTILIZENODE action resulting in IllegalArgumentException.
(Hendrik Haddorp, Richard Goodman, Tim Owen, shalin, noble, Christine Poerschke)
2019-09-06 12:55:03 +01:00
Megan Carey
c3a72475a6 SOLR-13727: Bug fix for V2Request handling in HttpSolrClient
Using regex to validate baseUrl and replace path for V2Requests

 Changed to using Java.net.URL for validation + path replacement
2019-09-04 22:16:31 -04:00
Christine Poerschke
ca0f289f37 SOLR-13736: reduce code duplication in TestPolicy.testNodeLostMultipleReplica 2019-09-04 16:13:58 +01:00
Noble Paul
7d026f803d SOLR-13723: JettySolrRunner should support /api/* (the v2 end point) 2019-08-29 14:06:36 +10:00
KoenDG
6397af1d42 Code changes and CHANGES.txt editted.
The majority of the code seems to already be using anyMatch and noneMatch logic, these few remaining instances were using count() and comparing the result to 0.
This changes everything to anyMatch and noneMatch, which is also potentially more performant.

Extra newline.
2019-08-27 15:22:09 -07:00
Noble Paul
df32670511 SOLR-13710: Persist package jars locally & expose them over http 2019-08-27 14:12:08 +10:00
Noble Paul
42fe1e2ff5 SOLR-13707: API to expose the currently used package name, details for each plugin (#841) 2019-08-22 16:32:41 +10:00
Tomas Fernandez Lobbe
706059dded SOLR-13257: Support deterministic replica routing
Deterministic replica routing can help improve caching and allow a more consistent paging when sorting by score

This closes #677
2019-08-21 11:38:15 -07:00
Noble Paul
b0a11ba5c7 SOLR-13650: Support for named global classloaders 2019-08-20 11:56:18 +10:00
Noble Paul
1c0490c9ab SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them (#836)
* SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them
2019-08-19 19:52:16 +10:00
Christine Poerschke
4689fb8642 SOLR-13240: make operation-not-null checks consistent in TestPolicy.testNodeLostMultipleReplica
(Richard Goodman via Christine Poerschke)
2019-08-13 15:37:20 +01:00
Megan Carey
7fc5c0e07d SOLR-13399: Adding splitByPrefix param to IndexSizeTrigger; some splitByPrefix test and code cleanup 2019-08-12 16:03:51 -04:00
Erick Erickson
5df5df9ec3 SOLR-13568: Precommit fail Java var until 9x. Fail var...
(cherry picked from commit f6f1b4244c40e5665b20a2a8ef9852c6dd827cb2)
2019-08-11 11:51:52 -04:00
noble
aec2eb0c9d SOLR-13682: command line option to export documents to a file 2019-08-10 17:44:52 +10:00
Jason Gerlowski
299d92da5c SOLR-13622: Rename FilesStream -> CatStream
Also fixes an 'cat' OS-dependent bug in StreamExpressionTest.
2019-08-08 08:39:10 -04:00
Shalin Shekhar Mangar
de522052c8 SOLR-13674: NodeAddedTrigger does not support configuration of replica type hint.
A new replicaType property has been added to NodeAddTrigger so that new replicas of the given type are added when the preferredOp is addreplica. The default value of replicaType is `NRT`.

This closes #821.

(cherry picked from commit ed137dbe281cfb314af340673a7b646922a2e7d1)
2019-08-08 15:19:53 +05:30