Commit Graph

31926 Commits

Author SHA1 Message Date
Christine Poerschke e9feb1146b SOLR-12941: remove unused import in IndexSizeTriggerTest 2019-05-28 16:26:11 +01:00
Andrzej Bialecki f310c0dd48 Update DOAP files for 8.1.1 release. 2019-05-28 16:46:03 +02:00
jimczi bf0d6fad42 LUCENE-8784: Restore the Korean's part of speech tag for NGRAM.
The part of speech tag for unigram has been changed inadvertenly in a previous commit (not released).
This change restores the original value that is also set on the serialized unkwnown dictionary.
2019-05-28 12:02:17 +02:00
Andrzej Bialecki 04d781db8b SOLR-12941: Fix IndexSizeTrigger to correctly work with "aboveBytes" and "splitMethod=link" parameters. 2019-05-28 11:34:36 +02:00
Simon Willnauer 6a26ccda8a LUCENE-8813: Count down latch in finally block.
This test hangs until it times-out when an assertion is tripped
in the indexing thread. Counting down the latch in a finally block
will cause the test to fail earlier.
2019-05-28 10:56:57 +02:00
Adrien Grand dd5fcd3dec LUCENE-8135: Fix number of clauses randomization. 2019-05-28 09:55:05 +02:00
Noble Paul c445ad4c75 SOLR-13493: /autoscaling/suggestions to be able to filter by type (#686)
* SOLR-13493: /autoscaling/suggestions to be able to filter by type
2019-05-28 07:58:39 +10:00
Erick Erickson 909910a9be SOLR-12562: Reverting Clean up RealTimeGetComponent.toSolrDoc (sha 97e7d8a3d7 and 15aa9dfb3d)
(cherry picked from commit 57b64f2684)
2019-05-27 08:38:33 -07:00
Namgyu Kim 990f62aca4 LUCENE-8784: The KoreanTokenizer now preserves punctuations if discardPunctuation is set to false (defaults to true).
Signed-off-by: Namgyu Kim <kng0828@gmail.com>
Signed-off-by: jimczi <jimczi@apache.org>
2019-05-27 15:16:41 +02:00
Dawid Weiss d046e67f96 LUCENE-8781: FST lookup performance has been improved in many cases by encoding Arcs using full-sized arrays with gaps. The new encoding is enabled for postings in the default codec and for suggesters. (Mike Sokolov) 2019-05-27 00:06:49 +00:00
Erick Erickson 15aa9dfb3d SOLR-12652: Clean up RealTimeGetComponent.toSolrDoc
(cherry picked from commit 97e7d8a3d7)
2019-05-26 08:31:58 -07:00
Chris Hostetter 9465763628 Fix TestCloudSearcherWarming to work around SOLR-13490
Also clean up some crufty System.out/System.err pollution

(cherry picked from commit af4e1d324a)
2019-05-25 08:40:20 -07:00
Colin Goodheart-Smithe 39c8cca177 LUCENE-8803: Provide a FieldComparator to allow sorting by a feature from a FeatureField (#680)
This change adds a SortField which allows a convenient way to sort search hits using a feature from a FeatureField.
2019-05-24 08:46:40 +02:00
noble 493364d4b1 SOLR-13484: ref-guide 2019-05-24 08:23:11 +10:00
noble 7c32bb5257 SOLR-13484: autoscaling/diagnostics APIshould be able to give diagnostics output from config pasted as a payload 2019-05-24 08:07:49 +10:00
Noble Paul e1fa16c324 SOLR-13484: autoscaling/diagnostics APIshould be able to give diagnostics output from config pasted as a payload 2019-05-24 08:06:21 +10:00
Noble Paul 794f99f0c6 SOLR-13484: backporting 2019-05-24 08:03:20 +10:00
noble 93ce10e705 SOLR-13484:
autoscaling/diagnostics APIshould be able to give diagnostics output from config pasted as a payload
2019-05-24 07:54:46 +10:00
Erick Erickson 75f8ae55d0 SOLR-13454: Investigate ReindexCollectionTest failures
(cherry picked from commit 379e6f64b8)
2019-05-23 08:44:28 -07:00
Nhat Nguyen 9c5c7a7e8d LUCENE-8809: Ensure release segment states
If refresh and rollback happen concurrently, then we can leave segment
states unreleased leads to leaking refCount of some SegmentReaders.
2019-05-23 11:32:58 -04:00
Chris Hostetter 0ff6a59396 Fix TestStressCloudBlindAtomicUpdates to play nice with tests.dups
(cherry picked from commit 3ed31cfbc7)
2019-05-22 11:23:04 -07:00
Adrien Grand dbfa8454e2 LUCENE-8757: Fix test bug. 2019-05-22 09:11:28 +02:00
Atri Sharma cfd9de894d LUCENE-8757: Improving Default Segments To Thread Mapping Algorithm
The current slicing algorithm assigns a thread per segment, which
can be detrimental to performance in case the distribution has
a large number of small segments. The patch introduces a slicing
algorithm which coalesces smaller segments to a single thread,
thus reducing the impact of context switching by limiting the
number of threads

Signed-off-by: Adrien Grand <jpountz@gmail.com>
2019-05-21 20:19:30 +02:00
Cassandra Targett 03226c0042 SOLR-13361: Add major changes in 8.0 for Ref Guide 2019-05-21 13:09:27 -05:00
Cassandra Targett 1d3d635439 Ref Guide: Upgrade notes for Solr 8.1 2019-05-21 13:08:16 -05:00
Uwe Schindler c714623996 LUCENE-8807: Change all download URLs in build files to HTTPS
# Conflicts:
#	lucene/common-build.xml
2019-05-21 17:12:18 +02:00
jimczi 91e7576c45 LUCENE-8770: BlockMaxConjunctionScorer now leverages two-phase iterators in order to avoid executing the second phase when scorers don't intersect 2019-05-21 11:36:58 +02:00
Adrien Grand 01d70ea4ca LUCENE-8804: Forbid calls to putAttribute on frozen FieldType instances. 2019-05-20 20:08:02 +02:00
Chris Hostetter 4dd3186c0f SOLR-13474: Fix "Search is temporarily disabled" logic to be consistent for entire request
SOLR-13469: Fix rejected requests during full disk full + IndexFetch to use 503 not 403
(cherry picked from commit 6cc67e433e)

Conflicts:
	solr/CHANGES.txt
2019-05-20 10:29:00 -07:00
Andrzej Bialecki 410d8935ba Add new version number for 8.1.1 release. Move the SOLR-13475 entry to the correct section. 2019-05-20 17:07:25 +02:00
Andrzej Bialecki 4591f67390 SOLR-13475: Clean up empty alias lists. Fix the ordering or operations in the test. 2019-05-20 14:17:08 +02:00
Andrzej Bialecki 97d0d46db6 SOLR-13475: Null Pointer Exception when querying collection through collection alias. 2019-05-20 13:35:00 +02:00
Andrzej Bialecki 3756c7116a SOLR-13437: Add a missing package description. 2019-05-20 13:12:49 +02:00
Jan Høydahl 584c44058f SOLR-12584: Describe getting Prometheus metrics from a secure Solr (#662)
(cherry picked from commit 2ad39e972d)
2019-05-20 11:05:09 +02:00
Jan Høydahl 889cc4fc5c SOLR-13479: Harden OverseerTaskQueueTest
(cherry picked from commit 18cb42ee80)
2019-05-17 20:57:19 +02:00
Alessandro Benedetti 6f83dad301 SOLR-12304: MLT component now supports mlt.interestingTerms
(cherry picked from commit b9db118ed3)
2019-05-16 23:13:03 -04:00
Noble Paul 2b329128dd SOLR-13468: remove license files 2019-05-17 05:29:46 +10:00
Noble Paul 92451cf99c SOLR-13468: unused imports 2019-05-17 04:10:04 +10:00
Cassandra Targett b11f3a8a0f SOLR-13468: fix ref guide build failures 2019-05-16 05:38:10 -05:00
Ishan Chattopadhyaya f5be84e86a Updating DOAP for 8.1 release 2019-05-16 12:47:58 +05:30
David Smiley 6a3d32728b SOLR-13467: Include the S2 Geometry lib to make it simpler to use prefixTree="s2" on a Geo3D spatial field.
* Improved documentation on Geo3D.
* Better testing for Geo3D.

(cherry picked from commit 3a88ab616c)
2019-05-15 22:18:01 -04:00
Noble Paul 0f67df40b6 SOLR-13437: fork noggit code into Solr (#666)
* SOLR-13437: fork noggit code into Solr
2019-05-16 12:02:50 +10:00
Noble Paul 8f9c3e8875 SOLR-13468: added ref-guide 2019-05-16 08:26:08 +10:00
Noble Paul 92ff728372 SOLR-13468: autoscaling/suggestions should be able to give suggestions from config sent as a payload (#678)
* SOLR-13468: autoscaling/suggestions should be able to give suggestions from config sent as a payload
2019-05-16 07:41:28 +10:00
Erick Erickson fef5d097d5 SOLR-11558: It would be nice if the Graph section of the Cloud tab in the Admin UI could give some more information about the replicas of a collection
(cherry picked from commit 9ff5eb30af)
2019-05-15 11:36:46 -07:00
Dawid Weiss 0316e2a786 SOLR-13462: Update dependency definitions to include Ukrainian dictionary. 2019-05-15 09:17:51 +02:00
Chris Hostetter 4585ce0868 SOLR-13440: fix precommit failures
(cherry picked from commit 7ef5d5fe5f)
2019-05-14 13:37:06 -07:00
Chris Hostetter 371d645e6a SOLR-12999: Harden TestReplicationHandlerDiskOverFlow against sporadic timing failures
- ensure IndexFetcher injection is reset in @After method
 - replace System.out with Logger
 - Log and fail on any exceptions in any callbacks/threads
 - use CyclicBarrier (instead of CountdownLatch) to ensure the Query Thread loop doesn't monopolize
   CPU preventing IndexFetcher callback from ever being run

(Some of these improvements directly address jenkins failures we've been seeing)

(cherry picked from commit bf8c6ea435)
2019-05-14 13:37:05 -07:00
Andrzej Bialecki f6774a2b6e SOLR-13440: Fix occasional test failures by providing assert helpers aware of simulation
artifacts.
2019-05-14 19:04:43 +02:00
Andrzej Bialecki 12957fcd22 SOLR-13454: Fix the method's behavior which caused test failures due to collections disappearing during iteration. 2019-05-14 16:16:27 +02:00