Commit Graph

34032 Commits

Author SHA1 Message Date
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
Patrick Zhai 2991acf8ff
LUCENE-9391: Upgrade HPPC to 0.8.2 (#1560)
* LUCENE-8574: Upgrade HPPC to 0.8.2 (Co-authored-by: Haoyu Zhai <haoyzhai@amazon.com>)
2020-06-12 07:36:43 +02:00
Erick Erickson ff391448d1 SOLR-14559: Fix or suppress warnings in solr/core/src/java/org/apache/solr/util, response, cloud, security, schema, api 2020-06-11 18:01:29 -04:00
Mike Drob fb98f30a61
SOLR-8392 type safety on SolrParam (#1556) 2020-06-11 14:21:54 -05:00
Bruno Roustant 75d25ad677
LUCENE-9397: UniformSplit supports encodable fields metadata. 2020-06-11 18:19:48 +02:00
Adrien Grand 36109ec362
LUCENE-9356: Add a test that verifies that Lucene catches bit flips. (#1569) 2020-06-11 18:09:09 +02:00
murblanc b4dcbfa3de
SOLR-12823: fix failures in CloudHttp2SolrClientTest CloudSolrClientTest TestCloudSolrClientConnections (#1565)
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-11 10:50:16 -05:00
Erick Erickson 07a203628e SOLR-14455: Fix or suppress warnings in solr/test-framework 2020-06-10 18:05:50 -04:00
Tomas Fernandez Lobbe 9728f4ef20
SOLR-14552: Add BMW support to ReRank queries (#1559) 2020-06-10 14:59:50 -07:00
Mike McCandless 138cdd758a LUCENE-9392: make FacetsConfig.DELIM_CHAR public 2020-06-10 12:37:04 -04:00
Bruno Roustant 2fe713b348
Fix TestPhraseWildcardQuery.testExplain to make it less fragile. 2020-06-10 16:30:25 +02:00
Munendra S N 53040984f6 SOLR-14345: return correct err msg when non-binary resp parser is used
* This adds support to parse error properly in case of non-binary
  resp parser but the problem still exists for noopResponseParser
2020-06-10 19:11:52 +05:30