Commit Graph

5264 Commits

Author SHA1 Message Date
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
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
Ishan Chattopadhyaya f701ffd8cf SOLR-14158: Package manager to read keys from package store, not ZK 2020-01-10 10:34:09 +05:30
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
noble b8ec731af6 SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way 2020-01-10 01:15:20 +11:00
Houston Putman 6fde6dc504 Revert "SOLR-11746: Existence query support for numeric point fields"
This reverts commit 1f1b719478.
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
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
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
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
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
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
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
Mikhail Khludnev c01b45b924 SOLR-13808: caching {!bool filter=..} by default. 2019-12-28 23:34:52 +03:00
Bruno Roustant 8f5f18041a
SOLR-14131: Add maxQueryLength option to DirectSolrSpellchecker. 2019-12-25 21:48:07 +01:00
Robert Muir 359d82348e SOLR-14120: Solr Admin UI breaks when using IE11 2019-12-24 11:28:14 -08:00
Robert Muir 30069e13f5 SOLR-13984: docs, changes.txt 2019-12-24 06:43:50 -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 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
Robert Muir f1a674717a SOLR-14138: changes.txt 2019-12-23 10:49:49 -08:00
noble 04b0a5d8f3 SOLR-14125 : Streaming expressions to be loadable from packages 2019-12-23 15:30:11 +11:00
Andy Vuong 939057deff SOLR-14107: Ensure bin/solr -q/-v args work with -e/example (#1093)
Co-authored-by: Andy Vuong <andyvvv.101@gmail.com>
2019-12-20 11:32:11 -05:00
Kevin Risden 3f23002456
SOLR-14106: Cleanup Jetty SslContextFactory usage
Jetty 9.4.16.v20190411 and up introduced separate
client and server SslContextFactory implementations.
This split requires the proper use of of
SslContextFactory in clients and server configs.

This fixes the following
* SSL with SOLR_SSL_NEED_CLIENT_AUTH not working since v8.2.0
* Http2SolrClient SSL not working in branch_8x

Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-19 23:19:12 -05:00
Jason Gerlowski 5270b17a3b SOLR-14042: Fix varargs precommit warnings 2019-12-19 10:03:38 -05:00
Adrien Grand 741593f57b Minor improvements to the Solr changes. 2019-12-19 08:41:47 +01:00
Matthias Krueger d226aba686
SOLR-14091: Removing deprecated configuration of Jetty's soLingerTime option
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-18 19:30:31 -05:00
Robert Muir 8c14015e52 SOLR-13983: remove or replace process execution in SystemInfoHandler 2019-12-18 09:23:36 -05:00
Mikhail Khludnev cc00e1dcef SOLR-14092: Mark BlockJoinFacetComponent as deprecated. 2019-12-18 11:11:25 +03:00
Chris Hostetter d1fa6e1e02 SOLR-14099: Fixed @LogLevel annotation in test-framework to correctly 'unset' Loggers after test
(cherry picked from commit cc4262a8ec)
2019-12-17 14:59:26 -07:00
tallison a58269f6a6
SOLR-14054: Upgrade to Tika 1.23 2019-12-17 15:55:21 -05:00
David Smiley 0ea3ffd717 SOLR-14072: Deprecate Blob API and runtimeLib (#1086)
(cherry picked from commit 2db48314f9)
2019-12-15 23:54:02 -05:00
Ishan Chattopadhyaya e7e4959bd9 SOLR-14071: Updating upgrade notice 2019-12-15 11:21:41 +05:30
yonik 1be81700be SOLR-14079: fix SPLITSHARD splitByPrefix in async mode 2019-12-13 17:56:20 -05:00
erick 453577cbd5 SOLR-14026: Upgrade Jetty to 9.4.24.v20191120 and dropwizard to 4.1.2, moved to 8.5 in CHANGES.txt 2019-12-13 12:43:49 -05:00
erick 1a48a87f61 SOLR-14026: Upgrade Jetty to 9.4.24.v20191120 and dropwizard to 4.1.2
(cherry picked from commit 8278886966)
2019-12-13 12:15:32 -05:00
noble 9717540b8e SOLR-14013: javabin performance regressions 2019-12-13 17:42:24 +11:00
Kevin Risden 85b433e277
SOLR-14047: Make sure tests don't pickup other Hadoop installs
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-12 10:36:54 -05:00
Ishan Chattopadhyaya 8d07ba5c9c SOLR-14065: Deprecate Velocity 2019-12-12 16:13:59 +05:30
Ishan Chattopadhyaya 4c7f5039c7 SOLR-13978: Removed LTR from default configset 2019-12-12 15:09:59 +05:30
Ishan Chattopadhyaya 72b3c54e7d SOLR-14071: Untrusted configsets shouldn't be allowed to use <lib> directive 2019-12-12 15:01:06 +05:30
Adrien Grand 451d5348f4 Add next minor version 8.5 2019-12-12 09:33:20 +01:00
Ishan Chattopadhyaya 08b8d116f8 SOLR-13978: Remove non-essential components from default configset
The default configset no longer has the following:
   - Library inclusions (<lib ../>) for extraction, solr-cell libs, clustering, velocity and language identifier
   - /browse, /tvrh and /update/extract handlers
   - TermVector component (if someone wants it, can be added using config APIs)
   - XSLT response writer
   - Velocity response writer
If you want to use them in your collections, please add them to your configset manually or through the Config APIs.
2019-12-12 10:44:35 +05:30
Munendra S N 576591205c SOLR-13970: disallow using collapse/expand with grouping
* Using collapse with grouping would cause inconsistent behavior.
  This is because grouping calls the same postfilter twice without
  resetting the internal state of the DocValues cache
* Using expand with grouping would cause NPE
2019-12-12 10:22:32 +05:30
Ishan Chattopadhyaya a13b387fb5 SOLR-13945: SPLITSHARD can cause data loss due to rollback when final commit fails 2019-12-12 09:03:07 +05:30
Joel Bernstein c4dce29582 SOLR-14060: Update CHANGES.txt 2019-12-11 21:00:13 -05:00
Mikhail Khludnev f914d9aac7 SOLR-13904: Make Analytics component sensitive to timeAllowed. 2019-12-12 00:11:39 +03:00
Erik Hatcher 9dfee35b9f SOLR-14025: VelocityResponseWriter hardening 2019-12-11 12:38:58 -05:00