7955 Commits

Author SHA1 Message Date
Andrzej Bialecki
f7f6a37f33 SOLR-13849: Ignore events created by running triggers. 2019-10-16 10:32:54 +02:00
Chris Hostetter
939b3364e6 SOLR-13846: workaround - elliminate use of problematic PreemptiveBasicAuthClientBuilderFactory in tests that don't need it 2019-10-15 15:37:33 -07:00
Ishan Chattopadhyaya
e2b160b865 SOLR-13834: ZkController#getSolrCloudManager() now uses the same ZkStateReader instance instead of instantiating a new one
ZkController#getSolrCloudManager() created a new instance of ZkStateReader, thereby causing mismatch in the
visibility of the cluster state and, as a result, undesired race conditions.
2019-10-15 14:51:02 +05:30
Ishan Chattopadhyaya
b8648c60e7 SOLR-13793: Limiting number of forwards to total replicas in collection to avoid deadly forwarding loops 2019-10-15 14:43:20 +05:30
Koen De Groote
e7e6cfaecf LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). (#919) 2019-10-14 18:45:47 +02:00
Koen De Groote
04786244d0 LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2 2019-10-14 18:36:19 +02:00
yonik
1d43bda284 SOLR-13815: enhance live split test to fail more often 2019-10-13 17:07:10 -04:00
noble
88f457ee2a SOLR-13821: refactored the code to change the API to suit package loader 2019-10-12 16:59:14 +11:00
noble
84126ea0ea SOLR-13787: Better error logging 2019-10-12 16:35:08 +11:00
Yonik Seeley
a057b0d159
SOLR-13815: fix live split data loss due to cluster state change between checking current shard state and getting list of subShards (#920)
* SOLR-13815: add simple live split test to help debugging possible issue

* SOLR-13815: fix live split data loss due to cluster state change berween checking current shard state and getting list of subShards
2019-10-11 15:07:03 -04:00
noble
5b6561eadb SOLR-13787: Support for Payload<T> as 3rd param 2019-10-12 00:39:05 +11:00
noble
2d32f0b5a6 SOLR-13787: Added support for PayLoad<T> as 3rd param 2019-10-12 00:23:40 +11:00
noble
8bfd8a55c9 SOLR-13827: Added support for PayLoad<T> as 3rd param 2019-10-12 00:11:59 +11:00
noble
5e9ed10657 SOLR-13821: Incorrect file path escape in windows 2019-10-11 11:47:39 +11:00
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