Commit Graph

5310 Commits

Author SHA1 Message Date
Jan Høydahl e49dd55c47 SOLR-14114: Add WARN to Solr log that embedded ZK is not supported in production (#1273)
(cherry picked from commit 57c7139ea3)
2020-02-24 10:00:15 +01:00
Jan Høydahl 365728f7f4 SOLR-10306: Document in Reference Guide how to disable or reduce swapping (#1256)
(cherry picked from commit 8b98befe93)
2020-02-24 09:55:01 +01:00
Erick Erickson a79a90dcd3 SOLR-11035: (at least) 2 distinct failures possible when clients attempt searches during SolrCore reload
(cherry picked from commit 292bed0c42)
2020-02-21 10:58:37 -05:00
Jan Høydahl 8ea947eeb2 SOLR-14250: Do not log error when trying to consume non-existing input stream due to Expect: 100-continue (#1250)
(cherry picked from commit 89b13377a1)
2020-02-21 10:31:38 +01:00
Noble Paul fb9024f0e5 SOLR-14270 export command to have an option to write to a zip file (#1266) 2020-02-21 13:42:57 +11:00
Shalin Shekhar Mangar d5e51bf994 SOLR-12550: Adding entry to CHANGES.txt
(cherry picked from commit 2fdd3b02bb)
2020-02-20 04:35:58 -08:00
Jan Høydahl 42b725462f LUCENE-9229: Fix some broken links
Change some wiki -> cwiki links

Signed-off-by: Jan Høydahl <janhoy@apache.org>
(cherry picked from commit 8389b87e39)
2020-02-19 10:37:17 +01:00
Erick Erickson 0461999c92 SOLR-14263: Update jvm-settings.adoc
(cherry picked from commit aa130c4259)
2020-02-18 16:45:17 -05:00
Christine Poerschke 01c9c68cc8 SOLR-13041: Add hashCode for autoscaling.Condition to accompany the already present equals.
(Zsolt Gyulavari via Christine Poerschke)
2020-02-18 16:14:57 +00:00
Chris Hostetter ea20c9a001 SOLR-13794: Replace redundent test only copy of '_default' configset with SolrTestCase logic to correctly set 'solr.default.confdir' system property
This change allows us to remove kludgy test only code from ZkController

(cherry picked from commit f549ee3535)
2020-02-14 12:00:13 -07:00
yonik c2125f331b SOLR-14058: fix peersync bounds check iterating over versions 2020-02-11 10:44:22 -08:00
David Smiley 8d95df364f
SOLR-14194: Highlighters now supports docValues for the uniqueKey
and the original highlighter can highlight docValues.

(cherry picked from commit 9a4f7661e9)
2020-02-11 02:21:24 -05:00
Shalin Shekhar Mangar 78e567c57e SOLR-13996: Refactor HttpShardHandler.prepDistributed method (#1220)
SOLR-13996: Refactor HttpShardHandler.prepDistributed method into smaller pieces

This commit introduces an interface named ReplicaSource which is marked as experimental. It has two sub-classes named CloudReplicaSource (for solr cloud) and LegacyReplicaSource for non-cloud clusters. The prepDistributed method now calls out to these sub-classes depending on whether the cluster is running on cloud mode or not.

(cherry picked from commit c65b97665c)
2020-02-10 20:02:08 +05:30
David Smiley e6701680f4 SOLR-14149: CHANGES.txt Remove off-topic stuff
* No Introduction (to Solr) header.  Point at solr-upgrade-notes.adoc instead
* No Getting Started header
* No Versions of Major Components header
* No "Upgrade Notes" for subsequent releases.  See solr-upgrade-notes.adoc
Closes #1202

(cherry picked from commit 46c0945614)
2020-02-08 23:04:41 -05:00
Kevin Risden 056e2cc5da
SOLR-14038: Admin UI display for "state.json" should be in a scollable region
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-02-08 12:03:19 -06:00
Kevin Risden 8df7f379a4
SOLR-14209: Upgrade JQuery to 3.4.1
* JQuery 2.1.3 to 3.4.1
* jstree 1.0-rc1 to v3.3.8

Closes #1209

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-02-08 11:59:25 -06:00
Shalin Shekhar Mangar e623eb5320 SOLR-14248: Improve ClusterStateMockUtil and make its methods public
(cherry picked from commit f5c132be6d)
2020-02-08 12:01:11 +05:30
Andrzej Bialecki f8163439ff SOLR-14245: Validate Replica / ReplicaInfo on creation. 2020-02-07 17:57:31 +01:00
Houston Putman e0d35f9641 SOLR-13887: Use the default idleTimeout instead of 0 for HTTP2 (#991) 2020-02-05 12:45:14 -08:00
Chris Hostetter bbdfce944b SOLR-14241: New delete() Stream Decorator
(cherry picked from commit c5d0391df9)
2020-02-05 13:31:55 -07:00
Adrien Grand d007470bda SOLR-14242: HdfsDirectory#createTempOutput. (#1240) 2020-02-05 16:39:30 +01:00
Tomas Fernandez Lobbe 37d4121770 SOLR-14219: Revert changes in OverseerSolrRespose and move serialization (#1227)
SOLR-14095 Introduced an issue for rolling restarts (Incompatible Java serialization). This change fixes the compatibility issue while keeping the functionality in SOLR-14095
2020-02-04 11:07:38 -08:00
Munendra S N 358043d1f3 SOLR-14090: fix delete-copy-field when source is dynamic field 2020-02-04 21:48:56 +05:30
Munendra S N 5a3a05d953 SOLR-10567: add support for DateRangeField in JSON facet range 2020-02-04 21:47:54 +05:30
Andrzej Bialecki 4a002411fc SOLR-14239: Fix the behavior of CaffeineCache.computeIfAbsent on branch_8x. 2020-02-04 17:02:05 +01:00
Mikhail Khludnev 34d299018e SOLR-12325: uniqueBlock(\{!v=foo:bar}) 2020-02-02 15:20:16 +03:00
Jan Høydahl e4721d9a2d SOLR-14221: Upgrade restlet to version 2.4.0 (#1211)
(cherry picked from commit 16b8d50284)
2020-02-02 11:45:01 +01:00
Jason Gerlowski 68cfe27b68 SOLR-13892: Add 'top-level' docValues Join implementation (#1171) 2020-01-31 13:11:28 -05:00
Shalin Shekhar Mangar 7316391d2d SOLR-13897: Fix unsafe publication of Terms object in ZkShardTerms that can cause visibility issues and race conditions under contention
(cherry picked from commit 776631254f)
2020-01-27 12:09:12 +05:30
Uwe Schindler e934c8a7ca SOLR-14189: Add changes entry 2020-01-26 12:07:20 +01:00
Gus Heck dbe38b97f5 SOLR-13749 Cross Collection Join Filter 2020-01-25 00:48:22 -05:00
Kevin Risden 89ded7060d
SOLR-11554: Support handling OPTIONS request for Hadoop authentication filter
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 13:46:42 -05:00
Nick Vercammen f34e1de7d8
SOLR-14205 Do not fail when given timeout to connectionImpl.isValid() = 0
Closes #1204

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 10:27:37 -05:00
Kevin Risden 4dc793e648
SOLR-14132: Upgrade Angular JS 1.3.8 to 1.7.9
* Upgrade Angular JS 1.3.8 to 1.7.9
* Upgrade Angular Chosen v1.3.0 and Chosen to v1.8.7
* Remove older jquery 1.7.2 version
* Remove non minified Angular JS files

Closes #1196

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 09:24:26 -05:00
Jan Høydahl afdbd9e8d5 SOLR-14196: AdminUI login not working for JWTAuth when blockUnknown=false (#1190)
(cherry picked from commit e744f7977e)
2020-01-23 14:52:48 +01:00
Shalin Shekhar Mangar 6458d4f63e SOLR-14172: Collection metadata remains in zookeeper if too many shards are requested.
This also fixes a bug where an inability to assign a node based on existing autoscaling policy resulted in a server error instead of a bad request.

This closes #1152.

(cherry picked from commit 84270dc6cf)
2020-01-23 15:21:21 +05:30
Shalin Shekhar Mangar 0dea3c7060 SOLR-14207: Fix logging statements with less or more arguments than placeholders
(cherry picked from commit 04193d5252)
2020-01-23 14:00:58 +05:30
Houston Putman 3129ef9461 SOLR-11746: Adding existence queries for PointFields
* DocValuesFieldExistsQuery and NormsFieldExistsQuery are used for existence queries when possible.
* Added documentation on the difference between field:* and field:[* TO *]
2020-01-22 23:42:20 -05:00
Jan Høydahl 1f2212c8d8 SOLR-14198: Nullpointer exception in AuditEvent with AuthorizationContext (#1192)
(cherry picked from commit 75c64089a1)
2020-01-22 21:47:08 +01:00
Chris Hostetter 475b8cafc5 SOLR-12859: Fixed DocExpirationUpdateProcessorFactory to work with BasicAuth and other auth plugins that delegate to PKI for server initiated node-to-node communication.
(cherry picked from commit 95dfddc7d4)
2020-01-22 10:22:56 -07:00
Joel Bernstein 74936c32c3 SOLR-14130: Update CHANGES.txt 2020-01-22 09:53:26 -05:00
Ishan Chattopadhyaya 3333ce7da6 Synchronizing 8.4.1 changes 2020-01-22 11:29:44 +05:30
Ishan Chattopadhyaya 2dd1a34f8c Synchronizing 8.4.1 changes 2020-01-22 11:22:38 +05:30
David Smiley baab2fce43
SOLR-14040: shareSchema support for SolrCloud
* Use Caffeine impl and weak values (to the schema). Previously the cache never evicted!
* now populating the configSet name from ZK into CloudDescriptor when CloudDescriptor is loaded
* actual schema name needs to be deterministic now; fallback from non-existent managed-schema to schema.xml will thwart this cache
* a test conf/core.properties wasn't actually used and became a problem in it's weird location after I refactored some logic

Closes #1166
(cherry picked from commit ab924fd4ea)
2020-01-21 13:40:14 -05:00
Andrzej Bialecki 4c72b3d970 SOLR-14192: Race condition between SchemaManager and ZkIndexSchemaReader. 2020-01-20 17:13:05 +01:00
Chris Hostetter bb48773cdc SOLR-14184: Internal 'test' variable DirectUpdateHandler2.commitOnClose has been removed and replaced with TestInjection.skipIndexWriterCommitOnClose
(cherry picked from commit 5f2d7c4855)
2020-01-16 11:47:36 -07: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
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