8028 Commits

Author SHA1 Message Date
Joel Bernstein
861bdae964 SOLR-14130: Get working with branch_8x 2020-01-03 09:51:18 -05:00
Joel Bernstein
f35cd71427 SOLR-14130: Harden parsing logic 2020-01-03 08:53:31 -05:00
Joel Bernstein
600326c318 SOLR-14130: Fix precommit 2020-01-03 08:53:11 -05:00
Joel Bernstein
eb480c6c3b SOLR-14130: Add postlogs command line tool for indexing Solr logs 2020-01-03 08:52:47 -05:00
Andrzej Bialecki
22386a1f12 SOLR-14122: SimUtils converts v2 to v1 request params incorrectly. 2020-01-02 14:25:55 +01:00
Nándor Mátravölgyi
5874b9c793 LUCENE-9093: UnifiedHighlighter LengthGoalBreakIterator frag align
Matches in passages should be centered better on average.
 Closes #1123

(cherry picked from commit 4c9cc2cefd7f3593c4b4e1e5a087e3d206298989)
2020-01-01 01:00:13 -05:00
Jan Høydahl
6eff727590 SOLR-14129: Reuse Jackson ObjectMapper in AuditLoggerPlugin (#1104)
(cherry picked from commit c4993bc99ca4e9b1780c900e8bfa242d540ff8b5)
2019-12-30 17:41:59 +01:00
Mikhail Khludnev
c01b45b924 SOLR-13808: caching {!bool filter=..} by default. 2019-12-28 23:34:52 +03:00
Bruno Roustant
8f5f18041a
SOLR-14131: Add maxQueryLength option to DirectSolrSpellchecker. 2019-12-25 21:48:07 +01:00
Tomas Fernandez Lobbe
5f5ef58117 SOLR-14095: Fix Java 8 compile issue 2019-12-23 15:03:23 -08:00
Tomas Fernandez Lobbe
fe04a5b6f0 SOLR-14095: Let the overseer use javabin to store responses in ZooKeeper (#1095)
The Overseer used java serialization to store command responses in ZooKeeper. This commit changes the code to use Javabin instead, while allowing Java serialization with a System property in case it's needed for compatibility
2019-12-23 15:03:14 -08:00
Nándor Mátravölgyi
80ad056bab LUCENE-9091: UnifiedHighlighter HTML escaping should only
escape essentials

(cherry picked from commit 1be5b689640fe4d1bf0ae3fd19c5fe93b20a77ef)
2019-12-23 17:21:32 -05:00
noble
04b0a5d8f3 SOLR-14125 : Streaming expressions to be loadable from packages 2019-12-23 15:30:11 +11:00
Kevin Risden
3f23002456
SOLR-14106: Cleanup Jetty SslContextFactory usage
Jetty 9.4.16.v20190411 and up introduced separate
client and server SslContextFactory implementations.
This split requires the proper use of of
SslContextFactory in clients and server configs.

This fixes the following
* SSL with SOLR_SSL_NEED_CLIENT_AUTH not working since v8.2.0
* Http2SolrClient SSL not working in branch_8x

Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-19 23:19:12 -05:00
Chris Hostetter
22fe38f060 SOLR-14128: SystemCollectionCompatTest - increase logging to aid in debuging future (jenkins) failures
(cherry picked from commit bc2770ebb834b2871117b22f16f9b432787d4f82)
2019-12-19 17:15:18 -07:00
Ishan Chattopadhyaya
35cb6a0203 SOLR-14108: Fix cherry-pick problem with last commit 2019-12-19 11:08:56 +05:30
Ishan Chattopadhyaya
3a4f43227b SOLR-14108: Handle missing verify commands or missing default params in Package Manager 2019-12-19 10:47:29 +05:30
Matthias Krueger
d226aba686
SOLR-14091: Removing deprecated configuration of Jetty's soLingerTime option
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-18 19:30:31 -05:00
noble
ac7ad676ef SOLR-13822: Bug fixs and tests for URP loading 2019-12-19 06:24:26 +11:00
Robert Muir
8c14015e52 SOLR-13983: remove or replace process execution in SystemInfoHandler 2019-12-18 09:23:36 -05:00
Robert Muir
53a82aedcb SOLR-14110: sandbox javax.script usage in tests 2019-12-18 06:31:00 -05:00
Mikhail Khludnev
cc00e1dcef SOLR-14092: Mark BlockJoinFacetComponent as deprecated. 2019-12-18 11:11:25 +03:00
Chris Hostetter
d1fa6e1e02 SOLR-14099: Fixed @LogLevel annotation in test-framework to correctly 'unset' Loggers after test
(cherry picked from commit cc4262a8ec37b2420e1d80a392c5e8019f43e24c)
2019-12-17 14:59:26 -07:00
Chris Hostetter
35793386b0 Harden (Cloud)ExitableDirectoryReaderTest
Thread.sleep() is "subject to the precision and accuracy of system timers and schedulers."

But tests using DelayingSearchComponent need to ensure that it sleeps *at least* as long as they request, in order to trigger the timeAllowed constraint

(cherry picked from commit 8493cf18cbfcbf020c467737e28c55e4b05c60f9)
2019-12-17 14:48:15 -07:00
tallison
a58269f6a6
SOLR-14054: Upgrade to Tika 1.23 2019-12-17 15:55:21 -05:00
Chris Hostetter
c9bd7cedc2 SOLR-13696: AwaitsFix RoutedAliasUpdateProcessorTest (and subclasses)
The helper method RoutedAliasUpdateProcessorTest.addDocsAndCommit doesn't garuntee docs have been committed when it returns, causing threading/timing bugs in tests that use it as a gate for making subsequent assertions -- causing a steady stream of jenkins test failures

(cherry picked from commit 33e44b2fd6973aa801d8bad2b64ff1931d885ee3)
2019-12-17 11:10:24 -07:00
Chris Hostetter
10ea628bb6 SOLR-14081: re-implement FullSolrCloudDistribCmdsTest to extend SolrCloudTestCase
(cherry picked from commit db11e9e9a2c07136399ba002f2bbefe8c611b0a0)
2019-12-16 17:32:57 -07:00
Chris Hostetter
be1e6b457b SOLR-14099: work around @LogLevel bug in LoggingHandlerTest
(cherry picked from commit e6b5da5c12c37dce6f3d767bbafb75b28795ab2f)
2019-12-16 12:13:38 -07:00
Robert Muir
cfccbe5af3 LUCENE-9094: Ban ObjectInputStream and ObjectOutputStream in forbidden-apis 2019-12-16 13:41:33 -05:00
Ishan Chattopadhyaya
461317062c SOLR-14096: Stopping -Denable.packages=true from leaking to other tests 2019-12-16 20:20:43 +05:30
Andrzej Bialecki
c8fb1bf74e Fix an occasional test error caused by the maintenance trigger generating events. 2019-12-16 13:55:12 +01:00
Ishan Chattopadhyaya
8aa0103b14 SOLR-14087: Changing the filestore dir name back to filestore from .filestore 2019-12-16 18:19:44 +05:30
Adrien Grand
ed97a36fb4 SOLR-14094: Bad-apple TestSolrCachePerf. 2019-12-16 13:46:44 +01:00
noble
f433051f5e SOLR-14087: changed the filestore location to .filestore instead of $filestore 2019-12-16 15:51:14 +11:00
Noble Paul
3635a1bcdb SOLR-14087: disable package store API if -Denable.packages not set to true 2019-12-16 08:06:23 +11:00
Kevin Risden
2b775d88eb
SOLR-14086: Tika ClassNotFound error due to commons-compress in solr-core dependency
Introduced in SOLR-14033 by including
commons-compress as a compile time
dependency in Solr core instead of as
as test only dependency.

Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-15 13:41:10 -05:00
Ishan Chattopadhyaya
de39472f07 SOLR-13662: Fixes to package manager
* Better logging and error reporting
* Fixing deploy command to handle previously undeployed packages
* Test now uses @LogLevel annotation
* Deploy command had a hard coded collection name by mistake, fix it
2019-12-15 10:54:51 +05:30
Kevin Risden
15f570fc4b
SOLR-14077: Hadoop shouldn't need to look for metrics config in user home
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-13 22:09:28 -05:00
yonik
1be81700be SOLR-14079: fix SPLITSHARD splitByPrefix in async mode 2019-12-13 17:56:20 -05:00
erick
1a48a87f61 SOLR-14026: Upgrade Jetty to 9.4.24.v20191120 and dropwizard to 4.1.2
(cherry picked from commit 8278886966c6da7379cf9c9505f7859b832c4ab3)
2019-12-13 12:15:32 -05:00
Robert Muir
4a3fa721fb SOLR-14076: clean up static fields leak in nightly-only test 2019-12-13 04:06:33 -05:00
noble
9717540b8e SOLR-14013: javabin performance regressions 2019-12-13 17:42:24 +11:00
Kevin Risden
c021a253fe
SOLR-14048: Improve Hadoop test sanity checks
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-12 22:27:17 -05:00
Kevin Risden
85b433e277
SOLR-14047: Make sure tests don't pickup other Hadoop installs
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-12 10:36:54 -05:00
Ishan Chattopadhyaya
4c7f5039c7 SOLR-13978: Removed LTR from default configset 2019-12-12 15:09:59 +05:30
Ishan Chattopadhyaya
72b3c54e7d SOLR-14071: Untrusted configsets shouldn't be allowed to use <lib> directive 2019-12-12 15:01:06 +05:30
Adrien Grand
451d5348f4 Add next minor version 8.5 2019-12-12 09:33:20 +01:00
Ishan Chattopadhyaya
08b8d116f8 SOLR-13978: Remove non-essential components from default configset
The default configset no longer has the following:
   - Library inclusions (<lib ../>) for extraction, solr-cell libs, clustering, velocity and language identifier
   - /browse, /tvrh and /update/extract handlers
   - TermVector component (if someone wants it, can be added using config APIs)
   - XSLT response writer
   - Velocity response writer
If you want to use them in your collections, please add them to your configset manually or through the Config APIs.
2019-12-12 10:44:35 +05:30
Munendra S N
576591205c SOLR-13970: disallow using collapse/expand with grouping
* Using collapse with grouping would cause inconsistent behavior.
  This is because grouping calls the same postfilter twice without
  resetting the internal state of the DocValues cache
* Using expand with grouping would cause NPE
2019-12-12 10:22:32 +05:30
Ishan Chattopadhyaya
b52bed0a47 SOLR-14062: Split IndexSizeTriggerTest into three 2019-12-12 10:17:25 +05:30