Commit Graph

33922 Commits

Author SHA1 Message Date
Eric Pugh 45573b9f1d
SOLR-14422 progressive render load main admin page (#1654)
* hide error message template until angular app has loaded
2020-07-06 14:56:13 -04:00
David Smiley 31e7ad9ee2
SOLR-14628: hl.fragsizeIsMinimum now defaults to true (#1651)
Fragments size like <= Solr 8.4 and addresses a significant performance regression
2020-07-06 09:31:37 -04:00
Eric Pugh 4e20986f89
update the name of the deletegation method in docs to be correct method name (#1652) 2020-07-06 06:35:36 -04:00
Chris Hostetter fea6c1b9da SOLR-14595: add AwaitsFix test to TestJsonFacetRefinement demonstrating problem, and work around to randomized testing in TestCloudJSONFacetSKGEquiv 2020-07-05 13:28:08 -07:00
noble 3642aa3d4e SOLR-14404: update was not working 2020-07-05 16:28:35 +10:00
Erick Erickson 743234ed83 SOLR-14523: Enhance gradle logging calls validation: eliminate getMessage(). Added Gradle validation check. 2020-07-04 09:38:41 -04:00
Ishan Chattopadhyaya c3d6a8bf7a SOLR-14021: Deprecate HDFS support 2020-07-04 18:29:45 +05:30
Ishan Chattopadhyaya 04d9b52b3f SOLR-14603: Update CHANGES.txt 2020-07-04 14:58:16 +05:30
Ishan Chattopadhyaya df3bc4288c SOLR-14603: Upgrade Restlet to 2.4.3 2020-07-04 14:53:00 +05:30
Ishan Chattopadhyaya 35b5eea147 SOLR-14537: Fix gradle precommit failures 2020-07-04 14:31:23 +05:30
Noble Paul 05324e7b18
SOLR-14610: ReflectMapWriter to use VarHandle instead of old legacy reflection (#1635) 2020-07-03 15:25:58 +10:00
Erick Erickson e9568c3473 SOLR-10742: SolrCores.getNamesForCore is quite inefficient and blocks other core operations 2020-07-02 23:56:17 -04:00
Eric Pugh 2005c43667
fix link and wordsmith a bit (#1642) 2020-07-02 16:36:44 -04:00
Eric Pugh b50dd0c9c7
SOLR-14358 respond to feedback on URLClassifyProcessorFactory (#1632)
* Add an example explaining how to use

* fix up JavaDoc formatting

* Respond to feedback from @janhoy

Co-authored-by: ohtwadi <harinder.hanjan@gmail.com>
2020-07-02 15:16:24 -04:00
Andrzej Bialecki 1b8fb70216 SOLR-14537: Improve performance of ExportWriter. 2020-07-02 17:34:50 +02:00
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