7703 Commits

Author SHA1 Message Date
Mikhail Khludnev
f9e8b8cd0b SOLR-13577: retrying TestReplicationHandler.doTestIndexFetchOnMasterRestart. 2019-06-26 14:17:53 +03:00
Jan Høydahl
2ef43ce78a SOLR-13569: AdminUI visual indication of prod/test/dev environment
(cherry picked from commit b54126169b2c2f116b5217c3566f5df2ba206a39)
2019-06-26 12:10:39 +02:00
Alan Woodward
fa3bf88783 LUCENE-8811: Move max clause checks to IndexSearcher 2019-06-26 10:56:00 +01:00
Chris Hostetter
eeed1827d8 SOLR-13580: add assumeThat calls to ParsingFieldUpdateProcessorsTest to skip test methods impacted by java 13-ea bug in NumberFormat.parse()
(cherry picked from commit 583c219183b2bca85936a095727d287c5c28526b)
2019-06-25 16:26:24 -07:00
Andrzej Bialecki
da6e6fd559 SOLR-13566: REINDEXCOLLECTION does not work with (basic) authentication. 2019-06-25 16:54:56 +02:00
Noble Paul
8199ad48b5 reformatting 2019-06-25 17:07:17 +10:00
Mikhail Khludnev
e7fea2899d SOLR-12866: Turn TestHdfsCloudBackupRestore ON. No changes yet. 2019-06-25 08:55:15 +03:00
Munendra S N
438364ab94 SOLR-12979: fail fast when collapse field is non-docValued & non-uninvertible
* Improve error message when collapse field is non-docValued & non-uninvertible.
  Return error code 400 instead of 500 in the above case
2019-06-25 10:04:11 +05:30
David Smiley
5259e964b5 SOLR-13367: Range queries will now highlight in hl.method=unified mode.
Lucene MatchesUtils.disjunction method for disjunction over
 BytesRefIterator terms.
2019-06-25 00:11:12 -04:00
Munendra S N
3ef5c0ee74 SOLR-13187: Fix NPE when invalid qParser is specified
* When non-existent qParser is specified return 400 error code
* SOLR-13197: Fix NPE when createQParser is called in StatsField
2019-06-24 22:58:58 +05:30
Munendra S N
cf6c81c26b SOLR-12127: set op with null or empty list val should be atomic update
* Inplace update supports set and inc operation but when null or
  empty list is specified with set op, then it should always be treated
  as atomic update since this case is equivalent to removing field
  from the document
2019-06-24 14:54:48 +05:30
Tomoko Uchida
12e3451fb8 LUCENE-8778: Define analyzer SPI names as static final fields and document the names in all analysis components. This also changes SPI loader to detect service names via the static NAME fields instead of class names. 2019-06-22 20:37:09 +09:00
David Smiley
df4ebaf030 LUCENE-8848 LUCENE-7757 LUCENE-8492: UnifiedHighlighter.hasUnrecognizedQuery
The UH now detects that parts of the query are not understood by it.
When found, it highlights more safely/reliably.
Fixes compatibility with complex and surround query parsers.

(cherry picked from commit 54cc70127b22083198f1c44f83ccf4cdf769ac77)
2019-06-21 17:12:50 -04:00
Gus Heck
45b000e7ae SOLR-13419 - Better infix for TRA collection names 2019-06-20 14:32:14 -04:00
David Smiley
0d51dd06ee SOLR-13523: Fix Atomic Updates when _nest_path_ is declared.
Change the most common test schema to include this field so we better
test our code paths.
2019-06-20 12:00:55 -04:00
Cao Manh Dat
150e4f9863 SOLR-12988: Revert changes 2019-06-19 21:08:01 +01:00
Cao Manh Dat
64e3cc1789 SOLR-12988: Skip running tests with SSL on Java 11 to 11.0.2 2019-06-19 10:44:43 +01:00
Noble Paul
545b61ca23 SOLR-13329: changed the put:on-each to put: on-each-node 2019-06-19 01:03:32 +10:00
Cao Manh Dat
968830a2be SOLR-12988: Avoid using TLSv1.3 for HttpClient 2019-06-18 13:17:51 +01:00
Daniel Collins
07023aea1a SOLR-13434: Fix opentracing mock dependency for Solr core tests 2019-06-18 11:42:42 +01:00
Chris Hostetter
29e060c6f9 eliminate CPU hogging spin-loops in OverseerTest
this test already uses waitForState (frequently via verifyReplicaStatus) so there is no reason to include CPU/network/ZK intensive infinite loop checks looking for udpated cluster state

(cherry picked from commit 3030ea9d9418626ffb3c3bbd174aee344a778b25)
2019-06-17 15:55:20 -07:00
Chris Hostetter
592d10d7ce SOLR-13490: fix TestWaitForStateWithJettyShutdowns to use correct (randomized) JettyConfig
(cherry picked from commit 7eb8703df64b4fdda8113ddcbcd0b4d2413ecc38)
2019-06-17 15:34:24 -07:00
Chris Hostetter
2f2333a781 SOLR-13490: Fix CollectionStateWatcher/CollectionStatePredicate based APIs in ZkStateReader and CloudSolrClient to be triggered on liveNode changes.
Also add Predicate<DocCollection> equivilents for callers that don't care about liveNodes.

