7871 Commits

Author SHA1 Message Date
Chris Hostetter
0ec7986fc0 Minor logging improvements 2019-09-30 10:00:33 -07:00
Shalin Shekhar Mangar
2ba61c8fb9 SOLR-13712: JMX MBeans are not exposed because of race condition between creating platform mbean server and registering mbeans 2019-09-29 10:09:58 +05:30
Munendra S N
7752964e19 SOLR-13180: fix classCastEx in JSON Request API 2019-09-28 11:12:18 +05:30
David Smiley
0d0af505a0 SOLR-13784: EmbeddedSolrServer coreName optional 2019-09-25 11:33:28 -04:00
Munendra S N
cd9f3a9a46 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:39:55 +05:30
Munendra S N
43ee86a3d0 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 11:46:11 +05:30
Jason Gerlowski
e66741aecf
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:50:52 -04:00
Chris Hostetter
5a01a8b362 SOLR-13781: AwaitsFix TestContainerReqHandler.testPackageAPI 2019-09-19 17:14:32 -07:00
Jan Høydahl
dd729549b5
SOLR-13734 JWTAuthPlugin to support multiple issuers (#860) 2019-09-19 09:50:20 +02:00
Andrzej Bialecki
9e449ad0bc SOLR-13763: Ignore freedisk changes in a live simulator created from snapshot. 2019-09-18 23:22:18 +02:00
Andrzej Bialecki
6a8cfddf30 SOLR-13763: Improve the tracking of "freedisk" in autoscaling simulations. 2019-09-18 19:18:47 +02:00
Bruno Roustant
fd0c8b9e81 LUCENE-8921: IndexSearcher.termStatistics API change
Closes #797
2019-09-17 16:48:24 -04:00
Andrzej Bialecki
e04917dc9f SOLR-9658: Max idle time support for SolrCache implementations. 2019-09-16 16:50:07 +02:00
Jason Gerlowski
2546e7a2ec SOLR-13622: Fix file-handle leak 2019-09-14 20:39:12 -04:00
Jan Høydahl
31735eeb40 SOLR-13238: BlobHandler generates non-padded md5 2019-09-14 22:23:17 +02:00
Thomas Wöckinger
e788024b84 SOLR-13739: Optimized large managed schema modifications
Internal O(n^2) problem.
Fixes #855
2019-09-13 12:35:27 -04:00
Koen De Groote
ec78ef7852 Changing keyset() to entryset() and sometines values(). (#868) 2019-09-13 14:42:38 +02:00
Chris Hostetter
fb5a3e28fe 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
2019-09-11 16:29:28 -07:00
Chris Hostetter
416de65d31 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
2019-09-11 11:47:50 -07:00
Jan Høydahl
4599f6e9ee SOLR-13713: JWTAuthPlugin to support multiple JWKS endpoints 2019-09-10 13:01:47 +02:00
Noble Paul
042478cfa7 SOLR-13677: reverting the last commit 2019-09-08 14:57:47 +10:00
Andrzej Bialecki
9510e06612 SOLR-13742: temporarily disable this assertion while I investigate jenkins failures
(the test passes local beasting).
2019-09-07 22:23:22 +02:00
Andrzej Bialecki
6f22bf0964 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 12:09:09 +02:00
David Smiley
da158ab229 SOLR-13745: AtomicUpdateProcessorFactoryTest should close request 2019-09-06 13:55:57 -04:00
David Smiley
c8203e4787 SOLR-13728: fail partial updates to child docs when not supported. 2019-09-05 23:16:55 -04:00
Chris Hostetter
2552986e87 LUCENE-8917: Fix Solr's TestCodecSupport to stop trying to use the now-removed Direct docValues format 2019-09-05 12:11:49 -07:00
Christine Poerschke
6f12075e9a SOLR-13733: add class-level javadocs for 4 org.apache.solr.metrics classes 2019-09-04 15:50:41 +01:00
Chris Hostetter
e2208332e5 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
2019-09-03 21:24:43 -07:00
Chris Hostetter
83cd54f801 SOLR-13709: Fixed distributed grouping when multiple 'fl' params are specified 2019-09-03 11:01:58 -07:00
Tomoko Uchida
1862ffd6a4 SOLR-13690: Fix test resource. 2019-09-02 09:14:45 +09:00
Mikhail Khludnev
6dea678439 SOLR-13720: BlockJoinParentQParser.getCachedFilter made public 2019-08-29 17:37:48 +03:00
Jason Gerlowski
319cb005d3 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-08-29 09:52:46 -04:00
Ishan Chattopadhyaya
f27665198a SOLR-13718: A more targeted fix for SPLITSHARD, thereby avoiding Backup/Restore test failures 2019-08-29 17:27:40 +05:30
Tomoko Uchida
43d489cb4a SOLR-13593: Add SPI for ReversedWildcardFilterFactory 2019-08-29 15:01:46 +09:00
Marcus
b37d92bfee SOLR-13649 change the default behavior of the basic authentication plugin. (#805)
SOLR-13649: Property 'blockUnknown' of BasicAuthPlugin and JWTAuthPlugin now defaults to 'true'. This change is backward incompatible. To achieve the previous default behavior, explicitly set 'blockUnknown':'false' in security.json
2019-08-29 10:57:50 +05:30
Ishan Chattopadhyaya
a8d5bd34bf 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:04:08 +05:30
Noble Paul
cf21340294
SOLR-13723: JettySolrRunner should support /api/* (the v2 end point) 2019-08-29 14:01:52 +10:00
Anshum Gupta
0c9ec35f88
SOLR-13257: Cleanup code and make the AffinityReplicaTransformer constructors private (#848)
SOLR-13257: Cleanup code and make the constructors private as the constructor is supposed to be called via the static getInstance method.
2019-08-27 16:27:20 -07:00
noble
ea940347a7 SOLR-13650 : test jars recompiled with jdk8 2019-08-27 14:58:53 +10:00
Noble Paul
e23c50b2a8
SOLR-13710: Persist package jars locally & expose them over http 2019-08-27 14:04:42 +10:00
noble
7e5c071c08 SOLR-13721: TestApiFramework#testFramework failing in master consistently 2019-08-27 12:01:23 +10:00
Chris Troullis
64a4ca57a8 SOLR-13699 - maxChars no longer working on CopyField with Javabin 2019-08-26 08:57:17 +10:00
David Smiley
f335ac9bbc SOLR-11601: Improve geodist error message when using with LLPSF. 2019-08-24 00:18:48 +02:00
Atri Sharma
19aecb0f7d SOLR-13655:Upgrade Collections.unModifiableSet to Set.of and Set.copyOf (#817) 2019-08-23 14:31:28 -07:00
Jan Høydahl
07f1364800 SOLR-13702: Fix precommit 2019-08-23 18:19:35 +02:00
Jan Høydahl
0aa3654802
SOLR-13702: Some components register twice their metric names (#834) 2019-08-23 15:23:58 +02:00
Noble Paul
d1e4d81355
SOLR-13707: API to expose the currently used package name, details for each plugin (#841) 2019-08-22 16:27:19 +10:00
Chris Hostetter
2fdc882bc4 Additional logging in test framework methods that 'waitFor' something to better trace order of operations when failures occur 2019-08-21 13:13:40 -07:00
Tomas Fernandez Lobbe
8f4103dd4b 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:31:12 -07:00
noble
101fa624c3 SOLR-13706: Config API output is broken for "highlight" component 2019-08-21 07:29:03 +10:00