13237 Commits

Author SHA1 Message Date
Munendra S N
64357bc913 SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res 2019-07-29 09:58:23 +05:30
Munendra S N
68ec328807 SOLR-13656: fix bad mergePolicyFactory test in SolrIndexConfigTest
* use expectThrows to verify the exception and ex message
* remove unused DummyMergePolicy
2019-07-29 09:58:15 +05:30
Munendra S N
691b095066 SOLR-13633: fix typos in analytics documentation 2019-07-29 09:58:07 +05:30
Jason Gerlowski
ca4cd3c7d3 SOLR-13629: Cleanup whitespace in analytics contrib 2019-07-28 15:37:59 -04:00
Chris Hostetter
32da339365 Harden RulesTest
* ensure all collections/replicas are active

* use waitForState or waitForActiveCollection before checking rules/snitch to prevent false failures on stale state

* ensure cluster policy is cleared after each test method

Some of these changes should also help ensure we don't get (more) spurious failures due to SOLR-13616

(cherry picked from commit 4050ddc59beeff2be5a862782579ceb8e5775c60)
2019-07-26 18:41:29 -07:00
Ishan Chattopadhyaya
fdcf3155c7 SOLR-13637: Using google common's ImmutableMap instead of carrot's 2019-07-25 19:16:59 -04:00
Jason Gerlowski
fa9473df8f SOLR-13622: Add fileStream stream-source 2019-07-25 09:14:01 -04:00
noble
ab1e4b429f SOLR-13637: BasicAuthIntegrationTest failures fixed 2019-07-25 04:29:15 -04:00
yonik
d842b45727 SOLR-13399: annotate flaky test 2019-07-24 22:00:30 -04:00
noble
7664c6c1f7 SOLR-13637: addressing test failures take 2 2019-07-23 12:16:05 -04:00
Munendra S N
1089bbd73b SOLR-13191: correct the zookeeper link in ref-guide 2019-07-23 21:12:55 +05:30
Andrzej Bialecki
82a4614856 SOLR-13558: Allow dynamic resizing of SolrCache-s. 2019-07-23 12:54:58 +02:00
noble
2b0efb69eb SOLR-13637: reject duplicate jar updates 2019-07-22 16:24:46 -04:00
noble
21843dcd0d SOLR-13637: addressing test failures 2019-07-22 08:31:56 -07:00
Jan Høydahl
eca1e969f1 SOLR-6520: Replace old wiki link with versioned RefGuide link in version specific release docs
(cherry picked from commit 369a5dc796e998f11fa5f76b40ade5aad8cff6ea)
2019-07-22 14:27:02 +02: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
noble
8870b4ee32 SOLR-13565: Precommit errors 2019-07-22 03:33:36 +10:00
Mikhail Khludnev
4e6a6ab46b SOLR-11556: fixing multiple backup repository support. 2019-07-21 13:07:25 +03:00
Munendra S N
9d223b00b3 SOLR-10377: add debug.explain.structured to Admin UI
* This param would be displayed only if debugQuery is selected
2019-07-20 10:52:04 +05:30
Munendra S N
37955f789e SOLR-12870: use StandardCharsets instead of String values
Fixes #469
2019-07-20 10:22:29 +05:30
noble
5c1b3d03f4 SOLR-13565: Node level runtime libs loaded from remote urls
SOLR-13553: Node level custom RequestHandlers
2019-07-20 14:35:40 +10:00
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
Gus Heck
fb7a34cd5c SOLR-13375 - CHANGES.txt - Probably should be in a new features section
(cherry picked from commit b619bcd1fae1e8d52c307f4e6f2743f48c0f3712)
2019-07-19 11:07:27 -04:00
Gus Heck
8ab29d7ac3 SOLR-13375 - CHANGES.txt entry 2019-07-19 10:09:17 -04:00
Gus Heck
fa5e033086 SOLR-13375 - fix test. Can't shuffle the to random collections at
this point in the test since the collections available are changing due
to deletions and we might try to communicate with a collection
that was (correctly) deleted.

