Commit Graph

32110 Commits

Author SHA1 Message Date
Chris Hostetter 689fa583a0 Revert "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"
This reverts commit 6d6f14d391.

Reason for revert: after doing more testing I realized there are tests I overlooked which can (with randomized SSL usage) trigger NullPointerException
(or other related failures) in After/AfterClass due assumptions about cleanup that isn't actaully neccessary due to the AssumptionFailure
that may occur during Before/BeforeClass
2019-06-24 15:42:23 -07:00
Chris Hostetter 6d6f14d391 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 2019-06-24 15:02:18 -07:00
Munendra S N 9cfba4a728 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:38:39 +05:30
Munendra S N 54aff4ac7d 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:50:51 +05:30
Alan Woodward c33177e428 LUCENE-8766: Further checks against race in test 2019-06-24 10:04:12 +01:00
Ignacio Vera d9dbb70d01
LUCENE-8838: Remove support for Steiner points (#703)
This is currently not used/supported.
2019-06-24 09:41:33 +02:00
Tomoko Uchida 559abd8f28 LUCENE-8778: Update the changelog because this was backported to 8.x branch. 2019-06-22 20:48:41 +09:00
Tomoko Uchida 2d4dea370a LUCENE-8778: Add SPI name and documentation for the KoreanNumberFilterFactory 2019-06-22 20:23:01 +09:00
Tomoko Uchida 422cf14439 Resolve conflicts in CHANGES. 2019-06-22 16:41:27 +09:00
Tomoko Uchida 8e81f47ca6 LUCENE-8793: Luke enhanced UI for CustomAnalyzer: show detailed analysis steps.
Co-authored-by: Jun Ohtani
Co-authored-by: Tomoko Uchida
2019-06-22 16:22:26 +09:00
Tomoko Uchida 98c85a0e1a 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 10:46:37 +09:00
David Smiley 54cc70127b 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.
2019-06-21 17:05:56 -04:00
Mikhail Khludnev 9137a0b0fe SOLR-13545: ContentStreamUpdateRequest to close file. 2019-06-21 23:38:08 +03:00
Simon Willnauer b3e759a658
Expose IndexSearchers executor in order to enable searcher cloning (#732)
Today if an executor was added to the IndexSearcher it's impossible to
clone the searcher with it's cache, similarty and caching policy since
the executor is not exposed. This adds a simple getter to make cloning
easier.
2019-06-21 10:28:47 +02:00
Jason Gerlowski d318a6e3f9
SOLR-13261: Clarify parallel-sql docs to make it clear 'SELECT *' not supported 2019-06-20 22:07:08 -04:00
Robert Muir 91331d1a89 LUCENE-8866: remove kuromoji/tools dependency on ICU 2019-06-20 21:20:17 -04:00
Chris Hostetter c8c2f2f25b SOLR-12988: Fix Revert
an (erroneous) assigment to useSsl was left in the constructor after the (intended) conditional assigment, rendering the conditional logic useless
2019-06-20 16:04:49 -07:00
Michael Sokolov aa29bea071 Add missing javadocs for new BinaryDictionary.ResourceScheme 2019-06-21 01:01:10 +02:00
Michael Sokolov 4502065f03 LUCENE-8863: enhance Kuromoji DictionaryBuilder tool
added tests
 enabled ids up to 8191
 support loading custom system dictionary from filesystem or classpath
2019-06-21 00:38:44 +02:00
Alan Woodward df3011a539 LUCENE-8766: Add monitor sub-project to smoke tester 2019-06-20 17:32:23 +01:00
Alan Woodward 371f50acc2 LUCENE-8766: Fix timing problem in test 2019-06-20 17:32:23 +01:00
David Smiley 54c5b8a7f1 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 11:59:22 -04:00
Gus Heck 5d47875184 SOLR-13419 - Better infix for TRA collection names 2019-06-20 09:47:52 -04:00
Jan Høydahl 87c131baa7
LUCENE-8852 ReleaseWizard tool (#710) 2019-06-20 14:45:17 +02:00
Simon Willnauer c6899fc40d
LUCENE-8865: Move to executor in IndexSearcher (#731)
In order to simplify testing this change moves to use the Executor
interface instead of ExecutorService. This change also simplifies
customizing execute methods for use-cases that need to add additional
logic for forking to new threads. This change also adds a test for
the optimization added in LUCENE-8865.

This change is fully backwards compatible since ExecutorService implements
Executor.
2019-06-20 14:26:40 +02:00
Joel Bernstein 0aa6b11ae2 SOLR-10291: Updates CHANGES.txt 2019-06-19 20:57:44 -04:00
Joel Bernstein e88366c9b6 SOLR-10291: Add match Stream Evaluator to support regex matching 2019-06-19 19:40:20 -04:00
Cao Manh Dat e3752e87d0 SOLR-12988: Revert changes 2019-06-19 21:07:38 +01:00
Joel Bernstein 9dab797497 SOLR-13560: Update CHANGES.txt 2019-06-19 09:57:39 -04:00
Cao Manh Dat 91944a468e SOLR-12988: Skip running tests with SSL on Java 11 to 11.0.2 2019-06-19 10:43:17 +01:00
Adrien Grand 7c5247c60c LUCENE-8847: Fix typo in CHANGES. 2019-06-19 09:51:29 +02:00
Mikhail Khludnev 48a1cb0bdc SOLR-7530: clarifying the doc 2019-06-19 10:45:01 +03:00
Joel Bernstein 8a35088947 SOLR-13560: Fix precommit 2019-06-18 22:33:40 -04:00
Joel Bernstein 1dd98ca65d SOLR-13560: Add isNull and notNull Stream Evaluators 2019-06-18 22:33:40 -04:00
Noble Paul aad7b96128
syntax error 2019-06-19 12:27:01 +10:00
Noble Paul 4c0c4cbdb5
typo 2019-06-19 12:21:30 +10:00
Noble Paul 39475119f7
typo 2019-06-19 12:20:17 +10:00
Michael Sokolov 2e49f13aa1 LUCENE-8781: add FST array-with-gap addressing to Util.readCeilArc 2019-06-18 21:28:16 +02:00
Adrien Grand 2e468abecc LUCENE-8853: Don't return a FileSwitchDirectory when asked for a FS directory. 2019-06-18 17:15:21 +02:00
Noble Paul ed42d36c7b SOLR-13329: changed the put:on-each to put: on-each-node 2019-06-19 00:16:57 +10:00
Simon Willnauer 60f3b25d06
LUCENE-8865: Use incoming thread for execution if IndexSearcher has an executor (#725)
Today we don't utilize the incoming thread for a search when IndexSearcher
has an executor. This thread is only idling but can be used to execute a search
once all other collectors are dispatched.
2019-06-18 14:56:51 +02:00
Cao Manh Dat c8382890ae SOLR-12988: Avoid using TLSv1.3 for HttpClient 2019-06-18 12:49:51 +01:00
Cao Manh Dat 6d5453d508 Fix precommit 2019-06-18 12:36:43 +01:00
Daniel Collins 342b558b01 SOLR-13434: Fix opentracing mock dependency for Solr core tests 2019-06-18 11:37:31 +01:00
Luca Cavanna 4fd09eb3e3 LUCENE-8796: Use exponential search in IntArrayDocIdSetIterator#advance (#667) 2019-06-18 10:29:51 +02:00
Simon Willnauer fb6e28d9f1
LUCENE-8853: Try parsing original file extension from tmp file (#716)
FileSwitchDirectory fails if the tmp file are not in the same directory
as the file it's renamed to. This is correct behavior but breaks with
tmp files used with index sorting. This change tries best effort to find
the right extension directory if the file ends with `.tmp`
2019-06-18 08:47:59 +02:00
Mikhail Khludnev 4f6314c59b SOLR-7530: /terms responds per field arrays in JSON by default 2019-06-18 08:38:02 +02:00
Chris Hostetter 3030ea9d94 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
2019-06-17 15:42:14 -07:00
Chris Hostetter 7eb8703df6 SOLR-13490: fix TestWaitForStateWithJettyShutdowns to use correct (randomized) JettyConfig 2019-06-17 15:34:14 -07:00
Chris Hostetter 5a974860fa 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.
2019-06-17 09:59:43 -07:00