33808 Commits

Author SHA1 Message Date
Atri Sharma
aba7a61594 CHANGES.txt entry for SOLR-14588 2020-06-25 21:42:38 +05:30
Atri Sharma
7b54902f68
SOLR-14588: Implement Circuit Breakers (#1606)
* SOLR-14588: Implement Circuit Breakers

This commit consists of two parts: initial circuit breakers infrastructure and real JVM memory based
circuit breaker which monitors incoming search requests and rejects them with SERVICE_TOO_BUSY error
if the defined threshold is breached, thus giving headroom to existing indexing and search requests
to complete.
2020-06-25 21:06:22 +05:30
Dan Fox
54e6528304 SOLR-13749: XCJF -> Cross-Collection Join
change solrUrlWhitelist -> allowSolrUrls
ref guide: update join parser section to be inline with the unit tests.
2020-06-25 09:26:00 -04:00
noble
73a5016ea7 Use simplified API signatures. @EndPoint annotation can be attached to a method and it's posisble to have just a single parameter for an end point 2020-06-25 16:16:04 +10:00
David Smiley
3000bbd05a
SOLR Move "userfiles" stuff from SolrPaths to CoreContainer. (#1600)
And convert String and File paths to Path API
2020-06-25 00:18:58 -04:00
Noble Paul
57a892f896
SOLR-14404 CoreContainer level custom requesthandlers (#1432)
SOLR-14404 CoreContainer level custom requesthandlers
2020-06-25 13:08:51 +10:00
Noble Paul
419560ef2a
SOLR-14409: Existing violations allow bypassing policy rules when add… (#1598)
* SOLR-14409: Existing violations allow bypassing policy rules when adding new replicas
2020-06-25 10:33:28 +10:00
Mike Drob
fa44f822e3
LUCENE-6669 Fix repeated "the the"
Co-Authored-By: Rich Bowen <rbowen@apache.org>
2020-06-24 16:15:51 -05:00
Ilan Ginzburg
25428013fb
SOLR-14462: cache more than one autoscaling session (#1504)
SOLR-14462: cache more than one autoscaling session
2020-06-24 22:02:43 +02:00
Simon Willnauer
f47de19c4e
LUCENE-9408: Ensure OneMerge#mergeFinished is only called once (#1590)
in the case of an exception it's possible that some OneMerge instances
will be closed multiple times. This commit ensures that mergeFinished is
really just called once instead of multiple times.
2020-06-24 21:28:49 +02:00
Atri Sharma
6a455866b0
Change JoinQuery class's visibility to package again (#1611) 2020-06-24 22:41:34 +05:30
Atri Sharma
7030bb5e27
SOLR-14591: Move JoinQuery To Its Own File (#1609) 2020-06-24 21:36:46 +05:30
Erick Erickson
db986086f5 SOLR-14541: Remove IntelliJ //noinspection comments 2020-06-23 19:36:51 -04:00
Erick Erickson
9c1772f094 LUCENE-9411: Fail complation on warnings, 9x gradle-only 2020-06-23 16:21:10 -04:00
Mayya Sharipova
b0333ab5c8
LUCENE-9280: Collectors to skip noncompetitive documents (#1351)
Similar how scorers can update their iterators to skip non-competitive
documents, collectors and comparators should also provide and update
iterators that allow them to skip non-competive documents.
2020-06-23 16:04:58 -04:00
Erick Erickson
ea1bb9f2e9 SOLR-13268: Clean up any test failures resulting from defaulting to async logging 2020-06-23 15:35:08 -04:00
Ilan Ginzburg
3c6e09268c
SOLR-14546: add a Bug Fixes section for Solr 9.0.0 in CHANGES.txt (#1607) 2020-06-23 18:35:48 +02:00
Christine Poerschke
710fe3a107 SOLR-14502: increase bin/solr's post kill sleep (from 1s to 10s) 2020-06-23 16:34:43 +01:00
Christine Poerschke
b4b641ea44 Revert "SOLR-14702: increase bin/solr's post kill sleep (from 1s to 10s)"
This reverts commit 6b55d79bf37bcc92d08cef0c5c537ff95f9088f8.
2020-06-23 16:34:06 +01:00
Christine Poerschke
6b55d79bf3 SOLR-14702: increase bin/solr's post kill sleep (from 1s to 10s) 2020-06-23 16:14:27 +01:00
Christine Poerschke
3f4f5e2f76 SOLR-14584: CHANGES.txt entry
SOLR-14584: Correct SOLR_SSL_KEY_STORE and SOLR_SSL_TRUST_STORE example comments in solr.in.sh and solr.in.cmd files

(Aren Cambre via Christine Poerschke)

Closes #1597
2020-06-23 16:12:59 +01:00
Aren Cambre
dc1e359076 fixes SOLR-14584 2020-06-23 16:05:52 +01:00
Ilan Ginzburg
3e42286e9e
SOLR-14546: OverseerTaskProcessor can process messages out of order (#1561)
SOLR-14546: OverseerTaskProcessor can process messages out of order
2020-06-23 16:16:46 +02:00
Tomas Fernandez Lobbe
a1be1de67e
SOLR-14554: Let Solr use WAND algorithm when scores are requested (#1566)
Make MaxScoreCollector set minCompetitiveScore
2020-06-22 16:50:54 -07:00
Tomas Fernandez Lobbe
4774c6f0c1
Include delegate in AssertingSimilarity toString (#1596) 2020-06-22 16:38:00 -07:00
Michael Sokolov
5d43e73c66 Revert "LUCENE-8962: add ability to selectively merge on commit (#1552)"
This reverts commit 972c84022ec9c2b867848cb11f6d4c6bc466e8f2.
2020-06-22 17:35:49 -04:00
Ilan Ginzburg
62dd94d26b
SOLR-12823: fix TestZKPropertiesWriter (#1575)
SOLR-12823: remove clusterstate.json in Lucene/Solr 9.0 - fix TestZKPropertiesWriter

TestZKPropertiesWriter relied on removed legacy features of the SolrCloud cluster to work.
Start a MiniSolrCloudCluster (implies config set and other test resources config) and have the test use the core of a created collection.
2020-06-22 18:02:26 +02:00
David Smiley
aa5b26f6c4
Remove some needless toAbsolutePath calls (#1582) 2020-06-21 16:28:25 -04:00
Adrien Grand
541fc984e9 LUCENE-9409: Disable TestAllFilesDetectTruncation temporarily. 2020-06-21 10:03:42 +02:00
Mike Drob
591d844e80
LUCENE-9412 Do not validate jenkins HTTPS cert 2020-06-19 23:42:02 -05:00
Michael Sokolov
972c84022e
LUCENE-8962: add ability to selectively merge on commit (#1552)
Co-authored-by: Michael Froh <msfroh@apache.org>
Co-authored-by: Simon Willnauer <simonw@apache.org>
2020-06-18 16:56:29 -04:00
Simon Willnauer
56febf05c3
Replace DWPT.DocState with simple method parameters (#1594)
DWPT.DocState had some history value but today in a little bit more
cleaned up DWPT and IndexingChain there is little to no value in having
this class. It also requires explicit cleanup which is not not necessary
anymore.
2020-06-18 20:02:10 +02:00
Tomas Fernandez Lobbe
4db1e3895f
LUCENE-9402: Let MultiCollector handle minCompetitiveScore (#1567) 2020-06-18 10:19:49 -07:00
Erick Erickson
84729edbba SOLR-14574: Fix or suppress warnings in solr/core/src/test (part 2) 2020-06-18 11:12:50 -04:00
Jan Høydahl
936b9d770e
SOLR-14561 CoreAdminAPI's parameters instanceDir and dataDir are now validated (#1572) 2020-06-18 16:13:52 +02:00
Jason Gerlowski
0ea0358624 SOLR-14532: Add *.iml files to gitignore
Also clarifies our docs on importing the project into IntelliJ.
2020-06-17 20:22:17 -04:00
Tomas Fernandez Lobbe
cfae052973
SOLR-14577: Return BAD REQUEST when field is missing in terms QP (#1588) 2020-06-17 16:02:48 -07:00
Erick Erickson
b01e249c9e SOLR-14574: Fix or suppress warnings in solr/core/src/test (part 1) 2020-06-17 17:51:41 -04:00
Simon Willnauer
efcf75a546 remove debug code 2020-06-17 23:33:48 +02:00
Simon Willnauer
9524cc4233 LUCENE-9408: roll back only called once enforcement 2020-06-17 23:31:43 +02:00
Simon Willnauer
59efe22ac2
LUCENE-8962: Allow waiting for all merges in a merge spec (#1585)
This change adds infrastructure to allow straight forward waiting
on one or more merges or an entire merge specification. This is
a basis for LUCENE-8962.
2020-06-17 22:48:12 +02:00
Eric Pugh
207efbceeb
SOLR-14572 document missing SearchComponents (#1581)
* Add an example explaining how to use

* fix up JavaDoc formatting

* add missing SearchComponents that ship with Solr, and point to external site with components.

* fix path

* simplify page layout by consolidating to lists

* add missing components that are documented elsewhere in refguide

* try to get pathing to pass precommit

* remove mention of solr.cool, in favour of a seperate PR that handles it differently
2020-06-17 11:01:49 -04:00
Adrien Grand
ea0ad3ec51 LUCENE-9359: Avoid test failures when the extra file is a dir. 2020-06-17 09:36:02 +02:00
Erick Erickson
6357b3bdaa SOLR-14573: Fix or suppress warnings in solrj/src/test 2020-06-16 13:27:53 -04:00
Adrien Grand
87a3bef50f
LUCENE-9353: Move terms metadata to its own file. (#1473) 2020-06-16 15:05:28 +02:00
Simon Willnauer
c083e5414e
Cleanup TermsHashPerField (#1573)
Several classes within the IndexWriter indexing chain haven't been touched for 
several years. Most of these classes expose their internals through public
members and are difficult to construct in tests since they depend on many other
classes. This change tries to clean up TermsHashPerField and adds a dedicated
standalone test for it to make it more accessible for other developers since
it's simpler to understand. There are also attempts to make documentation better
as a result of this refactoring.
2020-06-16 14:45:45 +02:00
Jason Gerlowski
a7792b129b
SOLR-14558: Record all log lines in SolrLogPostTool (#1570) 2020-06-16 08:21:24 -04:00
Robert Muir
a108f90869
LUCENE-9404: simplify checksum calculation of ByteBuffersIndexOutput
Rather than copying from buffers, we can pass the buffers directly to the checksum with good performance in JDK9+
2020-06-16 06:36:57 -04:00
Robert Muir
4decd5aa9c
LUCENE-9403: tune BufferedChecksum.DEFAULT_BUFFERSIZE
Increase the buffersize used for ChecksumIndexInput for better crc performance.
2020-06-16 06:24:46 -04:00
Adrien Grand
2b61b205fc
LUCENE-9396: Improve truncation detection for points. (#1557) 2020-06-16 12:04:41 +02:00