Commit Graph

7991 Commits

Author SHA1 Message Date
Gus Heck be813bd0ae
SOLR-13760 - restore viability of date math in TRA start property (#879)
* SOLR-13760 - restore viability of date math in TRA start property by 
fixing the start date for time routed aliases
upon the receipt of the first document to avoid problems
with date math calculations required by DRA's
2019-10-10 18:17:22 -04:00
Andrzej Bialecki 430267ecc9 SOLR-13828: Improve ExecutePlanAction error handling. 2019-10-10 23:59:06 +02:00
Cao Manh Dat 1cda424503 SOLR-13293: ConcurrentUpdateHttp2SolrClient always log AsynchronousCloseException exception error on indexing 2019-10-09 20:56:50 +01:00
noble c0b00716bd SOLR-13821: missing package-info.java 2019-10-09 23:17:30 +11:00
Andrzej Bialecki 8c144444fe SOLR-13376: Multi-node race condition to create/remove nodeLost markers. 2019-10-08 13:41:02 +02:00
Noble Paul e3bd5a7da2
SOLR-13821: Package Store for storing package artifacts (#929)
SOLR-13821: Package Store for storing package artifacts
2019-10-08 14:24:33 +11:00
Jason Gerlowski 25eda17c66 Fix atomic-update test failures 2019-10-07 14:14:46 -04:00
Andrzej Bialecki c0a446b179 SOLR-13790: LRUStatsCache size explosion and ineffective caching. 2019-10-07 19:53:52 +02:00
Jason Gerlowski ceb47042d1 SOLR-13539: Fix MV removeregex atomic-updates
Prior to this commit, the ByteArrayUtf8CharSequence issues had been
fixed on single value removeregex commands, but not if multiple regex's
were used.

This commit fixes our NamedList parsing for this additional case.  It
also adds some tests for related atomic-update cases.

Co-Authored-By: Tim Owen
2019-10-07 13:38:55 -04:00
Jason Gerlowski 24afd95902 SOLR-13539: Improve atomic-update test coverage
Closes #665
2019-10-07 08:27:29 -04:00
Noble Paul c5dc671aa3
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:19:57 +11:00
Ishan Chattopadhyaya 515af6d3ec 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 18:00:40 +05:30
Thomas Wöckinger 22e96697de SOLR-13795: Managed schema should do a core reload in standalone mode.
Fixes #902
2019-10-04 13:05:01 -04:00
Christine Poerschke b51013a10b SOLR-13812: Add javadocs, uneven rejection and basic test coverage for the SolrTestCaseJ4.params method.
(Diego Ceccarelli, Christine Poerschke, Munendra S N)
2019-10-04 11:18:33 +01:00
Christine Poerschke 824f0eca6b SOLR-13791: Remove remaining Commons BeanUtils references. (Andras Salamon, Christine Poerschke) 2019-10-04 11:14:19 +01:00
Andrzej Bialecki a0396da64b SOLR-8241: Fix an NPE. 2019-10-03 21:11:44 +02:00
Andrzej Bialecki 8007ac0cb0 SOLR-8241: Add CaffeineCache, an efficient implementation of SolrCache. 2019-10-03 15:17:08 +02:00
Mike Drob 2d3baf6e8f SOLR-13797 SolrResourceLoader no longer caches bad results when asked for wrong type 2019-10-02 16:35:54 -05:00
Chris Hostetter a57ec148e5 SOLR-13811: Refactor AutoAddReplicasIntegrationTest to isolate problematic situation into an AwaitsFix test method 2019-10-02 10:13:33 -07:00
Thomas Wöckinger 4ddde00667 SOLR-13802: Write analyzer property luceneMatchVersion to managed schema 2019-10-01 09:17:59 -04:00
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
nppoly 26628b2717 LUCENE-8755: Spatial-extras quad and packed-quad trees now index
points a little faster, and also fix an edge case bug.
 Fixes #824
2019-08-20 23:09:33 +02:00
Chris Hostetter 8725944fba SOLR-13650: AwaitsFix TestContainerReqHandler.testCacheFromGlobalLoader
the jenkins failure rate for this test since it was committed is over 80%, it needs to be dsaibled until this can be addressed
2019-08-20 09:45:11 -07:00
Munendra S N 540de65e14 SOLR-13704: correct error codes for client errors in expand component 2019-08-20 09:44:05 +05:30
noble d51a33f58f SOLR-13650: precommit errors fixed 2019-08-20 11:48:56 +10:00
Chris Hostetter a12cf2f6d8 Harden TestExtendedDismaxParser.testBf
Eliminate assumption about index order
2019-08-19 15:33:19 -07:00
noble 6eae96c34c SOLR-13650: cache reload listener 2019-08-20 05:49:46 +10:00
noble ca4fc9b912 SOLR-13650: compile error fixed 2019-08-20 05:12:58 +10:00
Noble Paul a4b0ab530f
SOLR-13650: Support for named global classloaders 2019-08-20 05:00:38 +10:00
Chris Hostetter 8a24641fb2 Harden TestExportWriter
force MergePolicy to ensure index order assumptions are valid
2019-08-19 11:53:34 -07:00
Munendra S N 0654c2496d SOLR-6328: return missing count for facet.missing=true even if limit=0
* facet.missing is independent of facet.limit. So, even for limit=0,
  missing counts should be return if facet.missing=true
2019-08-19 20:46:04 +05:30
Noble Paul 7415fe4539
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:48:06 +10:00
Chris Hostetter f5856ef404 SOLR-13701: Fixed JWTAuthPlugin to update metrics prior to continuing w/other filters or returning error 2019-08-18 12:20:51 -07:00
Chris Hostetter 251259d5ab SOLR-13700: Fixed a race condition when initializing metrics for new security plugins on security.json change 2019-08-18 12:18:54 -07:00
Chris Hostetter 54ab07718a Harden AliasIntegrationTest.testClusterStateProviderAPI
use the underlying ZKStateReader of the ClusterStateProvider when waiting for the alias ZNodeVersion to change

prior versions of the test waited using the zkStateReader of the remote client, but there was no garuntee that the state had been updated on the ClusterStateProvider being used by the test
2019-08-14 21:36:38 -07:00
Andrzej Bialecki 7c2d45d53e SOLR-13694: IndexSizeEstimator NullPointerException. 2019-08-14 17:57:13 +02:00
Andrzej Bialecki a4ff429ab0 SOLR-13693: Use strongly-typed setters for cache parameters. 2019-08-14 15:58:39 +02:00
noble 07ca02b737 SOLR-13688: Run the bin/solr export command multithreaded 2019-08-13 18:54:05 +10:00
Chris Hostetter c7822c393e SOLR-13464: Test work arounds
* Refactor existing work around in BasicAuthIntegrationTest up into SolrCloudAuthTestCase for re-use in JWTAuthPluginIntegrationTest

 * Simplify BasicAuthOnSingleNodeTest and PKIAuthenticationIntegrationTest to use their existing (static) security settings on creation of MiniSolrCloud.  Since they no longer modify security.json once the nodes are alive, the issue no longer affects them
2019-08-12 14:03:54 -07:00
Megan Carey 768ca7c5a7 SOLR-13399: Adding splitByPrefix param to IndexSizeTrigger; some splitByPrefix test and code cleanup 2019-08-12 15:59:45 -04:00
Jason Gerlowski 52f1108a0e SOLR-13573: Add SolrRangeQuery getters for bounds 2019-08-11 09:02:38 -04:00
Tomoko Uchida 9b986d268f SOLR-13593: Allow to look up analyzer components by their SPI names in field type configuration. 2019-08-11 16:35:25 +09:00
Munendra S N 9546d8612c SOLR-13680: use try-with-resource to close closeable resources
closes #822
2019-08-10 13:51:11 +05:30
noble b9912411ea SOLR-13682: precommit errors 2019-08-10 17:21:17 +10:00
Noble Paul e45e8127d5
SOLR-13682: command line option to export documents to a file
* SOLR-13682: command line option to export documents to a file
2019-08-10 16:34:23 +10:00
noble f692750356 Formatting fixed 2019-08-10 12:00:30 +10:00
Chris Hostetter 6cbe39c786 Harden SolrJmxReporterCloudTest
null out local ref to PlatformMBeanServer so test runner doesn't count it's memory size against the test class
2019-08-09 15:27:28 -07:00
yonik 2e5c554fea SOLR-13399: fix splitByPrefix default to be false 2019-08-09 09:05:22 -04:00
Shalin Shekhar Mangar e59f41b671 SOLR-13141: CDCR bootstrap does not replicate index to the replicas of target cluster.
The leader node on the target cluster will now increment its term after bootstrap succeeds so that all replicas of this leader are forced to recover and fetch the latest index from the leader.
2019-08-09 08:28:52 +05:30
Jason Gerlowski 2eb493d170 SOLR-13622: Rename FilesStream -> CatStream
Also fixes an 'cat' OS-dependent bug in StreamExpressionTest.
2019-08-08 08:38:21 -04:00
Shalin Shekhar Mangar ed137dbe28 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.
2019-08-08 15:14:55 +05:30
Jan Høydahl 64884be044
SOLR-13672: Zk Status page now parses response from Zookeeper 3.5.5 correctly (#818)
* SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly
2019-08-07 09:10:37 +02:00
Chris Hostetter 878d332a0b Harden BasicAuthIntegrationTest w/work around for SOLR-13464 2019-08-06 15:08:26 -07:00
yonik 19ddcfd282 SOLR-13399: ability to use id field for compositeId histogram 2019-08-06 14:10:20 -04:00
Jan Høydahl 7ab12b405d Skip mocking for simple tests 2019-08-06 15:39:21 +02:00
Jan Høydahl 79c13d62d3 Added check for explicit empty line response from Zookeeper 2019-08-06 15:33:08 +02:00
Jan Høydahl 8d0506e962 Add spaces 2019-08-06 15:19:30 +02:00
Jan Høydahl 5ff709d4bd Merge remote-tracking branch 'origin/master' into solr13672-zk
# Conflicts:
#	solr/CHANGES.txt
2019-08-06 15:14:55 +02:00
Chris Hostetter 9e250f7219 Fix incorrect assertions in RulesTest.doIntegrationTest
my previous commit added waitForState calls to doIntegrationTest that forgot to take into account initial repFactor when createShard was called

as a result, the test could only pass if wather was called after a initial leader went live, before other replicas became live

this commit fixes this mistake, and hardens the assertions about the location of those replicas given the rule in use

also adds new expecation that trying to add additional replicas that would violate rule will cause request ot fail
2019-08-05 17:08:28 -07:00
Chris Hostetter a052fb5436 SOLR-13678: Harden CollectionPropsTest.testReadWriteCached to work around removeCollectionPropsWatcher() deadlock bug 2019-08-05 11:49:32 -07:00
Bruno Roustant d97912529d SOLR-11866: QueryElevationComponent match="subset" feature
Closes #780
2019-08-05 11:23:47 +02:00
Munendra S N 84a62a5d87 SOLR-13679:Fix default style of [explain] registered in solrconfig.xml 2019-08-05 10:04:15 +05:30
Diego 751e64651c SOLR-13676: Reduce log verbosity in TestDistributedGrouping (#819)
* SOLR-13676: Reduce log verbosity in TestDistributedGrouping using ignoreException

* Code review

* Remove Assert
2019-08-05 09:27:44 +05:30
yonik b6c26f6c16 SOLR-13399: fix splitByPrefix test 2019-08-03 12:52:35 -04:00
Munendra S N 8c4fde94fe SOLR-12555: use expectThrows() to verify the ex thrown in tests 2019-08-03 13:00:49 +05:30
Chris Hostetter e8418adedb Harden CollectionPropsTest:
These fixes all relate to testWatcher + testMultipleWatchers:
* add additional asserts to the test methods to assert the expected property values are found
* mark Watcher.props volatile to prevent stale read by test thread
* add some randomization to Watcher.props to either come from the onStateChanged() input or
  from an explicit call to ZkStateReader.getCollectionProperties
  - previuosly, for reasons i don't understand, the test only consulted
    ZkStateReader.getCollectionProperties inside the Watcher, and ignored the onStateChanged()
    input
  - now the test validates both
* move all Watcher.triggered access into the existing synchronization blocks to prevent
  waitForTrigger() from returning prematurely due to gaining synch lock _after_
  Watcher.triggered was incremented in onStateChanged(), but _before_ onStateChanged() updated
  Watcher.props
* add detailed logging to provide additional info to help debug any additional jenkins failures
  that might pop up in the future if these fixes aren't sufficient
2019-08-02 17:02:17 -07:00
Boris Pasko 901f381c61
SOLR-6305: Replication from filesysem defaults, not from server defaults
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-08-02 18:43:26 -04:00
Jan Høydahl be7e9df57d Unused import 2019-08-02 15:42:05 +02:00
Jan Høydahl 9548481c8c Fix precommit
Remove errors from each host detail map
Display secureClientPort and server.1, server.2, server.3...
Added test for various failure responses and expected result from multiple nodes
2019-08-02 15:03:40 +02:00
Jan Høydahl 1123afae94 SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly 2019-08-02 13:01:20 +02:00
Chris Hostetter ab470a6564 SOLR-13664: Fixed SolrTestCaseJ4.deleteCore() to properly reset the dataDir used by initCore() 2019-08-01 09:15:18 -07:00
noble 15c2fd673a SOLR-13659: Refactor Cache config to lazily load the the class 2019-07-31 19:14:17 +10:00
Noble Paul 4cf6bbefcc
SOLR-13659: Refactor Cache config to lazily load the the class (#813) 2019-07-31 03:50:17 -04:00
Munendra S N cb94eeb491 SOLR-11266: remove content-type override from _default configSet 2019-07-30 10:06:56 +05:30
Munendra S N 9f74cb10d3 SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res 2019-07-29 09:48:31 +05:30
Munendra S N 501a91763b SOLR-13656: fix bad mergePolicyFactory test in SolrIndexConfigTest
* use expectThrows to verify the exception and ex message
* remove unused DummyMergePolicy
2019-07-29 09:30:25 +05:30
Chris Hostetter 4050ddc59b 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
2019-07-26 18:41:06 -07:00
Ishan Chattopadhyaya c20988907f SOLR-13637: Using google common's ImmutableMap instead of carrot's 2019-07-25 19:09:37 -04:00
Jason Gerlowski dc8e9afff9 SOLR-13622: Add fileStream stream-source 2019-07-25 09:13:00 -04:00
noble 100c160017 SOLR-13637: BasicAuthIntegrationTest failures fixed 2019-07-25 04:30:48 -04:00
yonik c0da27173c SOLR-13399: annotate flaky test 2019-07-24 21:58:50 -04:00
noble 85814e262c SOLR-13637: addressing test failures take 2 2019-07-23 12:17:49 -04:00
Andrzej Bialecki d92159b896 SOLR-13558: Allow dynamic resizing of SolrCache-s. 2019-07-23 12:21:21 +02:00
noble 7f04604d56 SOLR-13637: reject duplicate jar updates 2019-07-22 16:23:44 -04:00
noble 2ef0ba3dce SOLR-13637: addressing test failures 2019-07-22 08:33:02 -07:00
Noble Paul 631edee1cb
SOLR-13637 Enable loading of plugins from the corecontainer memclassloader 2019-07-21 12:21:56 -07:00
noble 7d716f1107 SOLR-13565: Precommit errors 2019-07-22 03:31:39 +10:00
Mikhail Khludnev c173c2e863 SOLR-11556: fixing multiple backup repository support. 2019-07-21 13:04:48 +03:00
Munendra S N 96d400f511 SOLR-12870: use StandardCharsets instead of String values
Fixes #469
2019-07-20 10:10:32 +05:30
Noble Paul bd30c3701e
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:20:32 +10:00
yonik c5cabf1e03 SOLR-13399: SPLITSHARD splitByPrefix for compositeId 2019-07-19 11:35:01 -04:00
Gus Heck a7435d9e6e 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.
2019-07-19 10:00:53 -04:00
Christine Poerschke 5e3947091a SOLR-13585: Factor out SearchGroupsResultTransformer.[de]serializeOneSearchGroup methods. (Christine Poerschke, Diego Ceccarelli) 2019-07-18 14:23:32 +01:00
Munendra S N 1fc416404c 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:08:17 +05:30
Munendra S N 4b75776f5a SOLR-13634:move ResponseBuilderTest to same package as ResponseBuilder 2019-07-17 22:38:35 +05:30
Munendra S N 1ecd02deb5 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:45:15 +05:30
Chris Hostetter 19c78ddf98 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
2019-07-16 14:34:23 -07:00
noble 2d357c960c SOLR-13534: Make the test more robust 2019-07-16 11:53:13 +10:00
Gus Heck c97551cc36 SOLR-13375 - 2 dimensional routed aliases 2019-07-15 09:57:13 -04:00
Ishan Chattopadhyaya 26ede632e6 SOLR-13619: Kerberos plugin to forward original user principal 2019-07-15 15:10:07 +05:30
Ishan Chattopadhyaya 7e0af71c1e SOLR-13472: Forwarded requests should skip authorization on receiving nodes 2019-07-15 14:43:41 +05:30