All Classes and Interfaces

Class
Description
 
 
 
Allows better caching by establishing deterministic evenly-distributed replica routing preferences according to either explicitly configured hash routing parameter, or the hash of a query parameter (configurable, usually related to the main query).
Factory for constructing an AffinityReplicaListTransformer that reorders replica routing preferences deterministically, based on request parameters.
Holds collection aliases -- virtual collections that point to one or more other collections.
Experimental SolrRequests for aliases, generated from an OAS.
 
 
 
 
Experimental SolrRequests for aliasProperties, generated from an OAS.
 
 
 
 
 
 
Defines the request parameters used by all analysis request handlers.
A base class for all analysis responses.
A phase in the analysis process.
Holds all information of a token as part of an analysis phase.
 
Types and utilities used by many ApiMapping classes.
 
 
SolrParams wrapper which acts similar to DefaultSolrParams except that it "appends" the values of multi-value params from both sub instances, so that all the values are returned.
V2 API POJO for the /v2/collections 'backup-collection' command.
 
 
Represents the top-level response for a bucket-based JSON facet (i.e.
Represents an individual bucket result of a "term" or "range" facet.
A mutable byte[] backed Utf8CharSequence.
 
 
 
 
 
This CloudSolrClient is a base implementation using a HttpSolrClientBase.
A SolrClient that routes requests to ideal nodes, including splitting update batches to the correct shards.
Constructs CloudSolrClient instances from provided configuration.
 
 
 
This class represents a cluster of Solr Docs .
Experimental SolrRequests for cluster, generated from an OAS.
 
 
Encapsulates responses from ClusteringComponent
Experimental SolrRequests for clusterProperties, generated from an OAS.
 
 
 
 
 
 
 
 
 
Immutable state of the cloud.
 
Provides cluster state from some source
 
This class is experimental and subject to change.
 
 
 
Base class for asynchronous collection admin requests
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
SolrRequest class for the "Backup Deletion" API.
 
 
 
 
 
 
 
 
 
 
 
SolrRequest class for the "Backup List" API.
 
 
 
A Modify Collection request
 
 
 
 
 
 
 
 
 
 
A response object for CollectionAdminRequest.RequestStatus requests
 
 
 
 
 
 
Experimental SolrRequests for collectionBackups, generated from an OAS.
 
 
 
 
 
 
 
(Mostly) Collection API actions that can be sent by nodes to the Overseer over the /overseer/collection-queue-work ZooKeeper queue.
 
Experimental SolrRequests for collectionProperties, generated from an OAS.
 
 
Parent SolrRequest class that requires a target collection or core.
Experimental SolrRequests for collections, generated from an OAS.
 
 
 
 
 
 
 
Experimental SolrRequests for collectionSnapshots, generated from an OAS.
 
 
 
Interface to determine if a set of liveNodes and a collection's state matches some expectations.
Methods for creating collections with exact sizes, and other convenience methods
 
 
Parameters used across many handlers
valid values for: echoParams
Allows random faults to be injected in running code during test runs across all solr packages.
 
Breakpoints should be set via this CommonTestInjection.BreakpointSetter within the test case and close should be invoked as cleanup.
CompositeIdRouter partitions ids based on a CompositeIdRouter.SEPARATOR, hashes each partition and merges the hashes together to map the id to a slice.
Helper class to calculate parts, masks etc.
 
A ConcurrentUpdate SolrClient -- it sends updates concurrently and asynchronously.
Constructs ConcurrentUpdateBaseSolrClient instances from provided configuration.
 
Abstraction for streaming HTTP response handling in ConcurrentUpdateBaseSolrClient.
Class representing an UpdateRequest and an optional collection.
 
 
 
 
A generic interface that represents a config file, mostly XML Please note that this is an immutable, read-only object.
 
This class is experimental and subject to change.
 
Creates a new config set by cloning an existing "base" configset.
 
 
Uploads files to create a new configset, or modify an existing config set.
No special handling at this time.
 
ConfigSets API related parameters and actions.
 
Experimental SolrRequests for configsets, generated from an OAS.
 
 
 
 
 
 
Deprecated.
Three concrete implementations for ContentStream - one for File/URL/String
Construct a ContentStream from a File
Construct a ContentStream from a File
Construct a ContentStream from a String
Construct a ContentStream from a URL This uses a URLConnection to get the content stream
Basic functionality to upload a File or ContentStream to a Solr Cell or some other handler that takes ContentStreams (CSV)
 
 
This class is experimental and subject to change.
 
 
 
 
 
 
 
 
 
 
Experimental SolrRequests for coreBackups, generated from an OAS.
 
Experimental SolrRequests for cores, generated from an OAS.
 
 
 
 
 
 
 
 
 
 
Experimental SolrRequests for coreSnapshots, generated from an OAS.
 
 
 
 
Parameters and constants used when dealing with cursor based requests across large sorted result sets.
This represents a data entry in the payload/stream.
 
 
The types are a superset of json
An abstract DataInput that extends InputStream
 
Base class for overriding some behavior of ClusterStateProvider
Class for making Solr delegation token requests.
 
 
 
Delegation Token responses
 
 
 
 
Represents a query using the JSON Query DSL
A collection of params used in DisMaxRequestHandler, both for Plugin initialization and for Requests.
Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")
JSON properties related to a collection's state.
 
Class to partition int range into n ranges.
 
A request for the org.apache.solr.handler.DocumentAnalysisRequestHandler.
A response that is returned by processing the DocumentAnalysisRequest.
An analysis process breakdown of a document.
An analysis process breakdown for a specific field.
Maps objects to and from Solr documents.
 
XML DOM utilities
This class provides several singletons of entity resolvers used by SAX and StAX in the Java API.
Represents an Enum field value, which includes integer value (indicating the sort order) and string (displayed) value.
Provides convenient access to System Properties for Solr.
 
 
Any class which wants to carry forward the thread local values to the threads run by thread pools must implement this interface and the implementation should be registered here
 
Expand parameters
A utility class to hold the facet response.
 
Facet parameters
An enumeration of the legal values for FacetParams.FACET_DATE_INCLUDE and FacetParams.FACET_RANGE_INCLUDE
lower = all gap based ranges include their lower bound upper = all gap based ranges include their upper bound edge = the first and last gap ranges include their edge bounds (ie: lower for the first one, upper for the last one) even if the corresponding upper/lower option is not specified outer = the BEFORE and AFTER ranges should be inclusive of their bounds, even if the first or last ranges already include those boundaries.
An enumeration of the legal values for FacetParams.FACET_RANGE_METHOD filter = dv =
An enumeration of the legal values for FacetParams.FACET_RANGE_OTHER and FacetParams.FACET_DATE_OTHER ...
Single threaded buffered InputStream Internal Solr use only, subject to change.
 
 
Single threaded buffered OutputStream Internal Solr use only, subject to change.
 
Single threaded BufferedWriter Internal Solr use only, subject to change.
This class can be used to annotate a field or a setter an any class and SolrJ would help you convert to SolrInputDocument and from SolrDocument
A request for the org.apache.solr.handler.FieldAnalysisRequestHandler.
A response that is returned by processing the FieldAnalysisRequest.
The analysis of a field.
 
Holds stats info
 
 
Experimental SolrRequests for fileStore, generated from an OAS.
 
 
 
 
 
 
 
A GenericSolrRequest implementation intended for v2 APIs
Provides methods for matching glob patterns against input strings.
Represents a group.
This class represents the result of a group command.
Group parameters
Overall grouping result.
Fast, well distributed, cross-platform hash functions.
128 bits of state
 
 
 
Represents a "heatmap" facet in a JSON request query.
 
Represents the result of a "heatmap" JSON facet.
 
A CSP that uses Solr HTTP APIs.
A SolrClient implementation that communicates to a Solr server using the built-in Java 11+ Http Client.
 
 
Utility/base functionality for direct HTTP client implementations.
 
This document router is for custom sharding
Represents the NamedList response format created by InputStreamResponseParser.
Simply puts the InputStream into an entry in a NamedList named "stream".
Objects of this class will contain the result of all the intervals defined for a specific field.
Holds counts for facet intervals defined in a field
 
Interface to help do push writing to an array
 
 
Parses JSON, deserializing to a domain type (class) via Jackson data-bind.
Defines a space-efficient serialization/deserialization format for transferring data.
Allows extension of JavaBinCodec to support serialization of arbitrary data types.
 
 
A RequestWriter which writes requests in the javabin format
 
Provides methods for marshalling an UpdateRequest to a NamedList which can be serialized in the javabin format and vice versa.
 
A common parent for a small set of classes that allow easier composition of JSON facet objects.
Parses the input as a JSON Map, and puts the entries onto the response NamedList.
Provides a 1:1 mapping from jackson's annotation.
Represents a query using the JSON Query DSL
A Streaming parser for json to emit one record at a time.
Implement this interface to stream records as and when one is found.
Creates a json schema from an annotated Java Object.
A very basic and lightweight json schema parsing and data validation tool.
 
This "LoadBalanced Http Solr Client" is a load balancing wrapper around an Http Solr Client.
 
A Solr endpoint for LBSolrClient to include in its load-balancing
 
 
 
 
 
Experimental SolrRequests for logging, generated from an OAS.
 
 
 
 
 
This is an incomplete representation of the data returned from Luke
 
 
 
Deprecated.
Use MapWriter instead
SolrParams implementation that can be built from and is backed by a Map.
Use this class to push all entries of a Map into an output.
An interface to push one entry at a time to the output.
Deprecated.
 
This class is similar to MultiMapSolrParams except you can edit the parameters after it is initialized.
 
Params for MoreLikeThisHandler.
 
 
 
 
This is a very fast, non-cryptographic hash suitable for general hash-based lookup.
A simple container class for modeling an ordered list of name/value pairs.
Deprecated.
This class contains helper methods for navigating deeply nested Objects.
Represents the response to a "query" JSON facet.
Experimental SolrRequests for node, generated from an OAS.
 
 
 
 
This comparator makes sure that the given replicas are sorted according to the given list of preferences.
Fetch a node's system properties.
 
 
Simple object cache with a type-safe accessor.
 
 
Just a container class for POJOs used in Package APIs
 
 
 
A utility class to efficiently parse/store/lookup hierarchical paths which are templatized like /collections/{collection}/shards/{shard}/{replica}
This represents the individual replica states in a collection This is an immutable object.
 
 
The state of a replica as stored as a node under /collections/collection-name/state.json/replica-state
 
 
POJO for a plugin metadata used in container plugins
 
 
Breaking out some utility methods into a separate class as part of SOLR-4196.
This is an interface to stream data out using a push API
Parameters used with the QueryElevationComponent
Represents a "query" facet in a JSON query request.
Experimental SolrRequests for querying, generated from an OAS.
 
 
For use with Solr's SearchHandler, generally at "/select".
 
Represents a range facet result
 
 
 
 
Represents a "range" facet in a JSON request query.
 
POJO for Rate Limiter Metadata Configuration
 
 
 
Subclass of SolrException that allows us to capture an arbitrary HTTP status code and error details that may have been returned by the remote server or a proxy along the way.
 
JSON properties related to a replica's state.
The replica's state.
 
Tracks the number of replicas per replica type.
 
 
 
Experimental SolrRequests for replicaProperties, generated from an OAS.
 
 
Experimental SolrRequests for replicas, generated from an OAS.
 
 
 
 
Experimental SolrRequests for replication, generated from an OAS.
 
 
 
Experimental SolrRequests for replicationBackups, generated from an OAS.
 
 
 
 
 
Represents the state of an asynchronous request.
 
A RequestWriter is used to write requests to Solr.
 
 
This is a simple wrapper to SolrParams that will throw a 400 exception if you ask for a parameter that does not exist.
SolrJ Solr response parser.
An InputStream that can be resumed when the connection that is driving the input is interrupted.
Utility class for retrying operations with various strategies.
Interface for commands that return a boolean result indicating success or failure.
Interface for commands that can be retried and may throw exceptions.
Types of Routed Alias supported.
Used for routing docs with particular keys into another collection
Experimental SolrRequests for schema, generated from an OAS.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This class offers access to the operations exposed by the Solr Schema API.
Adds a new copy field rule to the schema of the specified collection.
Adds a new dynamic field rule to the schema of the specified collection.
Adds a new field definition to the schema.
Update request used to add a new field type to the schema.
Schema API request that retrieves the source and destination of each copy field in the schema.
Deletes a copy field rule from the schema of the specified collection.
Deletes a dynamic field rule from your schema.
Removes a field definition from the schema.
Removes a field type from the schema of the specified collection.
Schema API request that lists the dynamic field definition for the specified field contained in the schema.
Schema API request that lists the dynamic field definitions contained in the schema.
Schema API request that lists the field definition for the specified field contained in the schema.
Schema API request class that lists the field definitions contained in the schema.
Schema API request that retrieves the type definitions for the specified field type contained in the schema.
Schema API request that lists the types definitions contained in the schema.
Retrieves the class name of the global similarity defined (if any) in the schema.
The Schema API offers the possibility to perform one or more add requests in a single command.
Replaces a dynamic field rule in the schema of the specified collection.
Replaces a field's definition.
Replaces a field type in schema belonging to the schema of the specified collection.
Schema API request class that can be used to retrieve the name of the schema.
Schema API request that can be used to retrieve the version of the schema for the specified collection.
Schema API request that retrieves the field name that is defined as the uniqueKey for the index of the specified collection.
 
This class is used to wrap the response messages retrieved from Solr Schema API.
 
 
 
 
 
 
 
 
 
 
 
 
Experimental SolrRequests for segments, generated from an OAS.
 
 
Parameters used for distributed search.
Experimental SolrRequests for shards, generated from an OAS.
 
 
 
 
 
 
SimpleOrderedMap is a NamedList where access by key is more important than maintaining order when it comes to representing the held data in other forms, as ResponseWriters normally do.
Parameters used by the SimpleQParser.
 
A Slice contains immutable information about a logical shard (all replicas that share the same shard id).
JSON properties related to a slice's state.
The slice's state.
A generic interface to load plugin classes
Abstraction through which all communication with a Solr server may be routed
A lambda intended for invoking SolrClient operations
A config hook for post-configuration of a SolrClient by its builder.
A Closeable that also allows checking whether it's been closed.
This class mimics the operation of CountDownLatch, but it also periodically checks the state of the provided SolrCloseable and terminates the wait if it's closed by throwing an InterruptedException.
A concrete representation of a document within a Solr index.
 
Represent a list of SolrDocuments returned from a search.
Subclass of SolrException that allows us to wrap arbitrary error objects, and pass them in the errorMessage while preserving the error object structure when returning a response to the user.
 
This list of valid HTTP Status error codes that Solr may return when there is a "Server Side" error.
Constants for HTTP Solr interaction.
Ensures that provided identifiers align with Solr's recommendations/requirements for choosing collection, core, etc.
 
Represent the field-value information needed to construct and index a Lucene Document.
 
A ThreadFactory that names threads with the given prefix.
SolrParams is designed to hold parameters to Solr, often from the request coming into Solr.
Verify that there is a working Solr core at the URL of a SolrClient.
 
This is an augmented SolrParams with get/set/add fields for common fields used in the Standard and Dismax request handlers
 
A single sort clause, encapsulating what to sort and the sort order.
The SolrJ base class for a request into Solr.
 
 
 
 
 
 
Exception to catch all types of communication / parsing issues associated with talking to SOLR
 
 
 
A generic interface for any class that is capable of providing its specification as a json schema
Encapsulates responses from SpellCheckComponent
 
 
 
Parameters used for spellchecking
 
Utility class for detecting stalls in request processing.
Stats Parameters
A BinaryResponseParser that sends callback events rather than build a large response
A callback interface for streaming response
A simple update request which streams content to the server
Streaming Expressions Parameters and Properties.
 
 
Encapsulates responses from the Suggester Component
This class models a Suggestion coming from Solr Suggest Component.
Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.
 
Represents a "terms" facet in a JSON query request.
 
 
 
Encapsulates responses from TermsComponent
 
 
Base interface for all text based writers
Interface to abstract time measurements for easier testing.
Source of time.
Implementation that uses System.currentTimeMillis().
Implementation that uses System.nanoTime().
Implementation that uses TimeSource.NANO_TIME accelerated by a double multiplier.
Models the basic information related to a single "tolerated" error that occurred during updates.
Helper class for dealing with SolrException metadata (String) keys
A collection of standard params used by Update handlers
 
TODO -- mostly a stub until we have a defined output format
 
 
A byte[] backed String
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ZkNodeProps contains generic immutable properties.
 
Experimental SolrRequests for zookeeperRead, generated from an OAS.