13314 Commits

Author SHA1 Message Date
Munendra S N
6c83e39dcc SOLR-9409: improve error message on unsupported types in collapsing
* Improve error message when collapsing is not supported on given
  fieldtype
* Return 400 error code when unsupported value are passed for max,min
  or in case of syntax error
2019-06-29 21:53:43 +05:30
Chris Hostetter
881aabe28a SOLR-13580: update test to account for different versions of java using different locale specific numeric formatting characters
(cherry picked from commit 8b72e91df7b8ea545b6344d665bbb80e27a80aa4)
2019-06-28 12:11:22 -07:00
Christine Poerschke
328db38d71 SOLR-13576: Factor out a TopGroupsShardResponseProcessor.fillResultIds method. (Christine Poerschke, Diego Ceccarelli) 2019-06-28 19:00:08 +01:00
Christine Poerschke
07cf48816f SOLR-13280: Strengthen ScheduledTrigger's preferredOperation parameter validation. 2019-06-28 19:00:08 +01:00
Christine Poerschke
785937d987 SOLR-13279: Clarify ScheduledTrigger's "every parameter missing" error response. 2019-06-28 19:00:08 +01:00
Mikhail Khludnev
d2acaff578 SOLR-13577: spin until slave got a replication failure while master is down. 2019-06-28 17:54:03 +03:00
Chris Hostetter
01b303c2e5 SOLR-12988: SSLTestConfig has been changed to throw AssumptionViolatedException when tests/seeds request SSL but the JVM appears to be an OpenJDK version known to have SSL bugs
SOLR-13574: Add CHANGES entry that was overlooked
(cherry picked from commit aaf20aefa4b29971dbbb16c9fe39e6272c7c9dd5)
2019-06-27 15:52:22 -07:00
Chris Hostetter
8db2fdfa91 SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
(cherry picked from commit 7e57d3a9d93e8acb77ce299f8c79d92df563b864)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
2019-06-27 10:39:24 -07:00
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
Christine Poerschke
ff14a17711 Fix op[t]ional typo in json-facet-api.adoc file. 2019-06-25 11:29:10 +01: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
2d60b69636 SOLR-13545: Fix for Java 8 (no var) 2019-06-21 18:12:21 -04: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
Mikhail Khludnev
fbb64cf16a SOLR-13545: ContentStreamUpdateRequest to close file. 2019-06-21 23:40:26 +03:00
epugh
759770c9ab highlight select * not supported 2019-06-21 07:24:46 -04:00
Chris Hostetter
456bc4dbf9 SOLR-12988: Fix Revert
an (erroneous) assigment to useSsl was left in the constructor after the (intended) conditional assigment, rendering the conditional logic useless

(cherry picked from commit c8c2f2f25b28da694fae88868b12347bc5a2393c)
2019-06-20 16:05:11 -07: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
Joel Bernstein
1c27c47355 SOLR-10291: Updates CHANGES.txt 2019-06-19 20:58:45 -04:00
Joel Bernstein
f5a39b5d08 SOLR-10291: Add match Stream Evaluator to support regex matching 2019-06-19 19:46:34 -04:00
Cao Manh Dat
150e4f9863 SOLR-12988: Revert changes 2019-06-19 21:08:01 +01:00
Joel Bernstein
cf8ac4dbcf SOLR-13560: Update CHANGES.txt 2019-06-19 09:58:39 -04: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
Joel Bernstein
d82fe011bf SOLR-13560: Fix precommit 2019-06-18 22:35:32 -04:00
Joel Bernstein
ecd702bf4a SOLR-13560: Add isNull and notNull Stream Evaluators 2019-06-18 22:35:17 -04:00
Noble Paul
61292c90ed syntax error 2019-06-19 12:31:47 +10:00
Noble Paul
d12a800467 typo 2019-06-19 12:31:33 +10:00
Noble Paul
0623e1275e typo 2019-06-19 12:31:14 +10: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
a7af74f0c4 SOLR-13347: moved to "New Features" 2019-06-17 17:01:24 +10:00
Noble Paul
0c529cb968 SOLR-13534 : Dynamic loading to support loading jars from a URL 2019-06-17 17:00:38 +10: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
Ishan Chattopadhyaya
4c11ef3367 SOLR-13434: Fixing documentation regarding samplePercentage clusterprop 2019-06-16 22:53:08 +05:30
Joel Bernstein
d58b8b7590 SOLR-13552: Update CHANGES.txt 2019-06-15 14:32:42 -04:00
Joel Bernstein
57c22defb7 SOLR-13552: Add recNum Stream Evaluator 2019-06-15 13:55:37 -04:00