Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-17541: Deprecate CloudHttp2SolrClient.Builder#withHttpClient (Solr 9.9) #2920

Closed
wants to merge 2,086 commits into from

Conversation

jdyer1
Copy link
Contributor

@jdyer1 jdyer1 commented Dec 19, 2024

For Solr 9.9, deprecate CloudHttp2SolrClient.Builder#withHttpClient in favor of CloudHttp2SolrClient.Builder#withInternalClientBuilder. PR #2899 removes this in Solr 10.0.

gerlowskija and others added 30 commits July 9, 2024 13:35
Prefix queries have a memory cost that increases in proportion with the
number of indexed terms that start with that prefix.  This can cause
stability problems, especially for short prefixes which can match a
large number of indexed-terms.

This commit introduces a new solrconfig.xml setting,
`minPrefixQueryTermLength`, similar to the existing
`maxBooleanClauses`.  This setting causes an error to be thrown any
time a prefix query is created with a prefix shorter than the configured
minumum.

The limit is set at '-1' in the default configset, essentially disabling it.  But
users may change the value in their own configs or use the
'solr.query.minPrefixLength' property as an override.  The limit may also be
overridden on a per-query basis by providing a 'minPrefixQueryTermLength'
local param.
* Update documentation to use new tabs feature by leveraging @asciidoctor/tabs package.

* Update asciidoc-syntax instructions for tabbed sections

* Update ref guide pages to enable tabs.


---------

Co-authored-by: Christine Poerschke <[email protected]>
Co-authored-by: Eric Pugh <[email protected]>
the previous description of backupName is not correct. Backup name should be the same if using incremental backups
…warnings. (apache#2530)

Review org.apache.solr.client.solrj.io.stream and responding to some intellij warnings.  Typos, methods not used, return values not used, that sort of thing..

---------

Co-authored-by: Christine Poerschke <[email protected]>
…ache#2304)

Core Admin "async" request status tracking is no longer capped at 100; it's 10k.
Statuses are now removed 5 minutes after the read of a completed/failed status.
Helps collection async backup/restore and other operations scale to 100+ shards.

Co-authored-by: David Smiley <[email protected]>
(cherry picked from commit d3b4c2e)
An alternative to the "Prometheus Exporter" in which each Solr node can return the Prometheus format natively from the MetricsHandler using `wt=prometheus` param.  It's much faster and architecturally simpler, albeit less flexible.

Co-authored-by: mbiscocho <[email protected]>
Co-authored-by: Christine Poerschke <[email protected]>
Co-authored-by: David Smiley <[email protected]>

(cherry picked from commit fd7d447)
 - Fix MetricsHandlerTest

 - AwaitsFix TestPrometheusResponseWriter pending SOLR-17368

(cherry picked from commit 6967c7b)
* Added missing license files for new aws libs

Co-authored-by: Jan Høydahl <[email protected]>
…he#2053)

Implement restore() in ConcurrentDelegatingStorage

Co-authored-by: Jan Høydahl <[email protected]>
…2434)

* Update security policies for bouncyCastle

Co-authored-by: Jan Høydahl <[email protected]>
(cherry picked from commit fcf84ee)
…long option commands (branch_9x) (apache#2540)

* SOLR-16824: Adopt Linux Command line tool pattern of -- for long option commands (apache#1768)

This goes through all the various CLI tools and moves them all to using the same long form across all our tools, replacing a mish mash of older formats.   -zkHost is now --zk-host for example.  This pattern applies to both Windows and Linux bin/solr commands.  The old forms are now deprecated, though they continue to work.  The -u short command for --credentials is now used everywhere, this did mean the Assert tools "--same-user" command no longer has a "-u" option.
---------

Co-authored-by: Jan Høydahl <[email protected]>
Co-authored-by: Solr Bot <[email protected]>
Co-authored-by: Jan Høydahl <[email protected]>
Co-authored-by: Jason Gerlowski <[email protected]>
anshumg and others added 14 commits December 9, 2024 23:50
…st methods (apache#2856)

NamedList: deprecated methods: forEachEntry, forEachKey, abortableForEachKey, abortableForEach,
 asMap (no-arg only), get(key, default) -- all come from the SimpleMap interface.  Added getOrDefault.
Deprecated the SimpleMap interface as well as the entirety of the SolrJ package org.apache.solr.cluster.api, which wasn't used except for SimpleMap.

Includes some trivial refactorings to not call those deprecated methods.
Includes internal changes to ConfigNode and friends so as to not use SimpleMap.

(cherry picked from commit c80d415)
…che#2898)

Non-essential methods that will go away in Solr 10.  Might add additional methods later to address some conveniences these offer.

(cherry picked from commit 2d3a8d9)
…AllGood (apache#2901)

The test fails when SSL in enabled, because of testing framework that
set 'urlScheme' cluster property. This change updates the test to ignore
existing cluster properties.

(cherry picked from commit e105547)
…pache#2903) (apache#2904)

The section for adding Custom Expressions was removed in Solr 8.8. This change brings it back.

Co-authored-by: Christine Feldmann <[email protected]>
…mand (apache#2857)

---------

Co-authored-by: Eric Pugh <[email protected]>
(cherry picked from commit aadac83)
…sts (apache#2893)

* Refactoring suggested by IDE.
* Typos, some dead methods and dead variables.

(cherry picked from commit 024f973)
(cherry picked from commit 9d126d4)
* Fix argument parsing for -D options with multiple values on Windows

(cherry picked from commit 44ea44d)

* SOLR-17595: Fix Solr examples for Windows (apache#2909)

* Fix argument parsing for -D options with multiple values on Windows

* Fix invalid usage of wildcards in RunExampleTool / PostTool

(cherry picked from commit a4229e7)

* Fix unsupported method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.