31990 Commits

Author SHA1 Message Date
Noble Paul
b3caaffd6e SOLR-13504 improve autoscaling syntax by adding a nodeset attribute (#693)
* SOLR-13504:  more checks and tests
2019-06-03 18:40:42 +10:00
Noble Paul
dbbab57398 SOLR-13504: improve autoscaling syntax by adding a nodeset attribute (#691)
SOLR-13504: In autoscaling policies, use an explicit 'nodeset' attribute for filtering nodes instead of using them directly at the toplevel
2019-06-03 18:40:15 +10:00
Simon Willnauer
4f79fdc709 LUCENE-8813: Ensure we never apply deletes from a closed DWPTDeleteQueue (#688)
Today we don't have a strong protection that we add and apply deletes / updates
on or from an already flushed delete queue. DWPTDeleteQueue instances are replaced
once we do a full flush in order to reopen an NRT reader or commit the IndexWriter.

In LUCENE-8813 we tripped an assert that used to protect us from such an situation
but it didn't take all corner cases from concurrent flushing into account. This change
adds a stronger protection and ensures that we neither apply a closed delete queue nor
add any updates or deletes to it.

This change also allows to speculatively freeze the global buffer that might return
null now if the queue has already been closed. This is now possible since we ensure that
we never see modifications to the queue after it's been closed and that happens right after
the last DWPT for the ongoing full flush is done flushing.
2019-06-01 08:55:07 +02:00
Cassandra Targett
aec52ed463 Ref Guide: fix bad link reference 2019-05-30 14:59:11 -05:00
Cassandra Targett
53e377db43 Ref Guide: expand abbreviations, standarize some spellings 2019-05-30 14:49:55 -05:00
Cassandra Targett
b152bc2e46 Ref Guide: fix title case for all section headings 2019-05-30 14:10:33 -05:00
Chris Hostetter
b65fc0093b Fix SolrExporterIntegrationTest to not make assumptions about the JVM that are not true on windows
(cherry picked from commit 61279a2e79c485597c011b2fbe1acfbdb96475e3)
2019-05-30 11:59:43 -07:00
Gus Heck
f0d1f9cc90 SOLR-13491 - SolrZkClient's watch wrapper no longer allows zookeeper
to hold the same watch object multiple times.

(cherry picked from commit d0c1c36c9162b557a0684c9a3cc4879c7e0cd348)
2019-05-30 09:59:16 -04:00
Cassandra Targett
320ffbcdcc SOLR-13262: Capitalize section heading; extensive copy editing throughout 2019-05-29 20:33:35 -05:00
Joel Bernstein
420121a83c SOLR-13494: Update CHANGES.txt 2019-05-29 14:47:09 -04:00
Chris Hostetter
753dfc43d6 Fix all solr tests to pass w/ -Dtests.dups=2 -Dtests.jvms=1
(cherry picked from commit c2b92f3015d44a48abc7cc5f7c972298ea317a07)
2019-05-29 10:27:40 -07:00
Joel Bernstein
91de31e5af SOLR-13494: Add DeepRandomStream implementation 2019-05-29 12:54:14 -04:00
Andrzej Bialecki
e4016643e4 Add backcompat indexes. 2019-05-29 18:16:49 +02:00
Cao Manh Dat
190b633b7e SOLR-13450: Backport the fix from CloudHttp2SolrClientTest 2019-05-29 16:56:52 +01:00
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 97e7d8a3d78779bb26148ed1849ba1acdf44c6c5 and 15aa9dfb3de104c3cd880e1d59f835932c17e1ff)
(cherry picked from commit 57b64f26846294599f4f8016ce5566dffe5f4de2)
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 97e7d8a3d78779bb26148ed1849ba1acdf44c6c5)
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 af4e1d324a389bac8cfcbffcbef20d4647957a61)
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 379e6f64b80918dd98a573c78be68fa901d70d5d)
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 3ed31cfbc72b4e61d705a3e48202e386cdc3fe64)
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 6cc67e433e191b5c0450a4d2fc06de26939ac920)

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 2ad39e972dbd60e1389884c416aa043abba7b4e8)
2019-05-20 11:05:09 +02:00
Jan Høydahl
889cc4fc5c SOLR-13479: Harden OverseerTaskQueueTest
(cherry picked from commit 18cb42ee80854e2159201fe550b13d894425a4f8)
2019-05-17 20:57:19 +02:00
Alessandro Benedetti
6f83dad301 SOLR-12304: MLT component now supports mlt.interestingTerms
(cherry picked from commit b9db118ed3f60e0eb431126a1f5401b59c22808a)
2019-05-16 23:13:03 -04:00