Commit Graph

13760 Commits

Author SHA1 Message Date
Chris Hostetter d91f7856ba Some additional testing to prove 'defered function computation' in a syntax variant i was recently asked about
(cherry picked from commit 852f02b4b7)
2020-02-25 13:21:36 -07:00
Alessandro Benedetti 2752d50dd1 SOLR-12238: Handle boosts in QueryBuilder
QueryBuilder now detects per-term boosts supplied by a BoostAttribute when
building queries using a TokenStream.  This commit also adds a DelimitedBoostTokenFilter
that parses boosts from tokens using a delimiter token, and exposes this in Solr
2020-02-24 10:33:51 +00:00
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
Marc A. Morissette 8eb6b03d51 SOLR-12550: ConcurrentUpdateSolrClient doesn't respect timeouts for commits and optimize (#417)
ConcurrentUpdateSolrClient now propagates its connection and read timeouts to the private HttpSolrClient used to commit and optimize.

(cherry picked from commit 051133c13f)
2020-02-20 04:35:50 -08:00
Mikhail Khludnev 9f1aa427c0 SOLR-14263: stripping .adoc to fix build. 2020-02-19 14:31:48 +03: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
Eric Pugh f8e50a8fc2 SOLR-13965: s/StreamHandler/GraphHandler fix GraphHandler.getDescription()
(Eric Pugh via Christine Poerschke)
2020-02-18 16:14:47 +00:00
Eric Pugh d52e70a731 SOLR-13965: StreamHandler class-level javadoc edits
(Eric Pugh via Christine Poerschke)
2020-02-18 16:14:36 +00:00
Claire Pollard 8fcf500d30 Update README.txt (#1090)
Update the analysis-extras README to include reference to including solr-analysis-extras jar.

(cherry picked from commit 188f620208)
2020-02-15 22:59:52 +01: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
Chris Hostetter 3dd484ba29 SOLR-14245: Fix ReplicaListTransformerTest
Previous changes to this issue 'fixed' the way the test was creating mock Replica instances,
to ensure all properties were specified -- but these changes tickled a bug in the existing test
scaffolding that caused it's "expecations" to be based on a regex check against only the base "url"
even though the test logic itself looked at the entire "core url"

The result is that there were reproducible failures if/when the randomly generated regex matched
".*1.*" because the existing test logic did not expect that to match the url or a Replica with
a core name of "core1" because it only considered the base url

(cherry picked from commit 49e20dbee4)
2020-02-12 11:13:55 -07:00
Erick Erickson 974c9ac8d9 Code comment only change
(cherry picked from commit 0767a9d4d7)
2020-02-11 19:33:34 -05: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
Mikhail Khludnev 07de70ba62 SOLR-14209: specify charset via String for Java 8. 2020-02-09 16:38:48 +03:00
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
Nicholas Knize 0bd2496205 LUCENE-9149: Increase data dimension limit in BKD 2020-02-07 16:57:32 -06:00
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
Adrien Grand d7859097ee SOLR-14238: Fix HdfsDirectory to no longer overwrite existing files. (#1237) 2020-02-04 19:35:52 +01: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
Anshum Gupta 02f9b276b0
SOLR-14206: Annotate HttpSolrCall as thread-safe (#1205)
* SOLR-14206: Annotate HttpSolrCall and V2HttpCall as thread-safe
2020-02-03 10:00:43 -08: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
Munendra S N 43d07db523 fix typo in schema-api documentation 2020-02-01 10:39:33 +05:30
Jason Gerlowski 68cfe27b68 SOLR-13892: Add 'top-level' docValues Join implementation (#1171) 2020-01-31 13:11:28 -05:00
Joel Bernstein d4a4b4413d SOLR-14139: Support backtick phrase queries in Streaming Expressions 2020-01-31 12:14:43 -05:00
Chris Hostetter b2d8b784a3 New /stream test cases showing authn+authz edge cases in cloud mode
This triggers various places in the Streaming Expressions code that use background threads
to confirm that the expected credentails (or lack of) are propogarded along.

Test currently has comments + workarounds for 2 known client issues:
 - SOLR-14226: SolrStream reports AuthN/AuthZ failures (401|403) as IOException w/o details
 - SOLR-14222: CloudSolrClient converts (update) 403 error to 500 error

(cherry picked from commit 517438e356)
2020-01-30 10:04:09 -07:00
Robert Muir 0cc67223a8
SOLR-14217: tests respect tests.workDir correctly (prevent SSD destruction) 2020-01-29 13:44:51 -05:00
Adrien Grand 47c01af394 SOLR-13897: Fix precommit. 2020-01-28 20:11:24 +01:00
Cassandra Targett 088e6c3006 Ref Guide: Remove outdated or invalid links to Solr Wiki; update URL of those that remain 2020-01-27 16:39:22 -06:00
Cassandra Targett d5bacc9a1c Ref Guide: fix undefined substitution error caused by formatting of variables in paths 2020-01-27 16:39:10 -06:00
Robert Muir d614bb854d
LUCENE-9180: dos2unix files that don't need dos line endings. gitignore gradle-specific stuff that shows up modified if you switch branches, no gradle here. 2020-01-27 11:31:59 -05:00
Andrzej Bialecki df91041652 SOLR-14211: Fix a bug introduced in SOLR-14192. 2020-01-27 09:24:58 +01:00