2385 Commits

Author SHA1 Message Date
Andrzej Bialecki
6ebe4d16d2 SOLR-13981: Remove unused DistributedQueue interface. (Andras Salamon) 2019-12-04 11:14:07 +01:00
Anshum Gupta
b4375cc235
SOLR-13998: Add thread safety annotations to classes (#1053) (#1057) 2019-12-04 12:09:22 +05:30
Robert Muir
08720cf5c0 SOLR-14000: clean up more static field leaks in tests
On windows, these objects can't be inspected due to security restrictions. So the test runner fails the tests since it does not know how big the leak is.
2019-12-03 18:53:43 -05:00
Jeff
dc15f2e563 SOLR-13926: javadocs on CompositeIdRouter
Closes #1009

(cherry picked from commit 16f793915ec6dfceecf0267c66ac0c051da2d0c4)
2019-12-03 17:45:09 -05:00
noble
664d93591f SOLR-13995: Move ZkShardTerms.Terms to SolrJ 2019-12-03 15:37:22 +11:00
Noble Paul
80abab2935 SOLR-13992: Refactor code to have collection, shard name in Replica,Slice (#1051)
* SOLR-13992: Refactor code to have collection name shard name in Replica,Slice
2019-12-03 13:12:23 +11:00
noble
4ad3902137 SOLR-13963: JavaBinCodec has concurrent modification of CharArr resulting in corrupt internode updates 2019-11-26 08:22:48 +11:00
Andy Vuong
a25ecd7f30 SOLR-13950: Fix getLeaderRetry swallowing interrupt in ZkStateReader (#1023)
Let InterruptedException bubble up
2019-11-22 11:07:25 -08:00
Ishan Chattopadhyaya
6edbda7429 SOLR-13662: Package manager (CLI) 2019-11-14 19:19:58 +05:30
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
noble
a09f2df216 SOLR-13822: Missing package-info files 2019-11-08 14:42:49 +11: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
e4f23388dc SOLR-13864: MathExpressionTest non-reproducible failures due to assertions of non-absolutes and randomization beyond test seed 2019-11-05 15:16:33 -05:00
Joel Bernstein
fa7fe3af19 SOLR-10786: Add DBSCAN clustering Streaming Evaluator 2019-11-02 14:52:51 -04:00
Tomas Fernandez Lobbe
220faa5cbf SOLR-13865: Add missing package docs 2019-10-28 16:25:01 -07:00
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
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