Commit Graph

32802 Commits

Author SHA1 Message Date
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 ac777a5352)
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 0fac7c1a26)
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 4c9cc2cefd)
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 c4993bc99c)
2019-12-30 17:41:59 +01:00
Adrien Grand 8eca54eae6 Minor fixes to the release wizard. (#1127)
(cherry picked from commit 43e30f9665)
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 33bd811fb8)
2019-12-30 16:36:18 +01:00
Eric Pugh e134123060 Word choice should be starting, not staring (#1128)
(cherry picked from commit 5a50eaa2c6)
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
Robert Muir 300e81b655 SOLR-14141: eliminate JKS keystore from solr ssl docs.
Currently the documentation pretends to create a JKS keystore. It is
only actually a JKS keystore on java 8: on java9+ it is a PKCS12
keystore with a .jks extension (because PKCS12 is the new java default).
It works even though solr explicitly tells the JDK
(SOLR_SSL_KEY_STORE_TYPE=JKS) that its JKS when it is in fact not, due
to how keystore backwards compatibility was implemented.

Fix docs to explicitly create a PKCS12 keystore with .p12 extension and
so on instead of a PKCS12 keystore masquerading as a JKS one. This
simplifies the SSL steps since the "conversion" step (which was doing
nothing) from .JKS -> .P12 can be removed.
2019-12-29 09:34:55 -05:00
Mikhail Khludnev c01b45b924 SOLR-13808: caching {!bool filter=..} by default. 2019-12-28 23:34:52 +03:00
Uwe Schindler a6a220c89a LUCENE-9110: Backport refactored stack analysis in tests to use generalized LuceneTestCase methods 2019-12-27 12:12:22 +01:00
Bruno Roustant 8f5f18041a
SOLR-14131: Add maxQueryLength option to DirectSolrSpellchecker. 2019-12-25 21:48:07 +01:00
Uwe Schindler 982797e23f LUCENE-9109: Backport some changes from master (except StackWalker) to improve TestSecurityManager 2019-12-25 13:50:19 +01:00
Jan Høydahl cb32489873 Change 72h voting rules for release wizard (#1118)
(cherry picked from commit d86b473ab8)
2019-12-24 23:13:26 +01:00
Jan Høydahl 6722b94d52 SOLR-14146: Zookeeper version not resolved in RefGuide (#1119)
(cherry picked from commit aa43f352d9)
2019-12-24 23:07:58 +01:00
Robert Muir 359d82348e SOLR-14120: Solr Admin UI breaks when using IE11 2019-12-24 11:28:14 -08:00
Robert Muir 7feba46a6f SOLR-14144: add IP-based access control to securing solr page 2019-12-24 07:56:14 -08:00
Robert Muir 4cde252a84 SOLR-14143: add request logging to securing solr page 2019-12-24 06:47:00 -08:00
Robert Muir 30069e13f5 SOLR-13984: docs, changes.txt 2019-12-24 06:43:50 -08:00
Robert Muir 89d88de5c2 SOLR-13984: add (experimental, disabled by default) security manager support (#1082)
* SOLR-13984: add (experimental, disabled by default) security manager support.

User can set SOLR_SECURITY_MANAGER_ENABLED=true to enable security manager at runtime.

The current policy file used by tests is moved to solr/server
Additional permissions are granted for the filesystem locations set by bin/solr, and networking everywhere is enabled.

This takes advantage of the fact that permission entries are ignored if properties are not defined:
https://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html#PropertyExp
2019-12-24 06:31:14 -08:00
Robert Muir d7ff40f53f SOLR-14136: ip whitelist/blacklist via env vars (#1111)
SOLR-14136: ip whitelist/blacklist via env vars

This makes it easy to restrict access to Solr by IP. For example SOLR_IP_WHITELIST="127.0.0.1, 192.168.0.0/24, [::1], [2000:123:4:5::]/64" would restrict access to v4/v6 localhost, the 192.168.0 ipv4 network, and 2000:123:4:5 ipv6 network. Any other IP will receive a 403 response.

Blacklisting functionality can deny access to problematic addresses or networks that would otherwise be allowed. For example SOLR_IP_BLACKLIST="192.168.0.3, 192.168.0.4" would explicitly prevent those two specific addresses from accessing solr.
2019-12-23 16:28:12 -08:00
Tomas Fernandez Lobbe 5f5ef58117 SOLR-14095: Fix Java 8 compile issue 2019-12-23 15:03:23 -08:00
Tomas Fernandez Lobbe fe04a5b6f0 SOLR-14095: Let the overseer use javabin to store responses in ZooKeeper (#1095)
The Overseer used java serialization to store command responses in ZooKeeper. This commit changes the code to use Javabin instead, while allowing Java serialization with a System property in case it's needed for compatibility
2019-12-23 15:03:14 -08:00
Nándor Mátravölgyi 80ad056bab LUCENE-9091: UnifiedHighlighter HTML escaping should only
escape essentials

(cherry picked from commit 1be5b68964)
2019-12-23 17:21:32 -05:00
Robert Muir f1a674717a SOLR-14138: changes.txt 2019-12-23 10:49:49 -08:00
Bruno Roustant 361bf78d89
LUCENE-9102: update changes.txt 2019-12-23 16:59:42 +01:00
Robert Muir baeaa56fb2 SOLR-14138: enable request log via environ var, remove deprecated jetty class usage, respect SOLR_LOGS_DIR (#1110)
User can now set SOLR_REQUESTLOG_ENABLED=true to enable the jetty request log, instead of editing XML. The location of the request logs will respect SOLR_LOGS_DIR if that is set. The deprecated NCSARequestLog is no longer used, instead it uses CustomRequestLog with NCSA_FORMAT.
2019-12-23 07:38:56 -08:00