| Package | Description | 
|---|---|
| org.apache.solr.client.solrj | Primary APIs for communicating with a Solr Server from a Java client. | 
| org.apache.solr.client.solrj.cloud | Common classes for SolrCloud. | 
| org.apache.solr.client.solrj.cloud.autoscaling | Common classes for autoscaling parsing filtering nodes and sorting | 
| 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 API | 
| org.apache.solr.client.solrj.request.schema | Convenience classes for making Schema API requests. | 
| org.apache.solr.common.util | Common utility classes reused on both clients & server. | 
| Modifier and Type | Method and Description | 
|---|---|
| SolrRequest | V2RequestSupport. getV2Request()If usev2 flag is set to true, return V2Request, if not,
 return V1 request object | 
| SolrRequest | SolrRequest. setBasicAuthCredentials(String user,
                       String password) | 
| SolrRequest | SolrRequest. setUseBinaryV2(boolean flag)If set to true use javabin instead of json (default) | 
| SolrRequest | SolrRequest. setUseV2(boolean flag)If set to true, every request that implements  V2RequestSupportwill be converted
 to a V2 API call | 
| Modifier and Type | Method and Description | 
|---|---|
| NamedList<Object> | SolrClient. request(SolrRequest request)Execute a request against a Solr server | 
| abstract NamedList<Object> | SolrClient. request(SolrRequest request,
       String collection)Execute a request against a Solr server for a given collection | 
| Modifier and Type | Method and Description | 
|---|---|
| SolrResponse | SolrCloudManager. request(SolrRequest req) | 
| Modifier and Type | Method and Description | 
|---|---|
| SolrRequest | Suggester.SuggestionInfo. getOperation() | 
| SolrRequest | NoneSuggester. getSuggestion() | 
| SolrRequest | UnsupportedSuggester. getSuggestion() | 
| SolrRequest | Suggester. getSuggestion() | 
| Modifier and Type | Method and Description | 
|---|---|
| SolrResponse | DelegatingCloudManager. request(SolrRequest req) | 
| Constructor and Description | 
|---|
| SuggestionInfo(Violation violation,
              SolrRequest op,
              Suggestion.Type type) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected SolrRequest | LBSolrClient.Req. request | 
| Modifier and Type | Method and Description | 
|---|---|
| SolrRequest | LBSolrClient.Req. getRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.apache.http.client.methods.HttpRequestBase | HttpSolrClient. createMethod(SolrRequest request,
            String collection) | 
| protected org.apache.http.client.methods.HttpRequestBase | DelegationTokenHttpSolrClient. createMethod(SolrRequest request,
            String collection) | 
| Collection<ContentStream> | BinaryRequestWriter. getContentStreams(SolrRequest req) | 
| RequestWriter.ContentWriter | BinaryRequestWriter. getContentWriter(SolrRequest req) | 
| HttpSolrClient.HttpUriRequestResponse | HttpSolrClient. httpUriRequest(SolrRequest request) | 
| HttpSolrClient.HttpUriRequestResponse | HttpSolrClient. httpUriRequest(SolrRequest request,
              ResponseParser processor) | 
| boolean | Http2SolrClient. isV2ApiRequest(SolrRequest request) | 
| protected LBSolrClient.ServerWrapper | LBSolrClient. pickServer(LBSolrClient.ServerWrapper[] aliveServerList,
          SolrRequest request)Pick a server from list to execute request. | 
| SolrResponse | SolrClientCloudManager. request(SolrRequest req) | 
| NamedList<Object> | HttpSolrClient. request(SolrRequest request,
       ResponseParser processor) | 
| NamedList<Object> | HttpSolrClient. request(SolrRequest request,
       ResponseParser processor,
       String collection) | 
| NamedList<Object> | ConcurrentUpdateSolrClient. request(SolrRequest request,
       String collection) | 
| NamedList<Object> | HttpSolrClient. request(SolrRequest request,
       String collection)Process the request. | 
| NamedList<Object> | Http2SolrClient. request(SolrRequest request,
       String collection) | 
| NamedList<Object> | LBSolrClient. request(SolrRequest request,
       String collection)Tries to query a live server. | 
| NamedList<Object> | BaseCloudSolrClient. request(SolrRequest request,
       String collection) | 
| NamedList<Object> | ConcurrentUpdateHttp2SolrClient. request(SolrRequest request,
       String collection) | 
| NamedList<Object> | Http2SolrClient. request(SolrRequest solrRequest,
       String collection,
       Http2SolrClient.OnComplete onComplete) | 
