commit | 1043632f56c4f18c26ede20bc0657491383fc71f | [log] [tgz] |
---|---|---|
author | Jason Gerlowski <gerlowskija@apache.org> | Tue Jan 09 08:48:17 2024 -0500 |
committer | GitHub <noreply@github.com> | Tue Jan 09 08:48:17 2024 -0500 |
tree | 6e7877d243d70f07d0f84b46717117624222ed01 | |
parent | 91a19404fc90929b70c8513a058cfb1d560496da [diff] |
SOLR-17066: Ensure default only applied to coll-aware requests (#2177) SolrClients set up with a default data store still have issues making admin requests, since the SolrClient path-building logic doesn't differentiate between admin and non-admin requests. This commit fixes this by adding a boolean SolrRequest method, `requiresDataStore()`, which allows SolrClients to only selectively use the defaultCollection for requests that are supposed to be use a core/collection. The default-collection builder method "withDefaultCollection" has also been renamed to the more general "withDefaultDataStore" to match the naming used in the SolrRequest method.
Solr is the popular, blazing fast open source search platform for all your enterprise, e-commerce, and analytics needs, built on Apache Lucene.
For a complete description of the Solr project, team composition, source code repositories, and other details, please see the Solr web site at https://solr.apache.org/
Downloads for Apache Solr distributions are available at https://solr.apache.org/downloads.html.
The Reference Guide contains an entire Deployment Guide to walk you through installing Solr.
You can run Solr in Docker via the official image. Learn more about Solr in Docker
Solr has official support for running on Kubernetes, in the official Docker image. Please refer to the Solr Operator home for details, tutorials and instructions.
Solr includes a few examples to help you get started. To run a specific example, enter:
bin/solr start -e <EXAMPLE> where <EXAMPLE> is one of: cloud: SolrCloud example techproducts: Comprehensive example illustrating many of Solr's core capabilities schemaless: Schema-less example (schema is inferred from data during indexing) films: Example of starting with _default configset and adding explicit fields dynamically
For instance, if you want to run the techproducts example, enter:
bin/solr start -e techproducts
For a more in-depth introduction, please check out the tutorials in the Solr Reference Guide.
#solr
on libera.chatPlease review CONTRIBUTING.md for information on contributing to the project.
To get involved in the developer community:
#solr-dev
in the the-asf
organization. Sign up at https://the-asf.slack.com/messages/CE70MDPMF#solr-dev
on libera.chatLearn more about developing Solr by reading through the developer docs in ./dev-docs source tree.