33901 Commits

Author SHA1 Message Date
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
Ignacio Vera
75491ab381
LUCENE-9400: Tessellator might fail when several holes share the same vertex (#1562) 2020-06-16 09:00:36 +02:00
Nazerke Seidan
2da71c2a40
SOLR-14384: SolrRequestInfo now stacks internally.
* "set" now MUST pair with a "clear"
* fixes SolrIndexSearcher.warm which should have re-instated previous SRI
* cleans up some SRI set/clear users

Closes #1527
2020-06-16 01:46:50 -04:00
Simon Willnauer
47cffbcdd8
LUCENE-9405: Ensure IndexWriter only closes merge readers once. (#1580)
IndexWriter incorrectly calls closeMergeReaders twice when the
merged segment is 100% deleted ie. would produce a fully deleted
segment.
2020-06-15 22:02:15 +02:00
noble
fabc704748 SOLR-14516: NPE in JsonTextWriter 2020-06-15 19:17:23 +10:00
Erick Erickson
8426dc7a6a SOLR-14556: Fix or suppress warnings in solrj/cloud/autoscaling 2020-06-14 15:43:30 -04:00
Erick Erickson
4e90e48ac2 SOLR-14567: Fix or suppress remaining warnings in solrj 2020-06-14 08:11:23 -04:00
Gus Heck
396490b65c SOLR-13169 Improve docs for MOVEREPLICA - better parity with ref guide for v2 api descriptions 2020-06-13 16:24:45 -04:00