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
Munendra S N
001c4e2ddd
SOLR-14550: fix duplicate issue in Atomic updates with add-distinct
...
* When add-distinct value is list, it can end up adding duplicate
entries
2020-06-10 18:59:44 +05:30
murblanc
d4f7c90bab
SOLR-14347: fix cached session update to not depend on Zookeeper state ( #1542 )
...
SOLR-14347: fix cached session update to not depend on Zookeeper state
2020-06-10 21:13:55 +10:00
Ignacio Vera
37a83675a7
LUCENE-9398: Always keep BKD index off-heap. BKD reader does not implement Accountable any more ( #1558 )
2020-06-10 08:13:12 +02:00
Mike Drob
2660139aa3
few more awaitsfix
2020-06-09 22:00:44 -05:00
Erick Erickson
c8f48d4701
SOLR-14547: Fix or suppress warnings in solr/client/solrj/io/stream
2020-06-09 19:21:36 -04:00
Mike Drob
7b5d2442ac
awaitsfix failing test
2020-06-09 18:12:51 -05:00
Mike Drob
8ee6e6797b
SOLR-14548 Address warning: static member should be qualified by type… ( #1555 )
2020-06-09 15:33:37 -05:00
murblanc
1ab9b811c6
SOLR-12823: remove /clusterstate.json ( #1528 )
...
* SOLR-12823: remove /clusterstate.json
Remove all code dealing with Zookeeper's /clusterstate.json, remove Collection API's MIGRATESTATEVERSION, remove legacyCloud option.
Also fixes SOLR-11877 DocCollection.getStateFormat is buggy
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-09 13:59:17 -05:00
Adrien Grand
54c5dd7d6d
LUCENE-9148: Move the BKD index to its own file. ( #1475 )
2020-06-09 09:59:14 +02:00
Adrien Grand
684c2e6afe
SOLR-14470: Fix precommit
2020-06-09 09:37:51 +02:00
Erick Erickson
4dcdd750f2
SOLR-14545: Fix or suppress warnings in apache/solr/update
2020-06-08 19:03:34 -04:00
Varun Thacker
8663a425a8
fix typo in the Solr CHANGES file
2020-06-08 14:06:57 -07:00
Andrzej Bialecki
30924f23d6
SOLR-14470: Add streaming expressions to /export handler.
2020-06-08 16:03:07 +02:00
Jan Høydahl
3e538005ec
SOLR-9679: Harden BasicAuthOnSingleNodeTest#testDeleteSecurityJsonZnode
2020-06-08 10:46:53 +02:00
Erick Erickson
7bf59a16bd
SOLR-14544: Fix or suppress warnings in solr/client/solrj/io/eval
2020-06-07 21:31:51 -04:00
Erick Erickson
04ba04c29d
SOLR-14543: Fix or suppress warnings in apache/solr/search
2020-06-07 21:20:25 -04:00
Jan Høydahl
f404a38fa6
SOLR-9679: Exception when removing zk node /security.json ( #1403 )
2020-06-08 01:11:56 +02:00
Gus Heck
ae6fe8d826
Revert "Refactor for code clarity, add some comments."
...
This reverts commit ebd40918
for which I apparently ran the tests one less time than I needed to
2020-06-07 13:02:45 -04:00
Gus Heck
12280819a1
SOLR-13169 Improve docs for MOVEREPLICA - Warn that maxShardsPerNode is ignored,
...
better detail on when some parameters are ignored
2020-06-07 12:24:17 -04:00