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.util |
Utilities for Solr client applications.
|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
org.apache.solr.common.params |
Parameter constants and enumerations.
|
Modifier and Type | Class and Description |
---|---|
class |
SolrQuery
This is an augmented SolrParams with get/set/add fields for common fields used
in the Standard and Dismax request handlers
|
Modifier and Type | Method and Description |
---|---|
abstract SolrParams |
SolrRequest.getParams() |
Modifier and Type | Method and Description |
---|---|
QueryResponse |
SolrServer.query(SolrParams params)
Performs a query to the Solr server
|
QueryResponse |
SolrServer.query(SolrParams params,
SolrRequest.METHOD method)
Performs a query to the Solr server
|
QueryResponse |
SolrServer.queryAndStreamResponse(SolrParams params,
StreamingResponseCallback callback)
Query solr, and stream the results.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HttpClientConfigurer.configure(org.apache.http.impl.client.DefaultHttpClient httpClient,
SolrParams config) |
static void |
HttpClientUtil.configureClient(org.apache.http.impl.client.DefaultHttpClient httpClient,
SolrParams config)
Configures
DefaultHttpClient , only sets parameters if they are
present in config. |
static org.apache.http.client.HttpClient |
HttpClientUtil.createClient(SolrParams params)
Creates new http client by using the provided configuration.
|
Modifier and Type | Method and Description |
---|---|
SolrParams |
QueryRequest.getParams() |
SolrParams |
DirectXmlRequest.getParams() |
SolrParams |
CoreAdminRequest.getParams() |
SolrParams |
CoreAdminRequest.Create.getParams() |
SolrParams |
CoreAdminRequest.WaitForState.getParams() |
SolrParams |
CoreAdminRequest.RequestRecovery.getParams() |
SolrParams |
CoreAdminRequest.RequestSyncShard.getParams() |
SolrParams |
CoreAdminRequest.Persist.getParams() |
SolrParams |
CoreAdminRequest.MergeIndexes.getParams() |
SolrParams |
CoreAdminRequest.Unload.getParams() |
SolrParams |
LukeRequest.getParams() |
SolrParams |
CollectionAdminRequest.getParams() |
SolrParams |
CollectionAdminRequest.CollectionShardAdminRequest.getParams() |
SolrParams |
CollectionAdminRequest.Create.getParams() |
SolrParams |
CollectionAdminRequest.CreateShard.getParams() |
SolrParams |
CollectionAdminRequest.SplitShard.getParams() |
SolrParams |
CollectionAdminRequest.CreateAlias.getParams() |
SolrParams |
FieldAnalysisRequest.getParams() |
Modifier and Type | Method and Description |
---|---|
void |
DirectXmlRequest.setParams(SolrParams params) |
Constructor and Description |
---|
QueryRequest(SolrParams q) |
QueryRequest(SolrParams q,
SolrRequest.METHOD method) |
Modifier and Type | Method and Description |
---|---|
static String |
ClientUtils.toQueryString(SolrParams params,
boolean xml) |
Modifier and Type | Method and Description |
---|---|
protected String |
HashBasedRouter.getId(SolrInputDocument sdoc,
SolrParams params) |
Collection<Slice> |
DocRouter.getSearchSlices(String shardKeys,
SolrParams params,
DocCollection collection)
This method is consulted to determine what slices should be queried for a request when
an explicit shards parameter was not used.
|
Collection<Slice> |
CompositeIdRouter.getSearchSlicesSingle(String shardKey,
SolrParams params,
DocCollection collection) |
Collection<Slice> |
HashBasedRouter.getSearchSlicesSingle(String shardKey,
SolrParams params,
DocCollection collection) |
Collection<Slice> |
ImplicitDocRouter.getSearchSlicesSingle(String shardKey,
SolrParams params,
DocCollection collection) |
abstract Collection<Slice> |
DocRouter.getSearchSlicesSingle(String shardKey,
SolrParams params,
DocCollection collection)
This method is consulted to determine what slices should be queried for a request when
an explicit shards parameter was not used.
|
Slice |
HashBasedRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection) |
Slice |
ImplicitDocRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection) |
abstract Slice |
DocRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection)
Returns the Slice that the document should reside on, or null if there is not enough information
|
boolean |
HashBasedRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
boolean |
ImplicitDocRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
abstract boolean |
DocRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
int |
CompositeIdRouter.sliceHash(String id,
SolrInputDocument doc,
SolrParams params,
DocCollection collection) |
int |
HashBasedRouter.sliceHash(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection) |
Modifier and Type | Class and Description |
---|---|
class |
AppendedSolrParams
SolrParams wrapper which acts similar to DefaultSolrParams except that
it "appends" the values of multi-value params from both sub instances, so
that all of the values are returned.
|
class |
DefaultSolrParams |
class |
MapSolrParams |
class |
ModifiableSolrParams
This class is similar to MultiMapSolrParams except you can edit the
parameters after it is initialized.
|
class |
MultiMapSolrParams |
class |
RequiredSolrParams
This is a simple wrapper to SolrParams that will throw a 400
exception if you ask for a parameter that does not exist.
|
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
DefaultSolrParams.defaults |
protected SolrParams |
RequiredSolrParams.params |
protected SolrParams |
DefaultSolrParams.params |
Modifier and Type | Method and Description |
---|---|
static SolrParams |
SolrParams.toSolrParams(NamedList params)
Create SolrParams from NamedList.
|
static SolrParams |
SolrParams.wrapAppended(SolrParams params,
SolrParams defaults) |
static SolrParams |
SolrParams.wrapDefaults(SolrParams params,
SolrParams defaults) |
Modifier and Type | Method and Description |
---|---|
void |
ModifiableSolrParams.add(SolrParams params) |
static SolrParams |
SolrParams.wrapAppended(SolrParams params,
SolrParams defaults) |
static SolrParams |
SolrParams.wrapDefaults(SolrParams params,
SolrParams defaults) |
Constructor and Description |
---|
AppendedSolrParams(SolrParams main,
SolrParams extra)
Deprecated.
(3.6) Use
wrapAppended(SolrParams, SolrParams) instead. |
DefaultSolrParams(SolrParams params,
SolrParams defaults)
Deprecated.
(3.6) Use
wrapDefaults(SolrParams, SolrParams) instead. |
ModifiableSolrParams(SolrParams params)
Constructs a new ModifiableSolrParams, copying values from an existing SolrParams
|
RequiredSolrParams(SolrParams params) |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.