Uses of Class
org.apache.solr.client.solrj.SolrRequest
Packages that use SolrRequest
Package
Description
Primary APIs for communicating with a Solr Server from a Java client.
Implementations of some client API classes, and their friends.
Convenience classes for dealing with various types of Solr requests.
Allows sending of requests using Solr's JSON query/faceting API
Convenience classes for making Schema API requests.
Utilities for Solr client applications.
Common utility classes reused on both clients & server.
-
Uses of SolrRequest in org.apache.solr.client.solrj
Methods in org.apache.solr.client.solrj that return SolrRequestModifier and TypeMethodDescriptionSolrRequest.setBasicAuthCredentials(String user, String password) SolrRequest.setPreferredNodes(List<String> nodes) Methods in org.apache.solr.client.solrj with parameters of type SolrRequestModifier and TypeMethodDescriptionSolrClient.request(SolrRequest<?> request) Execute a request against a Solr server using the default collectionSolrClient.request(SolrRequest<?> request, String collection) Execute a request against a Solr server for a given collection -
Uses of SolrRequest in org.apache.solr.client.solrj.impl
Fields in org.apache.solr.client.solrj.impl declared as SolrRequestMethods in org.apache.solr.client.solrj.impl that return SolrRequestMethods in org.apache.solr.client.solrj.impl with parameters of type SolrRequestModifier and TypeMethodDescriptionprotected StringHttpSolrClientBase.getRequestUrl(SolrRequest<?> solrRequest, String collection) protected ModifiableSolrParamsHttpSolrClientBase.initializeSolrParams(SolrRequest<?> solrRequest, ResponseParser parserToUse) booleanHttpSolrClientBase.isV2ApiRequest(SolrRequest<?> request) protected LBSolrClient.EndpointWrapperLBSolrClient.pickServer(LBSolrClient.EndpointWrapper[] aliveServerList, SolrRequest<?> request) Pick a server from list to execute request.protected HttpJdkSolrClient.PreparedRequestHttpJdkSolrClient.prepareRequest(SolrRequest<?> solrRequest, String collection, String overrideBaseUrl) CloudSolrClient.request(SolrRequest<?> request, String collection) ConcurrentUpdateBaseSolrClient.request(SolrRequest<?> request, String collection) HttpJdkSolrClient.request(SolrRequest<?> solrRequest, String collection) LBSolrClient.request(SolrRequest<?> request, String collection) Tries to query a live server.LBSolrClient.request(SolrRequest<?> request, String collection, Integer numServersToTry) HttpJdkSolrClient.requestAsync(SolrRequest<?> solrRequest, String collection) HttpSolrClientBase.requestAsync(SolrRequest<?> request) Execute an asynchronous request against a Solr server using the default collection.abstract CompletableFuture<NamedList<Object>> HttpSolrClientBase.requestAsync(SolrRequest<?> request, String collection) Execute an asynchronous request against a Solr server for a given collection.protected abstract CompletableFuture<NamedList<Object>> LBAsyncSolrClient.requestAsyncWithUrl(SolrClient client, String baseUrl, SolrRequest<?> request) HttpJdkSolrClient.requestWithBaseUrl(String baseUrl, SolrRequest<?> solrRequest, String collection) HttpSolrClientBase.requestWithBaseUrl(String baseUrl, SolrRequest<?> solrRequest, String collection) Executes a SolrRequest using the provided URL to temporarily override any "base URL" currently used by this clientCloudSolrClient.requestWithRetryOnStaleState(SolrRequest<?> request, int retryCount, List<String> inputCollections, boolean skipStateVersion, Map<String, CompletableFuture<DocCollection>> pendingRefreshes, boolean waitedForRefresh) As this class doesn't watch external collections on the client side, there's a chance that the request will fail due to cached stale state, which means the state must be refreshed from ZK and retried.protected ResponseParserHttpSolrClientBase.responseParser(SolrRequest<?> solrRequest) CloudSolrClient.sendRequest(SolrRequest<?> request, List<String> inputCollections) protected voidHttpSolrClientBase.validateGetRequest(SolrRequest<?> solrRequest) Constructors in org.apache.solr.client.solrj.impl with parameters of type SolrRequestModifierConstructorDescriptionReq(SolrRequest<?> request, Collection<LBSolrClient.Endpoint> endpoints) Req(SolrRequest<?> request, Collection<LBSolrClient.Endpoint> endpoints, Integer numServersToTry) -
Uses of SolrRequest in org.apache.solr.client.solrj.request
Subclasses of SolrRequest in org.apache.solr.client.solrj.requestModifier and TypeClassDescriptionclassstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassCollectionAdminRequest<T extends CollectionAdminResponse>This class is experimental and subject to change.static classstatic classstatic classstatic classBase class for asynchronous collection admin requestsprotected static classprotected static classstatic classstatic classstatic classstatic classprotected static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classSolrRequestclass for the "Backup Deletion" API.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classSolrRequestclass for the "Backup List" API.static classstatic classstatic classstatic classA Modify Collection requeststatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classprotected static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassParentSolrRequestclass that requires a target collection or core.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassConfigSetAdminRequest<Q extends ConfigSetAdminRequest<Q,R>, R extends ConfigSetAdminResponse> This class is experimental and subject to change.protected static classConfigSetAdminRequest.ConfigSetSpecificAdminRequest<T extends ConfigSetAdminRequest<T,ConfigSetAdminResponse>> static classCreates a new config set by cloning an existing "base" configset.static classstatic classstatic classUploads files to create a new configset, or modify an existing config set.static classstatic classstatic classstatic classstatic classclassBasic functionality to upload a File orContentStreamto a Solr Cell or some other handler that takes ContentStreams (CSV)classThis class is experimental and subject to change.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassDelegationTokenRequest<Q extends DelegationTokenRequest<Q,R>, R extends DelegationTokenResponse> Class for making Solr delegation token requests.static classstatic classstatic classclassA request for the org.apache.solr.handler.DocumentAnalysisRequestHandler.classA request for the org.apache.solr.handler.FieldAnalysisRequestHandler.static classstatic classstatic classstatic classstatic classstatic classclassclassAGenericSolrRequestimplementation intended for v2 APIsclassstatic classstatic classstatic classstatic classclassclassstatic classstatic classstatic classstatic classstatic classstatic classclassFor use with Solr'sSearchHandler, generally at "/select".static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassVerify that there is a working Solr core at the URL of aSolrClient.classA simple update request which streams content to the serverclassclassstatic classstatic classMethods in org.apache.solr.client.solrj.request with parameters of type SolrRequestModifier and TypeMethodDescriptionJavaBinRequestWriter.getContentStreams(SolrRequest<?> req) abstract Collection<ContentStream> RequestWriter.getContentStreams(SolrRequest<?> req) Deprecated.XMLRequestWriter.getContentStreams(SolrRequest<?> req) JavaBinRequestWriter.getContentWriter(SolrRequest<?> req) abstract RequestWriter.ContentWriterRequestWriter.getContentWriter(SolrRequest<?> req) To be implemented by subclasses to serialize update requests into the appropriate format.XMLRequestWriter.getContentWriter(SolrRequest<?> req) voidJavaBinRequestWriter.write(SolrRequest<?> request, OutputStream os) abstract voidRequestWriter.write(SolrRequest<?> request, OutputStream os) voidXMLRequestWriter.write(SolrRequest<?> request, OutputStream os) -
Uses of SolrRequest in org.apache.solr.client.solrj.request.json
Subclasses of SolrRequest in org.apache.solr.client.solrj.request.jsonModifier and TypeClassDescriptionclassRepresents a query using the JSON Query DSLclassRepresents a query using the JSON Query DSL -
Uses of SolrRequest in org.apache.solr.client.solrj.request.schema
Subclasses of SolrRequest in org.apache.solr.client.solrj.request.schemaModifier and TypeClassDescriptionclassAbstractSchemaRequest<T extends SolrResponse>classThis class offers access to the operations exposed by the Solr Schema API.static classAdds a new copy field rule to the schema of the specified collection.static classAdds a new dynamic field rule to the schema of the specified collection.static classAdds a new field definition to the schema.static classUpdate request used to add a new field type to the schema.static classSchema API request that retrieves the source and destination of each copy field in the schema.static classDeletes a copy field rule from the schema of the specified collection.static classDeletes a dynamic field rule from your schema.static classRemoves a field definition from the schema.static classRemoves a field type from the schema of the specified collection.static classSchema API request that lists the dynamic field definition for the specified field contained in the schema.static classSchema API request that lists the dynamic field definitions contained in the schema.static classSchema API request that lists the field definition for the specified field contained in the schema.static classSchema API request class that lists the field definitions contained in the schema.static classSchema API request that retrieves the type definitions for the specified field type contained in the schema.static classSchema API request that lists the types definitions contained in the schema.static classRetrieves the class name of the global similarity defined (if any) in the schema.static classThe Schema API offers the possibility to perform one or more add requests in a single command.static classReplaces a dynamic field rule in the schema of the specified collection.static classReplaces a field's definition.static classReplaces a field type in schema belonging to the schema of the specified collection.static classSchema API request class that can be used to retrieve the name of the schema.static classSchema API request that can be used to retrieve the version of the schema for the specified collection.static classSchema API request that retrieves the field name that is defined as the uniqueKey for the index of the specified collection.static class -
Uses of SolrRequest in org.apache.solr.client.solrj.util
Methods in org.apache.solr.client.solrj.util with parameters of type SolrRequestModifier and TypeMethodDescriptionstatic StringClientUtils.buildRequestUrl(SolrRequest<?> solrRequest, String serverRootUrl, String collection) Create the full URL for a SolrRequest (excepting query parameters) as a Stringstatic booleanClientUtils.shouldApplyDefaultCollection(String providedCollection, SolrRequest<?> request) Determines whether any SolrClient "default" collection should apply to the specified request -
Uses of SolrRequest in org.apache.solr.common.util
Methods in org.apache.solr.common.util with parameters of type SolrRequestModifier and TypeMethodDescriptionstatic ContentStreamContentStreamBase.create(RequestWriter requestWriter, SolrRequest req)
RequestWriter.getContentWriter(SolrRequest).