Uses of Class
org.apache.solr.client.solrj.SolrRequest
-
Packages that use SolrRequest Package Description org.apache.solr.client.solrj Primary APIs for communicating with a Solr Server from a Java client.org.apache.solr.client.solrj.impl Concrete implementations of client API classes.org.apache.solr.client.solrj.request Convenience classes for dealing with various types of Solr requests.org.apache.solr.client.solrj.request.json Allows sending of requests using Solr's JSON query/faceting APIorg.apache.solr.client.solrj.request.schema Convenience classes for making Schema API requests.org.apache.solr.client.solrj.util Utilities for Solr client applications.org.apache.solr.common.util 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 SolrRequest Modifier and Type Method Description SolrRequestV2RequestSupport. getV2Request()Deprecated.If usev2 flag is set to true, return V2Request, if not, return V1 request objectSolrRequest<T>SolrRequest. setBasicAuthCredentials(String user, String password)SolrRequest<T>SolrRequest. setPreferredNodes(List<String> nodes)SolrRequest<T>SolrRequest. setUseBinaryV2(boolean flag)Deprecated.use v2-nativeSolrRequestimplementations directly insteadSolrRequest<T>SolrRequest. setUseV2(boolean flag)Deprecated.use v2-nativeSolrRequestimplementations directly insteadMethods in org.apache.solr.client.solrj with parameters of type SolrRequest Modifier and Type Method Description NamedList<Object>SolrClient. request(SolrRequest<?> request)Execute a request against a Solr server using the default collectionabstract NamedList<Object>SolrClient. 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 SolrRequest Modifier and Type Field Description protected SolrRequest<?>LBSolrClient.Req. requestMethods in org.apache.solr.client.solrj.impl that return SolrRequest Modifier and Type Method Description SolrRequest<?>LBSolrClient.Req. getRequest()Methods in org.apache.solr.client.solrj.impl with parameters of type SolrRequest Modifier and Type Method Description CancellableHttp2SolrClient. asyncRequest(SolrRequest<?> solrReq, String collection, AsyncListener<NamedList<Object>> asyncListener)CancellableHttpJdkSolrClient. asyncRequest(SolrRequest<?> solrRequest, String collection, AsyncListener<NamedList<Object>> asyncListener)abstract CancellableHttpSolrClientBase. asyncRequest(SolrRequest<?> solrRequest, String collection, AsyncListener<NamedList<Object>> asyncListener)Deprecated.protected org.apache.http.client.methods.HttpRequestBaseDelegationTokenHttpSolrClient. createMethod(SolrRequest<?> request, String collection)protected org.apache.http.client.methods.HttpRequestBaseHttpSolrClient. createMethod(SolrRequest<?> request, String collection)Deprecated.Collection<ContentStream>BinaryRequestWriter. getContentStreams(SolrRequest<?> req)RequestWriter.ContentWriterBinaryRequestWriter. getContentWriter(SolrRequest<?> req)protected StringHttpSolrClientBase. getRequestPath(SolrRequest<?> solrRequest, String collection)HttpSolrClient.HttpUriRequestResponseHttpSolrClient. httpUriRequest(SolrRequest<?> request)Deprecated.HttpSolrClient.HttpUriRequestResponseHttpSolrClient. httpUriRequest(SolrRequest<?> request, ResponseParser processor)Deprecated.protected ModifiableSolrParamsHttpSolrClientBase. initalizeSolrParams(SolrRequest<?> solrRequest, ResponseParser parserToUse)booleanHttpSolrClientBase. isV2ApiRequest(SolrRequest<?> request)protected LBSolrClient.ServerWrapperLBSolrClient. pickServer(LBSolrClient.ServerWrapper[] aliveServerList, SolrRequest<?> request)Pick a server from list to execute request.NamedList<Object>CloudSolrClient. request(SolrRequest<?> request, String collection)NamedList<Object>ConcurrentUpdateHttp2SolrClient. request(SolrRequest<?> request, String collection)NamedList<Object>ConcurrentUpdateSolrClient. request(SolrRequest<?> request, String collection)Deprecated.NamedList<Object>Http2SolrClient. request(SolrRequest<?> solrRequest, String collection)NamedList<Object>HttpJdkSolrClient. request(SolrRequest<?> solrRequest, String collection)NamedList<Object>HttpSolrClient. request(SolrRequest<?> request, String collection)Deprecated.Process the request.NamedList<Object>HttpSolrClient. request(SolrRequest<?> request, ResponseParser processor)Deprecated.NamedList<Object>HttpSolrClient. request(SolrRequest<?> request, ResponseParser processor, String collection)Deprecated.NamedList<Object>LBSolrClient. request(SolrRequest<?> request, String collection)Tries to query a live server.NamedList<Object>LBSolrClient. request(SolrRequest<?> request, String collection, Integer numServersToTry)CompletableFuture<NamedList<Object>>Http2SolrClient. requestAsync(SolrRequest<?> solrRequest, String collection)CompletableFuture<NamedList<Object>>HttpJdkSolrClient. requestAsync(SolrRequest<?> solrRequest, String collection)CompletableFuture<NamedList<Object>>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 NamedList<Object>CloudSolrClient. requestWithRetryOnStaleState(SolrRequest<?> request, int retryCount, List<String> inputCollections)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)voidHttp2SolrClient. send(Http2SolrClient.OutStream outStream, SolrRequest<?> req, String collection)protected NamedList<Object>CloudSolrClient. sendRequest(SolrRequest<?> request, List<String> inputCollections)protected voidHttpSolrClientBase. validateGetRequest(SolrRequest<?> solrRequest)voidBinaryRequestWriter. write(SolrRequest<?> request, OutputStream os)Constructors in org.apache.solr.client.solrj.impl with parameters of type SolrRequest Constructor Description Req(SolrRequest<?> request, Collection<LBSolrClient.Endpoint> servers)Req(SolrRequest<?> request, Collection<LBSolrClient.Endpoint> servers, Integer numServersToTry)Req(SolrRequest<?> request, List<String> servers)Deprecated.useReq(SolrRequest, Collection)insteadReq(SolrRequest<?> request, List<String> servers, Integer numServersToTry)Deprecated.useReq(SolrRequest, Collection, Integer)instead -
Uses of SolrRequest in org.apache.solr.client.solrj.request
Methods in org.apache.solr.client.solrj.request with parameters of type SolrRequest Modifier and Type Method Description Collection<ContentStream>RequestWriter. getContentStreams(SolrRequest<?> req)Deprecated.RequestWriter.ContentWriterRequestWriter. getContentWriter(SolrRequest<?> req)Use this to do a push writing instead of pull.StringRequestWriter. getPath(SolrRequest<?> req)voidRequestWriter. 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.json Modifier and Type Class Description classDirectJsonQueryRequestRepresents a query using the JSON Query DSLclassJsonQueryRequestRepresents 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.schema Modifier and Type Class Description classAbstractSchemaRequest<T extends SolrResponse>classSchemaRequestThis class offers access to the operations exposed by the Solr Schema API.static classSchemaRequest.AddCopyFieldAdds a new copy field rule to the schema of the specified collection.static classSchemaRequest.AddDynamicFieldAdds a new dynamic field rule to the schema of the specified collection.static classSchemaRequest.AddFieldAdds a new field definition to the schema.static classSchemaRequest.AddFieldTypeUpdate request used to add a new field type to the schema.static classSchemaRequest.CopyFieldsSchema API request that retrieves the source and destination of each copy field in the schema.static classSchemaRequest.DeleteCopyFieldDeletes a copy field rule from the schema of the specified collection.static classSchemaRequest.DeleteDynamicFieldDeletes a dynamic field rule from your schema.static classSchemaRequest.DeleteFieldRemoves a field definition from the schema.static classSchemaRequest.DeleteFieldTypeRemoves a field type from the schema of the specified collection.static classSchemaRequest.DynamicFieldSchema API request that lists the dynamic field definition for the specified field contained in the schema.static classSchemaRequest.DynamicFieldsSchema API request that lists the dynamic field definitions contained in the schema.static classSchemaRequest.FieldSchema API request that lists the field definition for the specified field contained in the schema.static classSchemaRequest.FieldsSchema API request class that lists the field definitions contained in the schema.static classSchemaRequest.FieldTypeSchema API request that retrieves the type definitions for the specified field type contained in the schema.static classSchemaRequest.FieldTypesSchema API request that lists the types definitions contained in the schema.static classSchemaRequest.GlobalSimilarityRetrieves the class name of the global similarity defined (if any) in the schema.static classSchemaRequest.MultiUpdateThe Schema API offers the possibility to perform one or more add requests in a single command.static classSchemaRequest.ReplaceDynamicFieldReplaces a dynamic field rule in the schema of the specified collection.static classSchemaRequest.ReplaceFieldReplaces a field's definition.static classSchemaRequest.ReplaceFieldTypeReplaces a field type in schema belonging to the schema of the specified collection.static classSchemaRequest.SchemaNameSchema API request class that can be used to retrieve the name of the schema.static classSchemaRequest.SchemaVersionSchema API request that can be used to retrieve the version of the schema for the specified collection.static classSchemaRequest.UniqueKeySchema API request that retrieves the field name that is defined as the uniqueKey for the index of the specified collection.static classSchemaRequest.Update -
Uses of SolrRequest in org.apache.solr.client.solrj.util
Methods in org.apache.solr.client.solrj.util with parameters of type SolrRequest Modifier and Type Method Description static booleanClientUtils. shouldApplyDefaultCollection(String providedCollection, SolrRequest<? extends SolrResponse> request)Determines whether any SolrClient "default" collection should applied to the specified request -
Uses of SolrRequest in org.apache.solr.common.util
Methods in org.apache.solr.common.util with parameters of type SolrRequest Modifier and Type Method Description static ContentStreamContentStreamBase. create(RequestWriter requestWriter, SolrRequest req)
-