Commit Graph

34157 Commits

Author SHA1 Message Date
Jan Høydahl 257a185107 SOLR-14561: Fix silly mistake in refguide link 2020-07-02 17:08:31 +02:00
Jan Høydahl cc9df5af05
SOLR-14561: Adding upgrade notes for allowPaths (#1641) 2020-07-02 15:37:53 +02:00
Ishan Chattopadhyaya dd6d1c90c8 SOLR-14066: Deprecate DIH 2020-07-02 16:38:31 +05:30
Ishan Chattopadhyaya 7c593b1940 SOLR-14022: Deprecate CDCR 2020-07-02 16:29:29 +05:30
Atri Sharma 3f9cc227f1
SOLR-14588: Implement Circuit Breakers (#1626)
* SOLR-14588: Implement Circuit Breakers

This commit consists of two parts: add circuit breakers infrastructure and a "real" JVM heap memory based
circuit breaker which monitors incoming search requests and rejects them with SERVICE_TOO_BUSY error
if the defined threshold is breached, thus giving headroom to existing indexing and search requests
to complete.
2020-07-02 12:43:48 +05:30
Atri Sharma ccdfee2cf0 Remove Redundant Import in TestContainerPlugin 2020-07-02 12:24:05 +05:30
noblepaul 2e60e1fbbd SOLR-14404: Unregister was not working for plugins with $path-prefix 2020-07-02 15:44:16 +10:00
Erick Erickson d0864a19c7 SOLR-14523: Enhance gradle logging calls validation: eliminate getMessage() 2020-07-01 22:07:59 -04:00
Erick Erickson 76e1d901cb SOLR-14592: Upgrade Zookeeper to 3.6.1 2020-07-01 19:47:16 -04:00
Mikhail Khludnev 1f6de31db8 SOLR-14539 Ref Guide update {!bool excludeTags} 2020-07-01 15:06:55 +03:00
Tomas Fernandez Lobbe 6eb7bc3b7b
SOLR-14590 : Add support for Lucene's FeatureField in Solr (#1620)
Add a new RankField type that internally creates a FeatureField
Add a new RankQParser that can create queries on the FeatureField
2020-06-30 11:15:36 -07:00
Atri Sharma d1c29ae8a9 SOLR-14609: Fix Unused Imports in TestJsonFacetsWithNestedObjects 2020-06-30 23:09:52 +05:30
Atri Sharma ccbdb77344 Remove Unused Import in BoolQParserPlugin 2020-06-30 22:17:48 +05:30
Mikhail Khludnev f647400e31 SOLR-14539: Introducing {!bool excludeTags=foo,bar} 2020-06-30 18:55:07 +03:00
Noble Paul 20c1fdbf7e
SOLR-14404: use MethodHandles in AnnotatedAPI (#1624) 2020-06-30 22:40:26 +10:00
Jan Høydahl f0764dbb54 SOLR-14561: Fix failing @Nightly test 2020-06-30 14:37:10 +02:00
Ishan Chattopadhyaya adf3361428 SOLR-14599: Package manager support for cluster level plugins
Usage:
        bin/solr package deploy <packagename> -y -cluster
        bin/solr package deploy <packagename>:<new-version> -y -cluster --update
        bin/solr package undeploy <packagename> -y -cluster
2020-06-30 15:50:40 +05:30
Alan Woodward 1ec78ac394 LUCENE-9418: Add CHANGES entry 2020-06-30 09:33:59 +01:00
Alan Woodward 3ff331072a
LUCENE-9418: Fix ordered intervals over interleaved terms (#1618)
Given the input text 'A B A C', an ordered interval 'A B C' will currently return an incorrect
internal [2, 3] in addition to the correct [0, 3] interval. This is due to a bug in the ORDERED
algorithm, where we assume that after the first interval is returned, the sub-intervals are
always in-order. This assumption only holds during minimization, as minimizing an interval
may move the earlier terms beyond the trailing terms.

For example, after the initial [0, 3] interval is found above, the algorithm will attempt to
minimize it by advancing A to [2,2]. Because this is still before C at [3,3], but after B at
[1,1], we then try advancing B, leaving it at [Inf,Inf]. Minimization has failed, so we return
the original interval of [0,3]. However, when we come to retrieve the next interval, our
subintervals look like this: A[2,2], B[Inf,Inf], C[3,3] - the assumption that they are in order
is broken. The algorithm sees that A is before B, assumes that therefore all subsequent
subintervals are in order, and returns the new interval.

This commit fixes things by changing the assumption of ordering to only hold during
minimization. When first finding a candidate interval, the algorithm now checks that
all sub-intervals appear in order.
2020-06-30 09:13:55 +01:00
Joel Bernstein 0cc45f6cdf SOLR-14481: Update CHANGES.txt 2020-06-29 20:43:13 -04:00
Ignacio Vera 0cef29f138
LUCENE-9417: Tessellator might fail when several holes share are connected to the same vertex (#1614) 2020-06-29 17:46:21 +02:00
Jan Høydahl 49a3f0a11d
SOLR-14561 Followup - validate params for more core operations (#1629)
Add template to solr.in scripts
Also testes Windows paths
Added RefGuide documentation to some params
2020-06-29 13:18:24 +02:00
Jan Høydahl 574e399ce5 SOLR-14588: Fix failing DebugComponentTest by reverting test to pre-patch state 2020-06-29 12:53:42 +02:00
noble d883cd69fc SOLR-14481: use classloader to open resource 2020-06-29 14:03:17 +10:00
noble 94684cc014 SOLR-14481: precommit error 2020-06-29 13:46:21 +10:00
Joel Bernstein 7bb9926ef2 SOLR-14481: Add drill Streaming Expression 2020-06-28 20:41:40 -04:00
Simon Willnauer 3377b09fcb LUCENE-8962: Ensure we never flush by ram buffer or doc count in test 2020-06-28 09:38:27 +02:00
noble 584e4d5f3c syncing with branch_8x 2020-06-28 15:22:42 +10:00
Noble Paul 1590ed56bb
SOLR-14404: support for openResource() in PackageResourceLoader & path-prefix for container plugins 2020-06-28 14:49:06 +10:00
Simon Willnauer fb3c5d2353 LUCENE-8962: Fix changes entry. This feature is added to 8.6 2020-06-27 22:32:01 +02:00
Simon Willnauer 7f352a9665
LUCENE-8962: Merge small segments on commit (#1617)
Add IndexWriter merge-on-commit feature to selectively merge small segments on commit,
subject to a configurable timeout, to improve search performance by reducing the number of small
segments for searching.

Co-authored-by: Michael Froh <msfroh@apache.org>
Co-authored-by: Michael Sokolov <sokolov@falutin.net>
Co-authored-by: Mike McCandless <mikemccand@apache.org>
2020-06-27 22:25:45 +02:00
Atri Sharma 698c9cce6c Revert "CHANGES.txt entry for SOLR-14588"
This reverts commit aba7a61594.
2020-06-27 23:50:01 +05:30
Atri Sharma 529faf1241 Revert "SOLR-14588: Implement Circuit Breakers (#1606)"
This reverts commit 7b54902f68.
2020-06-27 23:44:32 +05:30
Atri Sharma 45763b6531 Revert "SOLR-14588: Follow Up Fixes and Documentation (#1615)"
This reverts commit 74ac97e402.
2020-06-27 23:43:58 +05:30
David Smiley 80bc86dd6a
SOLR Revert change in path separator exposed by cat()
Previous change *should* have been purely a refactor but accidentally  changed the path separator this streaming expression exposed to always be '/'.  Apparently this is controversial so the previous behavior is re-instated here (and fixes a failing test on Windows).
2020-06-27 12:13:25 -04:00
Ishan Chattopadhyaya 20f39b9c62 Revert "SOLR-14598: Granting reflection access for using annotations in SOLR-14404"
This reverts commit e6ffa8e9e2.
2020-06-27 17:59:16 +05:30
Ishan Chattopadhyaya e6ffa8e9e2 SOLR-14598: Granting reflection access for using annotations in SOLR-14404 2020-06-27 15:59:49 +05:30
Gus Heck b7f8baab05 SOLR-13286 changes comment to correct section 2020-06-26 18:12:09 -04:00
Gus Heck 455f2e6c73 SOLR-13286 Quiet down metrics logging, add a marker to allow any handler to be silenced via log4j2.xml 2020-06-26 18:00:52 -04:00
Christine Poerschke 68a9e8fc97 SOLR-14376: remove no-longer-needed 'not no filter queries' check in SolrFeatureWeight 2020-06-26 18:12:33 +01:00
Atri Sharma 74ac97e402
SOLR-14588: Follow Up Fixes and Documentation (#1615)
This commit is a follow up to the original commit and adds more documentation and adds timing information for circuit breaker in query response only if circuit breakers are enabled. This commit also adds a test for ensuring that the query response is correct when timing is enabled and circuit breakers are being used.
2020-06-26 22:20:21 +05:30
Erick Erickson ed025741d7 LUCENE-9389: Enhance logging messages in Lucene's Luke module 2020-06-25 22:44:10 -04:00
Erick Erickson cb6b0318a7 SOLR-14588: fix failing test 2020-06-25 19:29:20 -04:00
Marcus 31de01f0ae
SOLR-14578: Update solrcloud-autoscaling-triggers.adoc and test (#1591)
* Update solrcloud-autoscaling-triggers.adoc
* fix the name of the execute_plan action in docs and test.
2020-06-25 16:50:50 -05:00
Erick Erickson 11538e52a2 SOLR-14541: Ensure classes that implement equals implement hashCode or suppress warnings 2020-06-25 16:35:56 -04:00
Cassandra Targett f1650d5f47 Ref Guide: prep for 8.6: upgrade notes, typos 2020-06-25 13:53:23 -05:00
Cassandra Targett aad8c983e5 SOLR-14237: refguide: update dashboard screenshot to show security panel; add'l text edits 2020-06-25 13:53:23 -05:00
Cassandra Targett df81ba959f SOLR-14594: Make titles bold in Admin UI Dashboard screen 2020-06-25 13:53:23 -05:00
Cassandra Targett 1ab9835440 SOLR-14307: add enabled parameter to cache documents; typos in common-query-parameters in cache section 2020-06-25 13:53:23 -05:00
Atri Sharma aba7a61594 CHANGES.txt entry for SOLR-14588 2020-06-25 21:42:38 +05:30