34377 Commits

Author SHA1 Message Date
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
Zach Chen
98594b54fd
LUCENE-9455: ExitableTermsEnum should sample timeout and interruption check before calling next()
Closes #1998
2020-10-24 21:46:54 +02: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
Michael Sokolov
56eac7c435 Fix random TestVectorValues failures by use of forceMerge (and getOnlyLeafReader) 2020-10-24 08:44:51 -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 e826b1f3446cf5ac2e95b205dfec442f6719ec25.

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
Adrien Grand
c587bf89e8 Reduce chances of _very_ slow tests in nightly builds. 2020-10-20 09:23:41 +02:00
Adrien Grand
0bc494e381 LUCENE-9524: Fix test failure. 2020-10-19 19:18:28 +02:00
Houston Putman
0746d30302
SOLR-14877: Add github action for running SolrJ tests. (#1891) 2020-10-19 12:26:12 -04:00
Michael Sokolov
6177be7296 Harden TestVectorValues.testAddIndexesDirectory01 2020-10-19 10:09:59 -04: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
Eric Pugh
43edf379c3
SOLR-14943 Rework Monitoring Solr with Prometheus and Grafana ref guide page to be clearer (#1999)
* fix some errors in the doc to match reality

* bit more introductory text, and fix the embedded zk port

* add sample image and a tip on directly importing from grafana.com

* per discussion on github issue, this is no longer experimental contrib
2020-10-19 07:59:18 -04:00
Christine Poerschke
b47ccbc618 Fix a highlight in query-settings-in-solrconfig.adoc file. 2020-10-19 12:54:37 +01:00
Christine Poerschke
6e2572882f Fix 'an[d]' typo in three solrconfig.xml comments. 2020-10-19 12:54:37 +01:00
Andrzej Bialecki
9ab9d208c7 SOLR-14944: Remove the "spins" metrics. 2020-10-19 11:50:08 +02:00
Robert Muir
4c42cbc5c9
LUCENE-9576: give solr back its getFileStoreAttributes permission
Solr apparently needs this for its IndexFetcher.
2020-10-18 12:30:47 -04:00
Michael Sokolov
e9ff918dbd fix javadoc 2020-10-18 11:49:39 -04:00
Michael Sokolov
dbcbcd0ee8 Add CHANGES entry for LUCENE-9322 2020-10-18 09:50:25 -04:00
Michael Sokolov
c02f07f2d5 LUCENE-9322: Add Lucene90 codec, including VectorFormat
This commit adds support for dense floating point VectorFields.
The new VectorValues class provides access to the indexed vectors.
2020-10-18 07:49:36 -04:00
Robert Muir
85b58c262a
LUCENE-9576: nuke SSD detection, modernize CMS defaults 2020-10-17 10:55:35 -04:00
Adrien Grand
f7be9e83e4 LUCENE-9524: Fix CHANGES entry version. 2020-10-16 19:22:46 +02:00
Adrien Grand
c3a7a583f3 LUCENE-9578: Add CHANGES entry. 2020-10-16 19:22:46 +02:00
Atri Sharma
72a554184b Update CHANGES.txt to align with release versions history/branches/lucene-solr/origin/branch_8_x 2020-10-16 22:45:51 +05:30
Christoph Büscher
48348aefc1
LUCENE-9578: TermRangeQuery empty string lower bound edge case (#1976)
Currently a TermRangeQuery with the empty String ("") as lower bound and
includeLower=false leads internally constructs an Automaton that doesn't match
anything. This is unexpected expecially for open upper bounds where any string
should be considered to be "higher" than the empty string.

This PR changes "Automata#makeBinaryInterval" so that for an empty string lower
bound and an open upper bound, any String should match the query regardless or
the includeLower flag.
2020-10-16 19:01:35 +02:00
zacharymorn
6990109f9b
LUCENE-9524: Fix NPE in SpanWeight#explain when no scoring is require… (#1978) 2020-10-16 19:00:46 +02:00
Sayan Das
744934c826
SOLR-14933: Ability to add T and P type replica from admin UI (#1991)
* added UI and js changes

* track which committer convoyed in the change

Co-authored-by: epugh <epugh@opensourceconnections.com>
2020-10-16 11:01:48 -04:00
David Smiley
6a330e6304 SOLR-14651: improve metrics history docs
When the MHH is disabled, it is *not* possible to retrieve history.
2020-10-16 08:23:06 -04:00
Gus Heck
9877085811
LUCENE-9572 - TypeAsSynonymFilter gains selective flag transfer and an ignore list. (#1965) 2020-10-15 21:51:55 -04:00
Eric Pugh
d7e58ede0e
SOLR-14483 (#1988)
* fixed broken select box

* converted tabs to spaces :sigh:

* Fix the refreshing of the scope

* track fix

Co-authored-by: sayan.das <sayan.das@gdn-commerce.com>
2020-10-15 14:36:31 -04:00
Munendra S N
0bd2f314b7 SOLR-14930: fix precommit 2020-10-15 18:19:14 +05:30
Andrzej Bialecki
737cf9854a SOLR-14924: Some ReplicationHandler metrics are reported using incorrect types. 2020-10-15 14:27:51 +02:00
Noble Paul
321b4fa0de
SOLR-14930: Deprecate rulebased replica placement strategy (remove in 9.0) (#1980) 2020-10-15 19:53:43 +11:00
Andrzej Bialecki
2a3da99e2d SOLR-14914: Add option to disable metrics collection. 2020-10-15 10:14:16 +02:00
Mike Drob
9805b125dc
LUCENE-9579 Update to JUnit 4.13.1 (#1981) 2020-10-14 12:51:50 -05:00
Gus Heck
ab5671d367
LUCENE-9574 Add DropIfFlaggedFilterFactory (#1979) 2020-10-14 13:26:35 -04:00
S N Munendra
b43c389386
Include missing commands in package tool help section (#1975)
* feat(package/tool): include uninstall command usage in help

* feat(package/tool): include add-key usage in help

* feat(package/tool): display options for package tool
2020-10-14 22:11:54 +05:30
Noble Paul
a7a6757aff SOLR-14654: ref guide error 2020-10-15 00:40:54 +11:00
Bar Rotstein
fa3e1ad71f SOLR-14869: ChildDocTransformer should have omitted deleted child documents.
Closes #1970
2020-10-14 08:25:52 -04:00
Noble Paul
2f651b156c SOLR-14654: remove all references of runtime lib 2020-10-14 11:13:38 +11:00
Noble Paul
03fe8e5260 SOLR-14654: remove ref guide refernces 2020-10-14 11:02:42 +11:00