Commit Graph

2344 Commits

Author SHA1 Message Date
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 0d0af505a0)
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 f6f1b4244c)
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 ed137dbe28)
2019-08-08 15:19:53 +05:30
yonik d8f99a9986 SOLR-13399: ability to use id field for compositeId histogram 2019-08-06 14:11:12 -04:00
Munendra S N 488c75fb55 SOLR-12555: use expectThrows() to verify the ex thrown in tests 2019-08-03 13:19:53 +05:30
Joel Bernstein c69548d39f SOLR-13667: Fix precommit 2019-08-02 16:18:14 -04:00
Joel Bernstein 669b2fb0e2 SOLR-13667: Add upper, lower, trim and split Stream Evaluators 2019-08-02 16:17:59 -04:00
Joel Bernstein 6c7c21c574 SOLR-13625: Fix precommit 2019-07-30 11:13:40 -04:00
Joel Bernstein f6992a3a3b SOLR-13625: Fix broken test cases 2019-07-30 11:13:02 -04:00
Joel Bernstein eb280c4808 SOLR-13625: Add CsvStream, TsvStream Streaming Expressions and supporting Stream Evaluators 2019-07-30 11:10:10 -04:00
Jason Gerlowski fa9473df8f SOLR-13622: Add fileStream stream-source 2019-07-25 09:14:01 -04:00
noble 3b215927e8 SOLR-13637: removed ununsed code 2019-07-21 12:39:03 -07:00
Noble Paul 63d127c14f SOLR-13637 Enable loading of plugins from the corecontainer memclassloader 2019-07-21 12:38:47 -07:00
Munendra S N 37955f789e SOLR-12870: use StandardCharsets instead of String values
Fixes #469
2019-07-20 10:22:29 +05:30
Noble Paul e3b0fc7442 SOLR-13565, SOLR-13553 (#774)
* SOLR-13565: initial commit

* SOLR-13565: updated with testcase

* SOLR-13565: removed unused methods

* SOLR-13565: better logging

* SOLR-13565: disable SSL

* SOLR-13565: more tests

* SOLR-13565: syncing with master

* SOLR-13565: fixing tests

* SOLR-13565: fixing tests

* SOLR-13534: Fix test

Remove buggy 'port roulette' code that can easily fail if OS gives the selected port to a different process just before creating the server

Use jetty's built in support for listining on an OS selected port instead

Also increase timeouts to better account for slow/heavily loaded (ie:jenkins) VMs where SolrCore reloading may take longer then 10 seconds

* SOLR-13565: set proper permission name

* SOLR-13565: syncing with master

* SOLR-13565: syncing with master

* SOLR-13565: removed accidental change

* SOLR-13565: removed accidental change

* SOLR-13565: removed accidental change

* SOLR-13565: more tests

* SOLR-13565: Tests with key signing tests

* SOLR-13565: fixing concurrency issues in tests

* SOLR-13565: add tests with 512 bit RSA

* SOLR-13565: fixing concurrency issues

* SOLR-13565: remove unused code
2019-07-20 14:35:20 +10:00
yonik cab2db84b2 SOLR-13399: SPLITSHARD splitByPrefix for compositeId 2019-07-19 11:37:43 -04:00
Chris Hostetter 12495ac26c Harden StreamDecoratorTest
remove flakey dependency on sleep (to wait for cache expiration) w/explicit instruction to ignore cache

sleep is not garunteed to sleep the exact amount (based on limitations of the system clock)

(cherry picked from commit 24b94b8dac)
2019-07-18 19:40:47 -07:00
Gus Heck 081e2ef2c0 SOLR-13375 2 dimensional routed aliases 2019-07-15 11:11:24 -04:00
Andrzej Bialecki e616ed49a6 SOLR-13583: Return 400 Bad Request instead of 500 Server Error when a complex
alias is found but a simple alias was expected.
2019-07-05 09:22:00 +02:00
Andrzej Bialecki 30a5b2cd87 SOLR-13583: Impossible to delete a collection with the same name as an existing alias. 2019-07-03 13:36:01 +02:00
Joel Bernstein 36ac878ea7 SOLR-13589: Fix precommit 2019-07-01 21:57:25 -04:00
Joel Bernstein 7e0df16220 SOLR-13589: Add zplot cluster test case 2019-07-01 21:57:09 -04:00
Joel Bernstein c6cc2fd9fd SOLR-13589: Allow zplot to visualize clusters and convex hulls 2019-07-01 21:56:47 -04:00
Chris Hostetter 01b303c2e5 SOLR-12988: SSLTestConfig has been changed to throw AssumptionViolatedException when tests/seeds request SSL but the JVM appears to be an OpenJDK version known to have SSL bugs
SOLR-13574: Add CHANGES entry that was overlooked
(cherry picked from commit aaf20aefa4)
2019-06-27 15:52:22 -07:00
Chris Hostetter 8db2fdfa91 SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
(cherry picked from commit 7e57d3a9d9)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
2019-06-27 10:39:24 -07:00
Jan Høydahl 2ef43ce78a SOLR-13569: AdminUI visual indication of prod/test/dev environment
(cherry picked from commit b54126169b)
2019-06-26 12:10:39 +02:00
Andrzej Bialecki da6e6fd559 SOLR-13566: REINDEXCOLLECTION does not work with (basic) authentication. 2019-06-25 16:54:56 +02:00
Noble Paul 8199ad48b5 reformatting 2019-06-25 17:07:17 +10:00