Commit Graph

13364 Commits

Author SHA1 Message Date
Chris Hostetter e979255ca7 SOLR-13747: New TestSSLTestConfig.testFailIfUserRunsTestsWithJVMThatHasKnownSSLBugs() to give people running tests more visibility if/when they use a known-buggy JVM causing most SSL tests to silently SKIP
(cherry picked from commit ec9780c8aa)
2019-09-26 14:13:02 -07:00
Munendra S N d23303649a SOLR-13272: add documentation for arbitrary range in JSON facet 2019-09-26 10:17:11 +05:30
Anshum Gupta 3c3d5b1172
LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (#871) (#901)
* LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (#871)
2019-09-25 15:26:00 -07:00
David Smiley 74cfacee96 SOLR-13784: EmbeddedSolrServer coreName optional
(cherry picked from commit 0d0af505a0)
2019-09-25 11:34:12 -04:00
Munendra S N f43909111f SOLR-13022: validate sort parameters in JSON facet after parsing
* This fixes NPE in case of non-existent aggregate functions in sort/prelim_sort
* validate sort direction
2019-09-25 10:57:17 +05:30
Chris Hostetter 8e2a050800 SOLR-13786: AwaitsFix SolrExporterIntegrationTest
(cherry picked from commit 4ec4061cbc)
2019-09-23 10:33:26 -07:00
Gus Heck b1fc4bb31e SOLR-11492 - clean up /solr/cloud-dev and add a well documented script.
(cherry picked from commit d75f027912)
2019-09-21 08:54:07 -04:00
Munendra S N 230c6bf2cb SOLR-13272: add support for arbitrary ranges in JSON Range faceting
In some cases, the gap might need to be different for different ranges.
To support such cases, add support to specify arbitrary ranges.
2019-09-21 12:08:41 +05:30
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 393d1978c1 SOLR-13638: Add debug,trace RBAP logging (#894)
Increase log level to DEBUG or TRACE for
org.apache.solr.security.RuleBasedAuthorizationPlugin for
more helpful debugging output.
2019-09-20 14:52:15 -04:00
Chris Hostetter be5e2974e1 SOLR-13781: AwaitsFix TestContainerReqHandler.testPackageAPI
(cherry picked from commit 5a01a8b362)
2019-09-19 17:15:04 -07:00
Dawid Weiss 8c308a940b SOLR-13779: Use the safe fork of simple-xml for clustering contrib 2019-09-19 12:25:12 +02:00
Jan Høydahl a7865cdfdd SOLR-13734 JWTAuthPlugin to support multiple issuers (#860)
(cherry picked from commit dd729549b5)
2019-09-19 10:35:07 +02:00
Andrzej Bialecki d50085f1cb SOLR-13763: Ignore freedisk changes in a live simulator created from snapshot. 2019-09-18 23:22:50 +02:00
Anshum Gupta b9633e0f26
SOLR-13773: Prometheus Exporter GC and Heap options (#887) (#890)
* SOLR-13773: Prometheus Exporter GC and Heap options

* Adding info to the ref-guide.
2019-09-18 13:40:46 -07:00
Andrzej Bialecki 84bf86f999 SOLR-13763: Improve the tracking of "freedisk" in autoscaling simulations. 2019-09-18 19:19:34 +02:00
Bruno Roustant a80534a589 LUCENE-8921: IndexSearcher.termStatistics API change
This 8x backport keeps the original method to call the new one.
Closes #797

(cherry picked from commit fd0c8b9e81)
2019-09-17 16:56:09 -04:00
Jan Høydahl fce0a5d45b SOLR-13767: Upgrade jackson to 2.9.9 (#886)
(cherry picked from commit b617769614)
2019-09-17 01:17:44 +02:00
Andrzej Bialecki d3671fd0d2 SOLR-13159: Add a warning about DNS resolution in SolrCloud clusters. 2019-09-16 18:48:29 +02:00
Andrzej Bialecki 2f701c6787 SOLR-9658: Max idle time support for SolrCache implementations. 2019-09-16 18:23:11 +02:00
Jason Gerlowski f12a652e11 SOLR-13622: Fix file-handle leak 2019-09-14 20:41:15 -04:00
Jan Høydahl a5b5585822 SOLR-13238: BlobHandler generates non-padded md5
(cherry picked from commit 31735eeb40)
2019-09-14 22:26:59 +02:00
Thomas Wöckinger f56aacd0a1 SOLR-13739: Optimized large managed schema modifications
Internal O(n^2) problem.
Fixes #855

(cherry picked from commit e788024b84)
2019-09-13 12:36:44 -04:00
Koen De Groote ad6d73b481 Changing keyset() to entryset() and sometines values(). (#868) 2019-09-13 15:42:42 +02:00
Chris Hostetter 89c54ec0d1 LTR Test Hardening:
1) use per-method state isolation in several tests...

This helps prevent failures in one test to allow persisted date to leak into other test methods,
as well as ensuring that these tests play nicely with -Dtests.iters > 1

2) TestRerankBase cleanup to eliminate unnecessary extra SolrCore (that was being leaked)

(cherry picked from commit 3ed96026d3)
2019-09-12 18:12:09 -07:00
Michael Gibney ca25f9f573 SOLR-13714: Correct refguide regarding shardHandlerFactory solrconfig.xml element (#843) 2019-09-12 13:19:18 -05:00
Chris Hostetter d90e6f807e CloudExitableDirectoryReaderTest improvements
remove use of LbSolrClient to prevent premature failure of low timeAllowed options on slow jenkins machines

increase cluster size to also test codepaths where requests are proxied by a node that does not host any core in the collection

(cherry picked from commit fb5a3e28fe)
2019-09-11 16:29:50 -07:00
Chris Hostetter 3120409699 Fix TestSnapshotCloudManager test bug: file handle leak
I believe this was the root cause of some recent windows jenkins suite level failures in cleaning up temp files

(cherry picked from commit 416de65d31)
2019-09-11 11:48:18 -07:00
Jan Høydahl 4af601eb10 SOLR-13713: JWTAuthPlugin to support multiple JWKS endpoints
(cherry picked from commit 4599f6e9ee)
2019-09-10 13:04:21 +02:00
Noble Paul b1bccf7cac SOLR-13677: reverting the last commit 2019-09-10 00:50:56 +10:00
Andrzej Bialecki a7820b343c SOLR-13742: temporarily disable this assertion while I investigate jenkins failures
(the test passes local beasting).
2019-09-07 22:24:32 +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
David Smiley 454db9831e SOLR-13745: AtomicUpdateProcessorFactoryTest should close request
(cherry picked from commit da158ab229)
2019-09-06 13:57:13 -04: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
David Smiley 3a20ebc3a6 SOLR-13728: fail partial updates to child docs when not supported.
(cherry picked from commit c8203e4787)
2019-09-05 23:18:15 -04: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
Christine Poerschke a8c0b9a6fa SOLR-13733: add class-level javadocs for 4 org.apache.solr.metrics classes 2019-09-04 16:13:58 +01:00
Chris Hostetter de8307a204 Harden SimpleMLTQParserTest
replace implicit assumption about default index order with explicit assumption about uniqueKey order, to prevent spurious failures when concurrent out of order merges take place

(cherry picked from commit e2208332e5)
2019-09-03 21:25:24 -07:00
Chris Hostetter 96c9207f90 CHANGES fixup: SOLR-13709 -> SOLR-13717
(cherry picked from commit d1a4d13525)
2019-09-03 11:23:21 -07:00
Chris Hostetter 86e8c44be4 SOLR-13709: Fixed distributed grouping when multiple 'fl' params are specified
(cherry picked from commit 83cd54f801)
2019-09-03 11:02:21 -07:00
Erick Erickson dd27d003a4 SOLR-13729: Add the caution that schemaless is not suitable for production to the 'Schemaless Mode' section of the ref guide
(cherry picked from commit 0ad1684dfc)
2019-09-01 10:00:35 -04:00
Jan Høydahl e8c2b6af2a SOLR-13122: Ability to query aliases in Solr Admin UI
(cherry picked from commit 52be32d4ad)
2019-08-30 14:38:53 +02:00
Mikhail Khludnev c857c1da3d SOLR-13720: BlockJoinParentQParser.getCachedFilter made public 2019-08-29 17:39:59 +03:00
Ishan Chattopadhyaya 12715da544 SOLR-13718: A more targeted fix for SPLITSHARD, thereby avoiding Backup/Restore test failures 2019-08-29 17:26:11 +05:30
Ishan Chattopadhyaya d606ffdea9 SOLR-13718: SPLITSHARD (async) with failures in underlying sub-operations can result in data loss
When SPLITSHARD is issued asynchronously, any exception in a sub-operation isn't propagated and the overall
  SPLITSHARD task proceeds as if there were no failures. This results in marking the active parent shard inactive
  and can result in two empty sub-shards, thus causing data loss.
2019-08-29 10:13:58 +05:30
Noble Paul da02e9f83c SOLR-13723: JettySolrRunner should support /api/* (the v2 end point) 2019-08-29 14:06:42 +10:00
Noble Paul 7d026f803d SOLR-13723: JettySolrRunner should support /api/* (the v2 end point) 2019-08-29 14:06:36 +10:00
Anshum Gupta 7c101fba4a
SOLR-13257: Cleanup code and make the AffinityReplicaTransformer constructors private (#848) (#849)
SOLR-13257: Cleanup code and make the constructors private as the constructor is supposed to be called via the static getInstance method.
2019-08-28 08:47:25 -07:00