Commit Graph

33793 Commits

Author SHA1 Message Date
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 6b55d79bf3.
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 972c84022e.
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
Gus Heck b00d747eb6 SOLR-13169 Improve docs for MOVEREPLICA - document additional existing parameters, second pass fixing spelling and other details. 2020-06-13 15:55:32 -04:00
Gus Heck b8ff4c7636 Refactor for code clarity, add some comments. 2020-06-13 12:17:48 -04:00
Erick Erickson a41aa20b0a SOLR-14564: Fix or suppress remaining warnings in solr/core 2020-06-13 11:00:58 -04:00
Erick Erickson 6801d4c139 SOLR-14565: Fix or suppress warnings in solrj/impl and solrj/io/graph 2020-06-12 20:06:16 -04:00
Erick Erickson 8cbfb192ab SOLR-14563: Fix or suppress warnings in solr/contrib 2020-06-12 10:56:22 -04:00
Michael Sokolov 26075fc1dc
LUCENE-9394: fix and suppress warnings (#1563)
* LUCENE-9394: fix and suppress warnings in lucene/*
* Change type of ValuesSource context from raw Map to Map<Object, Object>
2020-06-12 07:25:31 -04:00
Adrien Grand cf8f83cef9 LUCENE-9356: Disable test, some corruptions are still not detected as corruptions. 2020-06-12 09:16:54 +02:00
Adrien Grand 38adf09ca2 LUCENE-9356: Make FST throw the correct exception upon incorrect input type. 2020-06-12 09:16:54 +02:00