Commit Graph

32869 Commits

Author SHA1 Message Date
Joel Bernstein d68f3e1a44 SOLR-14130: Improve robustness of the logs parser 2020-01-10 08:39:00 -05:00
Ishan Chattopadhyaya 6fb085943c SOLR-14158: Package manager to read keys from package store, not ZK 2020-01-10 10:25:44 +05:30
Adrien Grand 239d9a6726 Revert "LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`. (#1149)"
This reverts commit d0b4a166e0.
2020-01-09 17:37:54 +01:00
Kevin Risden 22155bf7a7
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:28:35 -05:00
noble 3b660d6b84 SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way 2020-01-10 01:17:50 +11:00
Adrien Grand d0b4a166e0
LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`. (#1149)
LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`.

All the metadata can be directly encoded in the `DataOutput`.
2020-01-09 15:16:26 +01:00
Adrien Grand 7ad33c3a98
LUCENE-9115: NRTCachingDirectory shouldn't cache files of unknown size. (#1145) 2020-01-09 15:15:30 +01:00
Adrien Grand b11c3cffe4
LUCENE-9118: BlockTreeTermsReader uses `Arrays#compareUnsigned` to compare suffixes. (#1150) 2020-01-09 15:09:21 +01:00
andywebb1975 ffe75fb441 SOLR-14165: set SolrResponse's serialVersionUID explicitly 2020-01-10 01:04:10 +11:00
Eric Pugh 8718447112 SOLR-13927: Correct v2 /schema APIs in docs (#1010) 2020-01-09 08:58:14 -05:00
Mike McCandless deba7d1404 LUCENE-9084: fix potential deadlock due to circular synchronization in AnalyzingInfixSuggester 2020-01-08 19:28:36 -05:00
Houston Putman 08b64aab8f Revert "SOLR-11746: Existence query support for numeric point fields"
This reverts commit f5ab3ca688.
2020-01-08 18:33:15 -05:00
Houston Putman ee66e5ef23 Revert "SOLR-11746: Adding docs for negative existence queries."
This reverts commit 9edb143efd.
2020-01-08 18:32:31 -05:00
Tomas Fernandez Lobbe a9beeb1d1e SOLR-14169: Fix 20 Resource Leak warnings in SolrJ's apache/solr/common 2020-01-08 11:16:32 -08:00
Jason Gerlowski a17c486424 Revert "SOLR-13985: Bind to localhost interface by default"
This temporarily reverts commit 479e73 while a potentially related
networking hiccup is investigated.
2020-01-07 09:05:13 -05:00
Houston Putman 9edb143efd SOLR-11746: Adding docs for negative existence queries. 2020-01-06 13:08:13 -05:00
Houston Putman f5ab3ca688 SOLR-11746: Existence query support for numeric point fields 2020-01-06 12:12:22 -05:00
Adrien Grand b6f31835ad LUCENE-8673: Avoid OOMEs because of IOContext randomization. 2020-01-06 14:43:41 +01:00
Martijn Koster ac777a5352 SOLR-13089: Fix lsof edge cases in the solr CLI script 2020-01-06 13:20:14 +01:00
Adrien Grand 6bb1f6cbbe LUCENE-9096: CHANGES entry. 2020-01-06 09:20:29 +01:00
kkewwei 2db4c909ca LUCENE-9096:Simplify CompressingTermVectorsWriter#flushOffsets. (#1125) 2020-01-06 09:19:08 +01:00
Armin Braun f87b4c13bb 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:03:40 +01:00
Adrien Grand dd74869347
BlockTreeTermsWriter should compute prefix lengths using Arrays#mismatch. (#1074) 2020-01-06 09:02:51 +01:00
Adrien Grand dcc01fdaa6
LUCENE-9113: Speed up merging doc values' terms dictionaries. (#1136) 2020-01-06 09:01:42 +01:00
Chris Hostetter 0fac7c1a26 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
2020-01-03 15:12:23 -07:00
Mikhail Khludnev 8fba8eba13 SOLR-12490: Introducing json.queries to define many named queries in Query DSL. 2020-01-03 23:28:11 +03:00
Jason Gerlowski 479e736469 SOLR-13985: Bind to localhost interface by default
Prior to this commit, Solr's Jetty listened for connections on all
network interfaces.  This commit changes it to only listen on localhost,
to prevent incautious administrators from accidentally exposing their
Solr deployment to the world.

Administrators who wish to override this behavior can set the
SOLR_JETTY_HOST property in their Solr include file
(solr.in.sh/solr.in.cmd) to "0.0.0.0" or some other value.
2020-01-03 15:17:24 -05:00
Nick Vercammen 1e0471a247
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:24:55 -05:00
Eric Pugh 50176fd6fc SOLR-14157: Document backup/restore 'name' param (#1133) 2020-01-03 10:18:27 -05:00
Joel Bernstein 8df304d12e SOLR-14130: Harden parsing logic 2020-01-03 08:47:19 -05:00
Joel Bernstein 8784d7c787 SOLR-14130: Fix precommit 2020-01-03 08:47:19 -05:00
Joel Bernstein 29c00d4fe7 SOLR-14130: Add postlogs command line tool for indexing Solr logs 2020-01-03 08:47:19 -05:00
Dawid Weiss d2409fe499 Follow-up unused import removal. 2020-01-03 14:20:52 +01:00
Dawid Weiss 985af95732 SOLR-13778: Solrj client will retry requests on SSLException with a suppressed SocketException (very likely a hard-closed socket connection) 2020-01-03 14:12:23 +01:00
Dawid Weiss 2150f9ccc3 Don't invoke RamUsageTester.sizeOf(buf) over and over on nightly tests. 2020-01-03 13:46:58 +01:00
Andrzej Bialecki 7d0cf0df32 SOLR-13817: Clean up config files to remove the default 'class=' attribute in
standard caches.
2020-01-02 20:58:47 +01:00
Andrzej Bialecki 15d5e6662c SOLR-14122: add unit test. 2020-01-02 14:02:54 +01:00
Andrzej Bialecki 38b9af21f1 SOLR-14122: SimUtils converts v2 to v1 request params incorrectly. 2020-01-02 13:54:45 +01:00
Dawid Weiss b1bb7bf8c2 Move newDirectory() creation to before, otherwise if something happens prior to before/after rule being invoked, the directory wouldn't be closed/ cleaned up properly. 2020-01-02 10:48:59 +01:00
Nándor Mátravölgyi 4c9cc2cefd LUCENE-9093: UnifiedHighlighter LengthGoalBreakIterator frag align
Matches in passages should be centered better on average.
 Closes #1123
2020-01-01 00:57:00 -05:00
Bruno Roustant 1851779ddb
LUCENE-9106: UniformSplit postings format allows extension of block/line serializers.
Closes #1106
2019-12-31 10:14:55 +01:00
Dawid Weiss 5bb5f7eddf Upgrade Randomizedtesting to 2.7.6 2019-12-31 09:42:44 +01:00
Jan Høydahl c4993bc99c
SOLR-14129: Reuse Jackson ObjectMapper in AuditLoggerPlugin (#1104) 2019-12-30 17:40:32 +01:00
Adrien Grand 43e30f9665 Minor fixes to the release wizard. (#1127) 2019-12-30 17:21:18 +01:00
Cassandra Targett 6d24cacf78 Ref Guide: fix upgrade notes version typo 2019-12-30 10:03:13 -06:00
Jan Høydahl 33bd811fb8
SOLR-14109: Always log to stdout from server/scripts/cloud-scripts/zkcli.{bat|sh} (#1130) 2019-12-30 16:28:24 +01:00
Eric Pugh 5a50eaa2c6 Word choice should be starting, not staring (#1128) 2019-12-30 12:45:19 +01:00
Bruno Roustant bbb6e418e4
LUCENE-9105: UniformSplit postings format detects corrupted index and better handles IO exceptions.
Closes #1105
2019-12-30 12:23:50 +01:00
Adrien Grand ca6bd364fb Add back-compat indices for 8.4.0 2019-12-29 21:43:09 +01:00
Adrien Grand d4e8a90960 DOAP changes for release 8.4.0 2019-12-29 20:52:33 +01:00