7870 Commits

Author SHA1 Message Date
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
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 da158ab22924bf9b2d6d14bbc69338c01fe77a7a)
2019-09-06 13:57:13 -04:00
David Smiley
3a20ebc3a6 SOLR-13728: fail partial updates to child docs when not supported.
(cherry picked from commit c8203e4787b8ad21e1270781ba4e09fd7f3acb00)
2019-09-05 23:18:15 -04: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 e2208332e583595a0e3cf1e3dd93bfe3091e1aba)
2019-09-03 21:25:24 -07:00
Chris Hostetter
86e8c44be4 SOLR-13709: Fixed distributed grouping when multiple 'fl' params are specified
(cherry picked from commit 83cd54f80157916b364bb5ebde20a66cbd5d3d93)
2019-09-03 11:02:21 -07: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