(cherry picked from commit a7435d9e6e2b6eac9b855157c969fa97cc447b35)
2019-07-19 10:02:45 -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 24b94b8dac4a8b4aea80294390d92705d164b546)
2019-07-18 19:40:47 -07:00
Christine Poerschke
eb75a60857 SOLR-13585: Factor out SearchGroupsResultTransformer.[de]serializeOneSearchGroup methods. (Christine Poerschke, Diego Ceccarelli) 2019-07-18 14:37:10 +01:00
Munendra S N
241c44a82d SOLR-13206: Fix AIOOBE when group.facet is specified with group.query
group.facet is supported only for group.field. When group.facet is
used with group.query, then return proper error code
2019-07-18 11:10:08 +05:30
Munendra S N
6899e0520e SOLR-13634:move ResponseBuilderTest to same package as ResponseBuilder 2019-07-17 22:53:08 +05:30
Munendra S N
4c11633c03 SOLR-12368: inplace update for field that doesn't yet exist in any doc
If the field is non-stored, non-indexed and docvalue enabled numeric field
then inplace update can be done. previously, lucene didn't support
docvalue update for field that is not yet present in indexWriter but
LUCENE-8316 added support for this.
This adds support to update field which satisfies inplace conditions
but which doesn't yet exist in any docs
2019-07-17 21:48:11 +05:30
Chris Hostetter
4ccef38d48 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

(cherry picked from commit 19c78ddf98b1cef86f7a1c6d124811af8726b41d)
2019-07-16 14:34:55 -07:00
Tomoko Uchida
b5e8dc3af4
LUCENE-8911: Backport LUCENE-8778 (improved analysis SPI name handling) to 8.x (#782)
This also keeps old names for backwards compatibility on 8.x
2019-07-16 18:22:50 +09:00
noble
2f3451c3b6 SOLR-13534: Make the test more robust 2019-07-16 11:54:12 +10:00
Gus Heck
081e2ef2c0 SOLR-13375 2 dimensional routed aliases 2019-07-15 11:11:24 -04:00
Adrien Grand
2885a11578 LUCENE-8811: Revert on 8.x. 2019-07-15 13:52:43 +02:00
Ishan Chattopadhyaya
ee4495f33b SOLR-13619: Kerberos plugin to forward original user principal 2019-07-15 15:13:13 +05:30
Ishan Chattopadhyaya
a7a3fab8c8 SOLR-13472: Forwarded requests should skip authorization on receiving nodes 2019-07-15 15:13:04 +05:30
Tomoko Uchida
6504babebd Update solr/CHANGES.txt for SOLR-13588 and SOLR-13602. 2019-07-14 14:52:42 +09:00
Chris Hostetter
d91900a4a2 Harden DeleteReplicaTest
* tighten assertions related to type of watcher that should be removed

* use waitForActiveCollection before deleting collections to work around SOLR-13616 and/or SOLR-13627

(cherry picked from commit 7ddba3b7123f11d387ff395516cf46c607ac21ee)
2019-07-13 08:03:47 -07:00
Chris Hostetter
4f2d7c2ecd SOLR-13532: Fix http timeout and error logging bugs in RecoveryStrategy
(cherry picked from commit f85a78c44185c6cb620866a1ab37510757392ed0)
2019-07-11 14:05:16 -07:00
Tomoko Uchida
59c7eb92cf LUCENE-8907: Revert LUCENE-8778 and succeeding commits. 2019-07-11 23:19:13 +09:00
iverase
51f4340796 Add next minor version 8.3.0 2019-07-11 12:47:34 +02:00
Christine Poerschke
72d38364f1 Fix couple of solr-ref-guide typos. 2019-07-11 11:30:28 +01:00
David Smiley
fb2c513a4c CHANGES.txt: separate improvements to dedicated section 2019-07-10 22:47:57 -04:00
Chris Hostetter
81b2e06ffe Harden TestPolicyCloud
- ensure all collections/replicas are active

- tighten assertions around expected replica locations

- eliminate some redundent code

These changes should also help ensure we don't get (more) spurious failures due to SOLR-13616

(cherry picked from commit 8a277cab7d15c03ff59577efceb6a0cb281d095a)
2019-07-10 17:17:28 -07:00
Munendra S N
0752c07c1c SOLR-11263: add test for payload func with undefined field
Payload func with undefined used to throw NPE. In SOLR-11610, this
was fixed to return proper error but there are no tests to verify
changed the behavior.
This add simple test to verify error code and error message
2019-07-10 10:42:56 +05:30
Christine Poerschke
439d43056c Fix two 'against' typos. 2019-07-09 11:14:59 +01:00
Chris Hostetter
4fd1850d2e SOLR-13599: additional 'checkpoint' logging to try and help diagnose strange failures
(cherry picked from commit b4a602f6b24196273adbdb7d47bf42fa8d08d807)
2019-07-08 08:42:07 -07:00