commit | 54aa923f008108c54bfa608d4770ea86b15ae291 | [log] [tgz] |
---|---|---|
author | Rudi Seitz <rudi@kmwllc.com> | Sat Apr 27 08:09:22 2024 -0400 |
committer | GitHub <noreply@github.com> | Sat Apr 27 08:09:22 2024 -0400 |
tree | 5161ebf38d50e4f5ba9afb230c633a84c63a2b69 | |
parent | 66f139071cc92ae4c054e7a2c8d8c229a3576219 [diff] |
SOLR-12813: subqueries should respect basic auth (#2404) Fix issue where a basic auth user principal is lost when issuing a subquery in a way that spans multiple shards: - SubQueryAugmenterFactory now passes the user principal from the main SolrQueryRequest down into each QueryRequest created for the subquery. - EmbeddedSolrServer now preserves the user principal when it transforms a SolrRequest into a SolrQueryRequest. The method that does this transformation is SolrRequestParsers.buildRequestFrom(). This method now accepts a user principal and returns a SolrQueryRequestBase that returns the same principal provided. --------- Co-authored-by: Eric Pugh <epugh@opensourceconnections.com>
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.chatLearn more about developing Solr by reading through the developer docs in ./dev-docs source tree or building Solr from source in ./dev-docs/solr-source-code.adoc
Solr uses Gradle for its build system. Here are some useful hints to build and run Solr locally:
./gradlew dev
cd ./solr/packaging/build/dev bin/solr start -c
bin/solr
script to create and manage Solr collections. For example use the bin/solr post
tool to index some sample data.Please 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.chat