7930 Commits

Author SHA1 Message Date
Koen De Groote
575f8a6ad8 LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). (#919) 2019-10-14 19:56:23 +02:00
Koen De Groote
93f9a093cc LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2 2019-10-14 19:56:00 +02:00
yonik
845c3e9775 SOLR-13815: enhance live split test to fail more often 2019-10-13 17:10:40 -04:00
noble
83c80376fa SOLR-13787: Better error logging 2019-10-12 16:36:04 +11:00
Yonik Seeley
cc62b9fac2 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:11:04 -04:00
noble
71e9564e0d SOLR-13787: Support for Payload<T> as 3rd param 2019-10-12 00:38:06 +11:00
noble
dcb7abfc0e SOLR-13787: Added support for PayLoad<T> as 3rd param 2019-10-12 00:28:19 +11:00
noble
25ec0ddb73 SOLR-13821: Incorrect file path escape in windows 2019-10-11 11:49:12 +11:00
Gus Heck
d5b26be691 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

(cherry picked from commit be813bd0aefcf480f854a05c7880494da5e8c8bf)
2019-10-10 20:29:51 -04:00
Andrzej Bialecki
9c96834ca7 SOLR-13828: Improve ExecutePlanAction error handling. 2019-10-10 23:59:30 +02:00
Cao Manh Dat
8864320e39 SOLR-13293: ConcurrentUpdateHttp2SolrClient always log AsynchronousCloseException exception error on indexing 2019-10-09 20:57:25 +01:00
noble
485b702da7 SOLR-13821: missing package-info.java 2019-10-09 23:25:18 +11:00
Ishan Chattopadhyaya
a46340330f Adding version 8.4.0 2019-10-08 19:56:42 +05:30
Andrzej Bialecki
47aece66b4 SOLR-13376: Multi-node race condition to create/remove nodeLost markers. 2019-10-08 13:42:43 +02:00
Noble Paul
f19aaa8097 SOLR-13821: Package Store for storing package artifacts (#929)
SOLR-13821: Package Store for storing package artifacts
2019-10-08 22:21:41 +11:00
Jason Gerlowski
8d040bf1db Fix atomic-update test failures 2019-10-08 06:32:17 -04:00
Jason Gerlowski
5dc480f88f 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-08 06:32:17 -04:00
Jason Gerlowski
f74edc6787 SOLR-13539: Improve atomic-update test coverage
Closes #665
2019-10-08 06:31:11 -04:00
Jason Gerlowski
20e382984a 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-10-08 06:31:11 -04:00
Andrzej Bialecki
611966ec7b SOLR-13790: LRUStatsCache size explosion and ineffective caching. 2019-10-07 22:41:41 +02:00
noble
888fe76a09 String#isBlank() is java 11 API 2019-10-07 09:47:23 +11:00
Noble Paul
bb3d4e41f0 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:31:07 +11:00
Ishan Chattopadhyaya
af2fe8febc 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 20:38:59 +05:30
Thomas Wöckinger
95e54196fc SOLR-13795: Managed schema should do a core reload in standalone mode.
Fixes #902

(cherry picked from commit 22e96697de1d9bc710f6e68e94885460106528bc)
2019-10-04 14:04:42 -04:00
Christine Poerschke
e734b40375 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:35:04 +01:00
Christine Poerschke
03facaa3f7 SOLR-13791: Remove remaining Commons BeanUtils references. (Andras Salamon, Christine Poerschke) 2019-10-04 11:35:04 +01:00
Andrzej Bialecki
ae80c181d8 SOLR-8241: Add CaffeineCache, an efficient implementation of SolrCache. 2019-10-04 07:51:58 +02:00
Chris Hostetter
18bf61504f SOLR-13811: Refactor AutoAddReplicasIntegrationTest to isolate problematic situation into an AwaitsFix test method
(cherry picked from commit a57ec148e52507104fdf0f99381d2b485fa846fc)
2019-10-02 10:13:52 -07:00
Thomas Wöckinger
1ee531920a SOLR-13802: Write analyzer property luceneMatchVersion to managed schema
Closes #911
(cherry picked from commit 4ddde00667faa3c23081b9bdfc552ab3472bad24)
2019-10-01 09:23:54 -04:00
Chris Hostetter
3559e440e0 Minor logging improvements
(cherry picked from commit 0ec7986fc01d91ae063c8ade170f06890d0bad50)
2019-09-30 10:28:35 -07:00
Shalin Shekhar Mangar
d353c19f77 SOLR-13712: JMX MBeans are not exposed because of race condition between creating platform mbean server and registering mbeans
(cherry picked from commit 2ba61c8fb9c42586a174072276592ddfdff1563b)
2019-09-29 10:11:08 +05:30
Munendra S N
9586396dba SOLR-13180: fix classCastEx in JSON Request API 2019-09-28 11:22:45 +05:30
David Smiley
74cfacee96 SOLR-13784: EmbeddedSolrServer coreName optional
(cherry picked from commit 0d0af505a034a04e3d86cd24447b5a747bfa23c0)
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
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
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 5a01a8b3622cf7547e71fa43d88235aeb18defa4)
2019-09-19 17:15:04 -07:00
Jan Høydahl
a7865cdfdd SOLR-13734 JWTAuthPlugin to support multiple issuers (#860)
(cherry picked from commit dd729549b563f01e707bf6991675f80922981265)
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
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 fd0c8b9e810737a119868b8d18d4ed55d5e9c607)
2019-09-17 16:56:09 -04: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 31735eeb402d7b00785bba484093b81107ffc2c9)
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 e788024b84b1402295d4fe6e0c8b818ae3772a52)
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
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 fb5a3e28fe563f6a68c3a759c52046c09b24b88a)
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 416de65d31eaa646064fb98d9e15156c25cf86f2)
2019-09-11 11:48:18 -07:00
Jan Høydahl
4af601eb10 SOLR-13713: JWTAuthPlugin to support multiple JWKS endpoints
(cherry picked from commit 4599f6e9ee2a647c1d6861adfedb12e5cf74783d)
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