Kevin Risden
f0b73fdc6d
SOLR-14951: Upgrade Angular JS 1.7.9 to 1.8.0
...
Closes PR #2008
2020-12-22 11:18:44 -06:00
Jason Gerlowski
8b272a0960
SOLR-15049: Add TopLevelJoinQuery optimization for 'self-joins' ( #2146 )
2020-12-22 08:32:52 -05:00
Christine Poerschke
fa41ea51d4
Add two solr/CHANGES.txt entries for SOLR-14981 and SOLR-15046. ( #2149 )
...
So that 8.8.0 sections match on master and branch_8x branches.
2020-12-17 12:40:05 +00:00
Timothy Potter
809d15115b
SOLR-15054: Test should not require private methods to be final ( #2150 )
2020-12-16 15:35:30 -07:00
Cassandra Targett
2f45a31fbd
Ref Guide: copy editing solr-tracing.adoc; fix for table template so format options to work; code in tables is highlighted
2020-12-16 14:21:38 -06:00
Christine Poerschke
0b5003cfed
SOLR-14939: JSON range faceting to support cache=false parameter ( #1992 )
2020-12-16 17:42:24 +00:00
Mike Drob
bf7b438f12
SOLR-15029 Trigger leader election on index writer tragedy
...
SOLR-13027 Use TestInjection so that we always have a Tragic Event
When we encounter a tragic error in the index writer, we can trigger a
leader election instead of queing up a delete and re-add of the node in
question. This should result in a more graceful transition, and the
previous leader will eventually be put into recovery by a new leader.
closes #2120
2020-12-15 15:54:40 -06:00
Noble Paul
94c69f4385
SOLR-14977: improved plugin configuration ( #2099 )
2020-12-15 14:18:09 +11:00
noblepaul
63943a739b
use RTimer
2020-12-14 19:03:31 +11:00
noblepaul
a2a811a1b4
added a perf test
2020-12-14 18:54:32 +11:00
Noble Paul
a95ce0d422
SOLR-14827: Refactor schema loading to not use XPath ( #1963 )
2020-12-11 15:27:47 +11:00
Joel Bernstein
04b9a98060
SOLR-15040: Improvements to postlogs timestamp handling
2020-12-10 12:49:42 -05:00
Timothy Potter
30e5e38336
SOLR-14987: Reuse HttpSolrClient per node vs. one per Solr core when using CloudSolrStream ( #2067 )
2020-12-07 09:03:03 -07:00
Andrzej Bialecki
637afadeaa
SOLR-15022: fix page-children declaration.
2020-12-07 14:33:22 +01:00
Andrzej Bialecki
8dcaa6c6d3
SOLR-15022: Add RefGuide documentation for cluster plugins.
2020-12-07 14:03:47 +01:00
Tim Owen
510f96c69c
SOLR-8673: Enable custom aggregate functions by opening up FacetContext
...
Prior to this change, it was not feasible to write a custom aggregate function in plugin code
because the FacetContext class did not expose its fields for access outside its package. Also
some of the useful abstract classes for SlotAcc were package-private too
2020-12-06 22:45:09 -08:00
Andrzej Bialecki
478c6cb0f5
SOLR-15016: Fix javadoc so that the example matches the current API.
2020-12-06 18:45:01 +01:00
Andrzej Bialecki
cced5078ea
SOLR-15016: Replica placement plugins should use container plugins API / configs.
2020-12-06 14:51:10 +01:00
David Smiley
21b8890f58
SOLR: Remove CHANGES.md; use solr/CHANGES.txt
...
For now, any way. See dev list discussion.
2020-12-04 17:59:07 -05:00
saatchibhalla
19ed903377
SOLR-14965: add overseer queue size metrics ( #2040 )
...
Adds two metrics to the SolrCloud Overseer: solr_metrics_overseer_stateUpdateQueueSize and solr_metrics_overseer_collectionWorkQueueSize with corresponding entries in the the Prometheus exporter's default/stock configuration.
Co-authored-by: Saatchi Bhalla <s.bhalla@salesforce.com>
2020-12-04 16:47:35 -05:00
Mike Drob
cef928171f
SOLR-14992 Wait for node down before checking for node up ( #2115 )
2020-12-03 16:32:07 -08:00
Timothy Potter
4c100a0175
SOLR-12182: Fix Changes.txt in master ( #2116 )
2020-12-02 17:28:19 -07:00
Chris Hostetter
5208d47e1a
SOLR-14934: Remove redundent deprecated "solr.solr.home" logic
2020-12-02 17:18:58 -07:00
Jan Høydahl
e3572d0c4d
Reconcile upgrade notes in master ( #2103 )
...
inspired by And fixes #2102
2020-12-02 23:28:02 +01:00
Chris Hostetter
05a8477a36
SOLR-14934: Fix some additional test helper methods that aren't used on master but triggered problems when when backporting to branch_8x
2020-12-02 13:35:33 -07:00
Chris Hostetter
8732df8c50
SOLR-14934: test workaround for SOLR-15026
2020-12-02 12:13:55 -07:00
Chris Hostetter
2e6a02394e
SOLR-14934: Refactored duplicate "Solr Home" logic into a single place to eliminate risk of tests using divergent values for a single solr node.
2020-12-02 10:24:36 -07:00
Shalin Shekhar Mangar
d99c1667a5
SOLR-14942: Move request registration to ContentStreamHandlerBase ( #2112 )
...
This addresses review feedback from David Smiley on Jira. It moves the request registration to the ContentStreamHandlerBase class instead of doing a hack-ish instanceof check inside HttpSolrCall.
2020-12-02 10:11:23 +05:30
Thomas Mortagne
feb897a962
SOLR-15017: Core's lib/ dir was ignored sometimes ( #2107 )
...
A core's lib/ folder was ignored when the core's configuration did not define any <lib> element. This is a regression introduced in 8.6 by SOLR-14197.
2020-12-01 15:40:21 -05:00
Ilan Ginzburg
3df72502cc
SOLR-15004: tests for the replica placement API + placement plugin fixes and light refactoring ( #2110 )
...
Co-authored-by: Andrzej Bialecki <ab@apache.org>
2020-12-01 20:07:08 +01:00
Simon Willnauer
663655d659
SOLR-15013: Prevent merges since test asserts doc order
2020-12-01 10:23:12 +01:00
Cassandra Targett
689e56fbe0
Ref Guide: fix wrong class name in CSS to toggle the icon shown in sidebar nav when a section is open
2020-11-30 15:50:13 -06:00
Timothy Potter
a0492840ee
SOLR-12182: Don't persist base_url in ZK as the scheme is variable, compute from node_name instead ( #2010 )
2020-11-30 12:05:48 -07:00
Mike Drob
cb5ba42bd7
SOLR-15009 Propogate IOException from DF.exists
2020-11-30 10:27:23 -08:00
Chris Hostetter
37a61635e1
SOLR-14958: Refactor zkHost config logic to make testing easier and reduce risk of incorrect value being used
2020-11-30 10:43:08 -07:00
David Smiley
021de9f45f
SOLR-14915: Prometheus-exporter should not depend on Solr-core ( #1972 )
...
* Reduced dependencies from Solr server down to just SolrJ. Don't add WEB-INF/lib.
* Was missing some dependencies in lib/; now has all except SolrJ & logging.
* Can run via gradle, "gradlew run"
* Has own log4j2.xml now
Has own CHANGES.md now.
2020-11-27 15:08:33 -05:00
David Smiley
1e0ae2fb74
SOLR-15001 Docker: require init_var_solr.sh ( #2083 )
...
The Dockerfile should not initialize /var/solr's contents because this is confusing and redundant with init_var_solr.sh.
No need for init_var_solr.sh to echo what it does; VERBOSE can be used to accomplish that.
Separate CHANGES.md for Docker and contrib modules.
2020-11-27 14:59:54 -05:00
Jan Høydahl
99c38eee49
SOLR-14851 Http2SolrClient doesn't handle keystore type ( #2098 )
...
Signed-off-by: Jan Høydahl <janhoy@apache.org>
Co-authored-by: Andras Salamon <andras.salamon@melda.info>
2020-11-27 16:11:29 +01:00
Alessandro Benedetti
ca040402d9
SOLR-15015: added support to parametric Interleaving algorithm ( #2096 )
2020-11-24 10:14:38 +00:00
Erick Erickson
77a205387f
SOLR-14993: Unable to download zookeeper files of 1byte in size
2020-11-22 09:23:44 -05:00
Christine Poerschke
c4d4767bca
SOLR-14035: Remove deprecated preferLocalShards=true support in favour of the shards.preference=replica.location:local alternative.
...
(Alex Bulygin via Christine Poerschke)
2020-11-19 17:57:47 +00:00
Alessandro Benedetti
af0455ac83
SOLR-14560: Interleaving for Learning To Rank ( #1571 )
...
SOLR-14560: Add interleaving support in Learning To Rank
2020-11-18 18:15:24 +00:00
Cassandra Targett
ea4dd0580f
SOLR-14792: remove leftover /browse UI screenshot from ref guide docs
2020-11-17 15:00:38 -06:00
Cassandra Targett
2b5b0f999c
SOLR-14683: move "Missing Metrics" section down to config section; add short blurb to intro text
2020-11-17 11:58:09 -06:00
Marcus
b9a93cf695
LUCENE-8626: Standardize Lucene test file naming Part 2 ( #2053 )
2020-11-17 08:13:13 -05:00
Nazerke Seidan
2d583eaba7
SOLR-14998: logging: info->debug in CollectionsHandler ( #2079 )
...
Because it's almost always redundant with HttpSolrCall's admin request log.
Co-authored-by: Nazerke Seidan <nseidan@salesforce.com>
2020-11-16 16:59:31 -05:00
Noble Paul
73d5e7ae77
SOLR-14977 : ContainerPlugins should be configurable ( #2065 )
2020-11-17 00:19:50 +11:00
Erick Erickson
93ecd0fa0a
SOLR-14986: Add warning to ref guide that using 'properties.name' is an expert option
2020-11-14 09:04:59 -05:00
Adrien Grand
06877b2c6e
LUCENE-9378: Make it possible to configure how to trade speed for compression on doc values. ( #2069 )
...
This adds a switch to `Lucene80DocValuesFormat` which allows to
configure whether to prioritize retrieval speed over compression ratio
or the other way around. When prioritizing retrieval speed, binary doc
values are written using the exact same format as before more aggressive
compression got introduced.
2020-11-12 16:10:00 +01:00
Christine Poerschke
2f02040a4c
SOLR-14983: Fix response returning original score instead of reranked score due to query and filter combining.
...
(Krishan Goyal, Jason Baik, Christine Poerschke)
2020-11-12 12:51:21 +00:00
Mike Drob
66e285e7ae
SOLR-14995 Update Jetty to latest version
2020-11-11 13:27:49 -08:00
Jason Gerlowski
a7197ac0ce
SOLR-14971: Handle atomic-removes on uncommitted docs ( #2056 )
...
Docs fetched from the update log via RTG look different than docs
fetched from commits in the index: the types of
field-values may be different between the two, etc.
This is a problem for atomic add/remove of field values, where matching
existing values has historically been done by object equals() calls (via
Collection operations). This relies on equality checks which don't have
flexible enough semantics to match values across these different types.
(For example, `new Long(1).equals(new Integer(1))` returns `false`).
This was causing some add-distinct and remove operations on
uncommitted values to silently fail to remove field values.
This commit patches over this by converting between types in the more
common cases before using the fallback behavior.
2020-11-11 12:28:11 -05:00
Bruno Roustant
91ee53d418
SOLR-14975: Add entry in CHANGES.txt
2020-11-11 11:52:30 +01:00
Bruno Roustant
67f9245ce3
SOLR-14975: Optimize CoreContainer.getAllCoreNames and getLoadedCoreNames.
...
Also optimize getCoreDescriptors.
2020-11-11 11:37:45 +01:00
Houston Putman
d65041359e
SOLR-14949: Adding githubUrl option for docker build. ( #2074 )
2020-11-10 13:31:33 -05:00
Andrzej Bialecki
863a388fe7
SOLR-14683: Move the CHANGES.txt entry to the right place. Fix wrong type of null value.
2020-11-10 17:58:45 +01:00
Houston Putman
212b0f8657
SOLR-14949: Ability to customize Solr Docker build ( #2020 )
...
Also added a gradlew helpDocker page.
2020-11-10 10:42:38 -05:00
Tomoko Uchida
d1110394e9
LUCENE-9600: Clean up package name conflicts between misc and core modules ( #2064 )
2020-11-10 22:24:48 +09:00
Andrzej Bialecki
7ec17376be
SOLR-14683: Metrics API should ensure consistent placeholders for missing values.
2020-11-10 11:48:59 +01:00
Adrien Grand
bac4309326
SOLR-14749: Use h2 instead of h3 so that the javadoc tool doesn't complain about out-or-sequence headers.
2020-11-10 09:22:34 +01:00
Adrien Grand
fd98f677b9
Remove unused imports.
2020-11-10 09:22:34 +01:00
Adrien Grand
514c363f1d
LUCENE-9322: Move Solr to Lucene90Codec.
...
And drop configurability of Lucene87Codec since it shouldn't be used for writing anymore.
2020-11-10 09:22:34 +01:00
Erick Erickson
be19432b75
SOLR-14969: Prevent creating multiple cores with the same name which leads to instabilities (race condition) changed error code
2020-11-09 08:16:43 -05:00
Andrzej Bialecki
0bfa2a6908
SOLR-14749: Restructure the docs + add some examples.
2020-11-05 13:54:46 +01:00
Andrzej Bialecki
bdc6e8247f
SOLR-14749: Provide a clean API for cluster-level event processing.
2020-11-05 12:18:05 +01:00
Mike Drob
7c1ff288b7
SOLR-14978 OOM Killer in Foreground ( #2055 )
...
Combine Docker and bin/solr OOM handling scripts, move OOM handling to foreground Solr as well.
Co-authored-by: Houston Putman <houstonputman@gmail.com>
2020-11-04 17:20:16 -06:00
Dawid Weiss
f7779339d5
Correct sandbox class name.
2020-11-03 17:41:22 +01:00
Dawid Weiss
22296f28a2
SOLR-14912: Unify solr-contrib-extraction with the artifact it produces ( #2060 )
2020-11-03 14:15:26 +01:00
Dawid Weiss
0f871b2c56
SOLR-14926: Modernize and clean up search results clustering contrib.
2020-11-03 09:31:53 +01:00
Tomoko Uchida
6a7131ee24
LUCENE-9319: Clean up package name conflicts for sandbox module ( #2023 )
2020-11-03 12:01:02 +09:00
Michael Aleythe
e7f0294d85
SOLR-14961 ZkMaintenanceUtils.clean doesn't remove zk nodes with same length
...
fixes #2042
2020-11-02 16:54:00 -06:00
Houston Putman
5091e75c9d
SOLR-14907: Adding V2 API for ConfigSet Upload. ( #1996 )
2020-11-02 14:06:45 -05:00
Christine Poerschke
0729746d77
Rename TestSolrTestCaseJ4 to SolrTestCaseJ4DeleteCoreTest. ( #2032 )
2020-11-02 16:13:01 +00:00
Christine Poerschke
da0004875b
SOLR-14865: 'Index Merge Metrics' documentation correction ( #1870 )
2020-11-02 15:25:14 +00:00
Jan Høydahl
0c3f2f4ac8
SOLR-14972: Change default port of prometheus exporter to 8989 ( #2046 )
2020-11-02 14:06:34 +01:00
Erick Erickson
2c49c4a27d
SOLR-14969: Prevent creating multiple cores with the same name which leads to instabilities (race condition)
2020-10-31 19:34:09 -04:00
Houston Putman
e1698bda95
SOLR-14955: Add env var options to Prometheus Export scripts. ( #2038 )
2020-10-30 11:15:33 -04:00
S N Munendra
f3fdd9b90b
SOLR-14946: fix responseHeader returned in resp with omitHeader=true ( #2029 )
...
* This occurs when BinaryResponseWriter#getParsedResponse is called as
it doesn't check for omitHeader.
2020-10-30 18:50:18 +05:30
Eric Pugh
d0ba0f38a9
Enhance Javadocs for ExternalFileField on how to return values as part of document fields. SOLR-14968
...
* add helpful documentation on returning the field value
* wordsmith
2020-10-29 12:38:41 -04:00
Anver Sotnikov
6d00843d97
SOLR-14940: Fix ReplicationHandler memory leak through SolrCore.closeHooks
...
* Added ability to remove SolrCore.closeHooks
* Keep references to CloseHooks in ReplicationHandler and remove them on ReplicationHandler.shutdown()
closes #1997
2020-10-27 16:03:43 -05:00
Erick Erickson
521ca54802
SOLR-14844: Upgrade Jetty to 9.4.32.v20200930
2020-10-26 19:03:10 -04:00
Houston Putman
4fe4f37131
SOLR-14957: Add Prometheus Exporter to docker PATH. Fix classpath issues. ( #2017 )
2020-10-26 14:15:30 -04:00
Ilan Ginzburg
b649f3f40d
SOLR-14964: remove Autoscaling related withCollection and COLOCATED_WITH ( #2034 )
...
Part of SOLR-14656 (remove Autoscalin)
2020-10-26 19:10:49 +01:00
Erick Erickson
c29b0083d7
SOLR-14954: Heavily edit reindexing.adoc
2020-10-26 13:22:16 -04:00
Tomas Fernandez Lobbe
38f02869b4
Remove sleeps from SolrZkClientTest.testWrappingWatches ( #1936 )
...
Only sleep when tests are nightly
2020-10-26 10:11:11 -07:00
Christine Poerschke
4bf254158a
Rename ConfigSetsAPITest to TestConfigSetsAPIShareSchema ( #1890 )
2020-10-26 09:45:13 +00:00
Christine Poerschke
7a09cc1d49
SOLR-14937: Correct client.queryDefaults().set(...) calls in some JSON facet tests. ( #1987 )
2020-10-26 09:43:56 +00:00
David Smiley
2d3a221dcf
.gitignore clean up ( #1993 )
...
* Reorganized
* Removed outdated entries
* Moved some rules from the repo root to Solr
2020-10-24 11:09:55 -04:00
Shalin Shekhar Mangar
706f284c46
SOLR-14942: Reduce leader election time on node shutdown ( #2004 )
...
The shutdown process waits for all replicas/cores to be closed before removing the election node of the leader. This can take some time due to index flush or merge activities on the leader cores and delays new leaders from being elected. Moreover, jetty stops accepting new requests on receiving SIGTERM which means that even though a leader technically exists, no new indexing requests can be processed by the node. This commit waits for all in-flight indexing requests to complete, removes election nodes (thus triggering leader election) and then closes all replicas.
Co-authored-by: Cao Manh Dat <datcm@apache.org>
2020-10-24 17:39:00 +05:30
Michael Sokolov
840a353bc7
LUCENE-9582: rename VectorValues.ScoreFunction to SearchStrategy ( #2018 )
...
Co-authored-by: Julie Tibshirani
2020-10-23 17:39:34 -04:00
Houston Putman
3bfe9d8ac9
SOLR-14947: Print out image info after gradle docker task. ( #2007 )
2020-10-22 11:30:43 -04:00
Andrzej Bialecki
c680a6e061
Move upgrade notes from CHANGES.txt to the Ref Guide.
2020-10-22 17:28:13 +02:00
Christine Poerschke
43c087f91b
SOLR-14956: correct (socket|conn)Timeout casing in 'Configuring the ShardHandlerFactory' example
...
(Yevhen Tienkaiev via Christine Poerschke)
2020-10-22 16:26:15 +01:00
Houston Putman
62de8f9f46
Add example for ConfigSet create with properties map. ( #2005 )
2020-10-22 11:20:33 -04:00
Noble Paul
052efd62ae
Revert "refactor method names"
...
This reverts commit e826b1f344
.
accidental commite reverted
2020-10-22 15:25:31 +11:00
Noble Paul
e826b1f344
refactor method names
2020-10-22 12:35:47 +11:00
Andrzej Bialecki
67ecd8ff9a
SOLR-14749: Improve support for arbitrary container-level plugins. Add ClusterSingleton
...
support for plugins that require only one active instance in the cluster.
2020-10-21 17:22:44 +02:00
Kevin Risden
6ac5747d76
SOLR-14549: Fix listing of Files in a Directory on Solr Admin UI
...
* Ensure that jstree can update data behind the scenes
* Fix file jstree object to represent open/closed correctly
* Upgrade jstree to 3.3.10 for compatibility with JQuery 3.5.x
Closes #1989
2020-10-19 09:41:36 -04:00
Jan Høydahl
3bc873e6d4
SOLR-14936: Fixed Grafana dashboard filters for collection, shard, replica and core ( #1986 )
2020-10-19 14:49:02 +02:00
Tomoko Uchida
44c1bd42c5
LUCENE-9318: Clean up package name conflicts for backward-codecs ( #2000 )
2020-10-19 21:32:06 +09:00