(cherry picked from commit 5a974860fa83408a86ca64b417f3111b037da7eb)
2019-06-17 10:00:05 -07:00
Noble Paul
562c462ee3 SOLR-13534: Dynamic loading of jars from a remote url (#712)
* SOLR-13534 : Dynamic loading to support loading jars from a URL
2019-06-17 17:00:26 +10:00
Gus Heck
2009c81374 SOLR-13420 Routed Aliases now use collection properties instead of core properties 2019-06-14 15:44:36 -04:00
Mikhail Khludnev
c73761b798 SOLR-13333: make terms.ttf work without terms.list in standalone mode 2019-06-14 15:46:22 +02:00
Christine Poerschke
908754a764 SOLR-13515: remove SolrPluginUtils.IdentityRegenerator in favour of NoOpRegenerator 2019-06-14 13:12:33 +01:00
Christine Poerschke
5c65d12460 SOLR-13511: Add SearchHandler.newResponseBuilder method to facilitate custom plugins' maintenance of per-request state in a custom ResponseBuilder. (Ramsey Haddad, Christine Poerschke) 2019-06-14 13:12:32 +01:00
Benoit Vanalderweireldt
28ef51bff3 SOLR-8754: add tests for org.apache.solr.util.hll.NumberUtilTest (#15)
(cherry picked from commit 2c10b1de19725ac30a342f9b551f9b6ad155b093)
2019-06-13 12:58:43 +02:00
Thomas Wöckinger
e91c5c5b75 SOLR-13347: Add support for reading/writing UUID from/to TransactionLog (#681)
SOLR-13347: Transaction log to natively support UUID types
2019-06-13 09:02:25 +10:00
Mikhail Khludnev
5f6df28e11 SOLR-13509: add omitHeader=false for shards requests to avoid NPE on partialResuls check 2019-06-12 18:12:21 +02:00
erick
cd809ef767 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing 2019-06-11 13:29:23 -07:00
Gus Heck
fbae72c4cc SOLR-13439 - Adds ability to locally cache collection properties for a specified duration. 2019-06-11 14:36:04 -04:00
Andrzej Bialecki
60821addcf Improve this test - instead of waiting a fixed amount of time wait until an update arrives.
Also, deal with partial updates.
2019-06-11 14:11:11 +02:00
Andrzej Bialecki
55ff28d15e Improve the test by actually checking that the version of Aliases is
more recent, instead of simply waiting.
2019-06-11 12:14:24 +02:00
Jan Høydahl
59e8886bf1 Revert "SOLR-13526: @AwaitsFix failing tests"
This reverts commit 891b8b04
2019-06-11 11:04:04 +02:00
Andrzej Bialecki
58d3761bf5 SOLR-13512: Fix a bug due to a different StoredFieldVisitor API in 8x. 2019-06-10 21:40:40 +02:00
Andrzej Bialecki
c932e7ffd5 SOLR-13512: Raw index data analysis tool (extension of COLSTATUS collection command). 2019-06-10 19:22:17 +02:00
Koen De Groote
8b6a0d0964 LUCENE-8847: Code Cleanup: Rewrite StringBuilder.append with concatted strings (#707)
This specific commit affects all points in the casebase where the argument of a StringBuilder.append() call is itself a regular String concatenation.
This defeats the purpose of using StringBuilder and also introduces an extra alloction.
These changes should avoid that.

ant tests have run, succeeded on local machine.

Removing test files from the changes.

Another suggested rework.
2019-06-10 18:10:06 +02:00
Tim Underwood
1e49d84545 LUCENE-8834: Cache the SortedNumericDocValues.docValueCount() value whenever it is used in a loop (#698) 2019-06-10 15:27:19 +02:00
Christine Poerschke
1710a8a36d SOLR-13496: Fix distributed grouping related NullPointerException in JSONWriter.writeSolrDocument 2019-06-07 16:50:18 +01:00
Jan Høydahl
891b8b04bb SOLR-13526: @AwaitsFix failing tests
(cherry picked from commit 85abdbebf57f9e85918cf72c1be20359710e62db)
2019-06-07 08:35:15 +02:00
Christine Poerschke
57c159e476 SOLR-13518: extra assertNotNull info for SolrInfoBeanTest 2019-06-05 20:39:55 +01:00
Cao Manh Dat
dc7b54df0c SOLR-13434: Fixes problem on Java 8 build 2019-06-05 15:33:51 +01:00
Chris Hostetter
63e93735a6 Fix TestSort.testRandomFieldNameSorts typo that ccaused very sporadic but reproducible failures
(cherry picked from commit 92cf9d8758285352a6bd3a959988f9b72ecdf8f0)
2019-06-04 13:50:16 -07:00
Cao Manh Dat
a39c342793 SOLR-13434: OpenTracing support for Solr (#685) 2019-06-04 20:05:17 +01:00
erick
06257c5847 SOLR-12249: Better error message when grouping on a tokenized (non SortableText) field in SolrCloud
(cherry picked from commit 7fb5b7ed357b730c93ece574d1e977ecd1268533)
2019-06-04 10:27:51 -07:00
Cao Manh Dat
518143c2f0 SOLR-13510: Intermittent 401's for internode requests with basicauth enabled 2019-06-04 16:17:29 +01:00
Erick Erickson
e890980311 SOLR-8346: Upgrade Zookeeper to version 3.5.5
(cherry picked from commit 7ebeab71f4b56d008835f0040468a07632024950)
2019-06-03 17:59:01 -07:00
markrmiller
96f000334c SOLR-13489: Stop the leader from trying to rejoin the election on session expiration and harden our zk reconnect code path.
# Conflicts:
#	solr/core/src/test/org/apache/solr/cloud/OverseerTest.java
2019-06-03 11:11:12 -05:00