| NamedList<Object> | LBSolrClient. request(SolrRequest request,
       String collection,
       Integer numServersToTry) | 
| protected NamedList<Object> | BaseCloudSolrClient. 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. | 
| void | Http2SolrClient. send(Http2SolrClient.OutStream outStream,
    SolrRequest req,
    String collection) | 
| protected NamedList<Object> | BaseCloudSolrClient. sendRequest(SolrRequest request,
           List<String> inputCollections) | 
| void | BinaryRequestWriter. write(SolrRequest request,
     OutputStream os) | 
| Constructor and Description | 
|---|
| Req(SolrRequest request,
   List<String> servers) | 
| Req(SolrRequest request,
   List<String> servers)Deprecated.  | 
| Req(SolrRequest request,
   List<String> servers,
   Integer numServersToTry) | 
| Req(SolrRequest request,
   List<String> servers,
   Integer numServersToTry)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| SolrRequest | CollectionAdminRequest. getV2Request() | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<ContentStream> | RequestWriter. getContentStreams(SolrRequest req)Deprecated. 
 | 
| RequestWriter.ContentWriter | RequestWriter. getContentWriter(SolrRequest req)Use this to do a push writing instead of pull. | 
| String | RequestWriter. getPath(SolrRequest req) | 
| void | RequestWriter. write(SolrRequest request,
     OutputStream os) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DirectJsonQueryRequestRepresents a query using the JSON Query DSL
 This class doesn't construct the request body itself. | 
| class  | JsonQueryRequestRepresents a query using the JSON Query DSL
 This class constructs the request using setters for individual properties. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractSchemaRequest<T extends SolrResponse> | 
| class  | SchemaRequestThis class offers access to the operations exposed by the Solr Schema API. | 
| static class  | SchemaRequest.AddCopyFieldAdds a new copy field rule to the schema of the specified collection. | 
| static class  | SchemaRequest.AddDynamicFieldAdds a new dynamic field rule to the schema of the specified collection. | 
| static class  | SchemaRequest.AddFieldAdds a new field definition to the schema. | 
| static class  | SchemaRequest.AddFieldTypeUpdate request used to add a new field type to the schema. | 
| static class  | SchemaRequest.CopyFieldsSchema API request that retrieves the source and destination of
 each copy field in the schema. | 
| static class  | SchemaRequest.DeleteCopyFieldDeletes a copy field rule from the schema of the specified collection. | 
| static class  | SchemaRequest.DeleteDynamicFieldDeletes a dynamic field rule from your schema. | 
| static class  | SchemaRequest.DeleteFieldRemoves a field definition from the schema. | 
| static class  | SchemaRequest.DeleteFieldTypeRemoves a field type from the schema of the specified collection. | 
| static class  | SchemaRequest.DynamicFieldSchema API request that lists the dynamic field definition for the specified field
 contained in the schema. | 
| static class  | SchemaRequest.DynamicFieldsSchema API request that lists the dynamic field definitions contained in the schema. | 
| static class  | SchemaRequest.FieldSchema API request that lists the field definition for the specified field
 contained in the schema. | 
| static class  | SchemaRequest.FieldsSchema API request class that lists the field definitions contained in the schema. | 
| static class  | SchemaRequest.FieldTypeSchema API request that retrieves the type definitions for the specified field
 type contained in the schema. | 
| static class  | SchemaRequest.FieldTypesSchema API request that lists the types definitions contained
 in the schema. | 
| static class  | SchemaRequest.GlobalSimilarityRetrieves the class name of the global similarity defined (if any) in the schema. | 
| static class  | SchemaRequest.MultiUpdateThe Schema API offers the possibility to perform one or more add requests in a single command. | 
| static class  | SchemaRequest.ReplaceDynamicFieldReplaces a dynamic field rule in the schema of the specified collection. | 
| static class  | SchemaRequest.ReplaceFieldReplaces a field's definition. | 
| static class  | SchemaRequest.ReplaceFieldTypeReplaces a field type in schema belonging to the schema of the specified collection. | 
| static class  | SchemaRequest.SchemaNameSchema API request class that can be used to retrieve the name of the schema. | 
| static class  | SchemaRequest.SchemaVersionSchema API request that can be used to retrieve the version
 of the schema for the specified collection. | 
| static class  | SchemaRequest.UniqueKeySchema API request that retrieves the field name that is defined as
 the uniqueKey for the index of the specified collection. | 
| static class  | SchemaRequest.Update | 
| Modifier and Type | Method and Description | 
|---|---|
| static ContentStream | ContentStreamBase. create(RequestWriter requestWriter,
      SolrRequest req) | 
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.