32771 Commits

Author SHA1 Message Date
Ishan Chattopadhyaya
a6b2e6d250 Add bugfix version 8.4.1 2020-01-14 18:56:07 +05:30
Jason Gerlowski
a6953bd976 SOLR-14186: Restore CRLF line endings to solr.cmd 2020-01-13 12:36:44 -05:00
Jason Gerlowski
2393b1ed58 SOLR-13890: Add "top-level" DV "terms" implementation (#1151)
{!terms} queries have a docValues-based implementation that uses per-segment DV structures.  This does well with a small to moderate (a few hundred) number of query terms, but doesn't well scale beyond that due to repetitive seeks done on each segment.

This commit introduces an implementation that uses a "top-level" docValues structure, which scales much better to very large {!terms} queries (many hundreds, thousands of terms).
2020-01-13 06:45:11 -05:00
RompotiMiranda
32647034ef SOLR-13934: Improve SimplePostTool & bin/post docs (#1013)
Co-Authored-By: RompotiMiranda
2020-01-13 06:35:52 -05:00
Bruno Roustant
eb84c04052
LUCENE-9125: Optimize Automaton.step() with binary search and introduce Automaton.next(). 2020-01-13 11:11:35 +01:00
Chris Hostetter
23fab1b6eb SOLR-13486: Fix trivial test bug in TestTlogReplayVsRecovery
Add TODOs for future test improvements once underlying race condition is fixed in core code

(cherry picked from commit 9a2497f6377601d396b1b3b8b83ffcab0fd331a3)
2020-01-11 16:48:26 -07:00
Bruno Roustant
72dea4919e
SOLR-6613: TextField.analyzeMultiTerm does not throw an exception when Analyzer returns no terms. (Bruno Roustant) 2020-01-10 16:52:49 +01:00
Joel Bernstein
1cb085afcb SOLR-14130: Improve robustness of the logs parser 2020-01-10 08:41:58 -05:00
Ishan Chattopadhyaya
f701ffd8cf SOLR-14158: Package manager to read keys from package store, not ZK 2020-01-10 10:34:09 +05:30
Adrien Grand
8784b2a4f1 Revert "LUCENE-9116: Remove long[] from PostingsWriterBase#encodeTerm. (#1149)"
This reverts commit 18a2c25c46b763af02bef0e402a4a4115613b950.
2020-01-09 17:38:20 +01:00
Kevin Risden
49a06a1a14
SOLR-14163: SOLR_SSL_CLIENT_HOSTNAME_VERIFICATION needs to work with Jetty server/client SSL contexts
Closes #1147

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-09 10:29:25 -05:00
Adrien Grand
18a2c25c46 LUCENE-9116: Remove long[] from PostingsWriterBase#encodeTerm. (#1149)
All the metadata can be directly encoded in the `DataOutput`.
2020-01-09 15:27:57 +01:00
Adrien Grand
be17386a32 LUCENE-9115: NRTCachingDirectory shouldn't cache files of unknown size. (#1145) 2020-01-09 15:27:57 +01:00
Adrien Grand
07ca08595a LUCENE-9118: BlockTreeTermsReader uses Arrays#compareUnsigned to compare suffixes. (#1150) 2020-01-09 15:27:57 +01:00
Eric Pugh
b996635413 SOLR-13927: Correct v2 /schema APIs in docs (#1010) 2020-01-09 09:22:09 -05:00
noble
b8ec731af6 SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way 2020-01-10 01:15:20 +11:00
Mike McCandless
46fab3fd3c LUCENE-9084: fix potential deadlock due to circular synchronization in AnalyzingInfixSuggester 2020-01-08 19:42:47 -05:00
Houston Putman
6fde6dc504 Revert "SOLR-11746: Existence query support for numeric point fields"
This reverts commit 1f1b719478e298b5ada064197a7fa919b608d24c.
2020-01-08 18:35:22 -05:00
Tomas Fernandez Lobbe
c0e04692e4 SOLR-14169: Fix 20 Resource Leak warnings in SolrJ's apache/solr/common 2020-01-08 11:17:36 -08:00
Houston Putman
1f1b719478 SOLR-11746: Existence query support for numeric point fields 2020-01-06 13:09:05 -05:00
Adrien Grand
83999401ae LUCENE-8673: Avoid OOMEs because of IOContext randomization. 2020-01-06 14:43:13 +01:00
Adrien Grand
e119d3fe53 Avoid OOMEs in TestIndexingSequenceNumbers. 2020-01-06 14:37:51 +01:00
Martijn Koster
2aa739ae87 SOLR-13089: Fix lsof edge cases in the solr CLI script
(cherry picked from commit ac777a5352224b2c8f46836f0e078809308fc2d8)
2020-01-06 13:20:54 +01:00
Adrien Grand
e2b39bd0ff LUCENE-9096: CHANGES entry. 2020-01-06 09:31:54 +01:00
kkewwei
7d6067000c LUCENE-9096:Simplify CompressingTermVectorsWriter#flushOffsets. (#1125) 2020-01-06 09:31:54 +01:00
Armin Braun
e2dbc988e0 Fix Incorrect Constant Name in Codec Docs (#1047)
The name was wrong here. Also, added a link to make this doc more
fun to navigate in HTML form and make sure it doesn't go bad again.
2020-01-06 09:31:54 +01:00
Adrien Grand
e810b8c2c5 BlockTreeTermsWriter should compute prefix lengths using Arrays#mismatch. (#1074) 2020-01-06 09:31:53 +01:00
Adrien Grand
f6c2cb2137 LUCENE-9113: Speed up merging doc values' terms dictionaries. (#1136) 2020-01-06 09:21:15 +01:00
Chris Hostetter
a8ab65b186 SOLR-13486: Text improvements
* force a hard commit of all docs in TestCloudConsistency to work around bug in that test

 * add new AwaitsFix'ed TestTlogReplayVsRecovery that more explicitly demonstrates the bug via TestInjection.updateLogReplayRandomPause

(cherry picked from commit 0fac7c1a26395ed21f14e02a471e6350144074c7)
2020-01-03 15:12:46 -07:00
Mikhail Khludnev
b7209c2acc SOLR-12490: Introducing json.queries to define many named queries in Query DSL. 2020-01-03 23:30:31 +03:00
Nick Vercammen
1b40371d43
SOLR-14153: Return correct isolation level when retrieving it from the SQL Connection
As transactions are not supported a request to getTransactionIsolation() should return TRANSACTION_NONE (https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#TRANSACTION_NONE)

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-03 14:25:51 -05:00
Eric Pugh
4dc761fb60 SOLR-14157: Document backup/restore 'name' param (#1133) 2020-01-03 10:19:28 -05:00
Joel Bernstein
861bdae964 SOLR-14130: Get working with branch_8x 2020-01-03 09:51:18 -05:00
Joel Bernstein
f35cd71427 SOLR-14130: Harden parsing logic 2020-01-03 08:53:31 -05:00
Joel Bernstein
600326c318 SOLR-14130: Fix precommit 2020-01-03 08:53:11 -05:00
Joel Bernstein
eb480c6c3b SOLR-14130: Add postlogs command line tool for indexing Solr logs 2020-01-03 08:52:47 -05:00
Dawid Weiss
daa4a8e467 Follow-up unused import removal. 2020-01-03 14:21:22 +01:00
Dawid Weiss
2b00d633a5 SOLR-13778: Solrj client will retry requests on SSLException with a suppressed SocketException (very likely a hard-closed socket connection) 2020-01-03 14:19:09 +01:00
Dawid Weiss
e862f8e248 Don't invoke RamUsageTester.sizeOf(buf) over and over on nightly tests. 2020-01-03 13:47:36 +01:00
Andrzej Bialecki
22386a1f12 SOLR-14122: SimUtils converts v2 to v1 request params incorrectly. 2020-01-02 14:25:55 +01:00
Nándor Mátravölgyi
5874b9c793 LUCENE-9093: UnifiedHighlighter LengthGoalBreakIterator frag align
Matches in passages should be centered better on average.
 Closes #1123

(cherry picked from commit 4c9cc2cefd7f3593c4b4e1e5a087e3d206298989)
2020-01-01 01:00:13 -05:00
Bruno Roustant
a97271fc52
LUCENE-9106: UniformSplit postings format allows extension of block/line serializers. 2019-12-31 11:27:53 +01:00
Jan Høydahl
6eff727590 SOLR-14129: Reuse Jackson ObjectMapper in AuditLoggerPlugin (#1104)
(cherry picked from commit c4993bc99ca4e9b1780c900e8bfa242d540ff8b5)
2019-12-30 17:41:59 +01:00
Adrien Grand
8eca54eae6 Minor fixes to the release wizard. (#1127)
(cherry picked from commit 43e30f966581b9447b9345c8c4406261a0c8ca9f)
2019-12-30 17:36:00 +01:00
Bruno Roustant
43e9897a23
LUCENE-9105: UniformSplit postings format detects corrupted index and better handles IO exceptions. 2019-12-30 17:15:39 +01:00
Cassandra Targett
601f9dbcf0 Ref Guide: fix upgrade notes version typo 2019-12-30 10:04:35 -06:00
Jan Høydahl
523b783f63 SOLR-14109: Always log to stdout from server/scripts/cloud-scripts/zkcli.{bat|sh} (#1130)
(cherry picked from commit 33bd811fb8b2a9bee595548e96c2a74721aa11b3)
2019-12-30 16:36:18 +01:00
Eric Pugh
e134123060 Word choice should be starting, not staring (#1128)
(cherry picked from commit 5a50eaa2c683a2921a1e1e846593bda48e36b296)
2019-12-30 12:48:19 +01:00
Adrien Grand
07ca00ed9c Add back-compat indices for 8.4.0 2019-12-29 21:43:14 +01:00
Adrien Grand
b4233062e0 DOAP changes for release 8.4.0 2019-12-29 20:53:23 +01:00