Commit Graph

31928 Commits

Author SHA1 Message Date
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
Andrzej Bialecki c6fb95290f Add missing versions, fix date formatting. 2019-06-24 14:48:31 +02:00
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
Alan Woodward 8a94a6a62d LUCENE-8766: Further checks against race in test 2019-06-24 10:16:22 +01:00
Ignacio Vera 40886d4690 LUCENE-8838: Remove support for Steiner points (#703)
This is currently not used/supported.
2019-06-24 09:42:27 +02:00
Tomoko Uchida d1678a3a68 LUCENE-8778: Don't use Java 11 APIs on 8x branch. 2019-06-23 01:12:32 +09:00
Tomoko Uchida 0cc1753e76 LUCENE-8778: Add SPI name and documentation for the KoreanNumberFilterFactory 2019-06-22 20:37:44 +09:00
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
Tomoko Uchida 9dabdda54a 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:51:59 +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 54cc70127b)
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
Simon Willnauer 4ea97758c8 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:29:53 +02:00
Robert Muir 2adc8c6c13 LUCENE-8866: remove kuromoji/tools dependency on ICU 2019-06-20 21:21:31 -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 c8c2f2f25b)
2019-06-20 16:05:11 -07:00
Michael Sokolov 9e017ba83c Add missing javadocs for new BinaryDictionary.ResourceScheme 2019-06-21 00:58:47 +02:00
Michael Sokolov bdaf10ffa8 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:39:48 +02:00
Gus Heck 45b000e7ae SOLR-13419 - Better infix for TRA collection names 2019-06-20 14:32:14 -04:00
Chris Hostetter 74f880b033 LUCENE-8872: upgrade ECJ on branch_8x to match version used on master - fixes some ECJ bugs when linting 2019-06-20 10:49:38 -07:00
Alan Woodward ab3f194656 LUCENE-8766: Add monitor sub-project to smoke tester 2019-06-20 17:35:28 +01:00
Alan Woodward aa771b1a29 LUCENE-8766: Fix timing problem in test 2019-06-20 17:35:15 +01: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
Jan Høydahl 0d7a652974 LUCENE-8852 ReleaseWizard tool (#710)
(cherry picked from commit 87c131baa7)
2019-06-20 14:47:15 +02:00
Simon Willnauer 741207da14 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:27:13 +02: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
Adrien Grand 21b0892d38 LUCENE-8847: Fix typo in CHANGES. 2019-06-19 09:51:42 +02: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
Michael Sokolov badcc4e6c7 LUCENE-8781: add FST array-with-gap addressing to Util.readCeilArc 2019-06-18 22:40:17 +02:00
Adrien Grand 0a915c3292 LUCENE-8853: Don't return a FileSwitchDirectory when asked for a FS directory. 2019-06-18 17:15:15 +02:00
Noble Paul 545b61ca23 SOLR-13329: changed the put:on-each to put: on-each-node 2019-06-19 01:03:32 +10:00
Simon Willnauer 4165184b16 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:57:21 +02: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
Luca Cavanna 327a6dfeb4 LUCENE-8796: Use exponential search in IntArrayDocIdSetIterator#advance (#667) 2019-06-18 10:30:17 +02:00
Simon Willnauer d391565ca5 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:48:25 +02: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 3030ea9d94)
2019-06-17 15:55:20 -07:00
Chris Hostetter 592d10d7ce SOLR-13490: fix TestWaitForStateWithJettyShutdowns to use correct (randomized) JettyConfig
(cherry picked from commit 7eb8703df6)
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 5a974860fa)
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