commit | d5d7e557f9dfcae2869c79269ec02d700a861c7b | [log] [tgz] |
---|---|---|
author | Jason Gerlowski <gerlowskija@apache.org> | Tue Jan 30 11:09:11 2024 -0500 |
committer | GitHub <noreply@github.com> | Tue Jan 30 11:09:11 2024 -0500 |
tree | 48118c05e34c03fd337544dda719b195bff436d2 | |
parent | 4d22f0c962332ee287cde292f35a8c1e8b25071f [diff] |
SOLR-17066: Add GenericSolrRequest.setRequiresCollection (#2229) SOLR-17066 added a 'defaultCollection' field to each SolrClient implementation, similar to the one that has long been in use for SolrJ's "cloud" clients. This default collection (or core) is used on a request-by-request basis to build the complete HTTP path, based on the value of SolrRequest.requiresCollection(). This is a particular challenge for GenericSolrRequest though, which can be used to make both collection-agnostic and collection-aware requests. This commit adds a GenericSolrRequest setter, `setRequiresCollection(boolean)`, to allow GSR users to specify whether the client-level default collection should be used on their request or not.
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.