Package | Description |
---|---|
org.apache.solr |
Common base classes for implementing tests.
|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.embedded |
SolrJ client implementations for embedded solr access.
|
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.response |
Convenience classes for dealing with various types of Solr responses.
|
org.apache.solr.cloud |
Base classes and utilities for creating and testing Solr Cloud clusters.
|
org.apache.solr.update |
APIs and classes for managing index updates
|
Modifier and Type | Field and Description |
---|---|
protected SolrServer |
BaseDistributedSearchTestCase.controlClient |
static SolrServer |
SolrJettyTestBase.server |
Modifier and Type | Field and Description |
---|---|
protected List<SolrServer> |
BaseDistributedSearchTestCase.clients |
Modifier and Type | Method and Description |
---|---|
SolrServer |
SolrJettyTestBase.createNewSolrServer()
Create a new solr server.
|
protected SolrServer |
BaseDistributedSearchTestCase.createNewSolrServer(int port) |
SolrServer |
SolrJettyTestBase.getSolrServer() |
Modifier and Type | Method and Description |
---|---|
protected UpdateResponse |
BaseDistributedSearchTestCase.add(SolrServer server,
SolrParams params,
SolrInputDocument... sdocs) |
protected UpdateResponse |
BaseDistributedSearchTestCase.del(SolrServer server,
SolrParams params,
Object... ids) |
protected UpdateResponse |
BaseDistributedSearchTestCase.delQ(SolrServer server,
SolrParams params,
String... queries) |
protected UpdateResponse |
BaseDistributedSearchTestCase.indexDoc(SolrServer server,
SolrParams params,
SolrInputDocument... sdocs)
Indexes the document in both the control client and the specified client asserting
that the respones are equivilent
|
QueryResponse |
BaseDistributedSearchTestCase.queryAndCompare(SolrParams params,
SolrServer... servers) |
Modifier and Type | Method and Description |
---|---|
QueryResponse |
BaseDistributedSearchTestCase.queryAndCompare(SolrParams params,
Iterable<SolrServer> servers) |
Modifier and Type | Method and Description |
---|---|
abstract SolrResponse |
SolrRequest.process(SolrServer server) |
Modifier and Type | Class and Description |
---|---|
class |
EmbeddedSolrServer
SolrServer that connects directly to SolrCore.
|
Modifier and Type | Class and Description |
---|---|
class |
CloudSolrServer
SolrJ client class to communicate with SolrCloud.
|
class |
ConcurrentUpdateSolrServer
ConcurrentUpdateSolrServer buffers all added documents and writes
them into open HTTP connections.
|
class |
HttpSolrServer |
class |
LBHttpSolrServer
LBHttpSolrServer or "LoadBalanced HttpSolrServer" is a load balancing wrapper around
HttpSolrServer . |
Modifier and Type | Method and Description |
---|---|
static CollectionAdminResponse |
CollectionAdminRequest.createAlias(String name,
String collections,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
Boolean autoAddReplicas,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
String conf,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
String conf,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
String shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
String shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
String shards,
String conf,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
String shards,
String conf,
SolrServer server,
String asyncId) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrServer server,
String configFile,
String schemaFile) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrServer server,
String configFile,
String schemaFile,
String dataDir,
String tlogDir) |
static CollectionAdminResponse |
CollectionAdminRequest.createShard(String name,
String shard,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createShard(String name,
String shard,
String nodeSet,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.deleteAlias(String name,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.deleteCollection(String name,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.deleteCollection(String name,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.deleteShard(String name,
String shard,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.getStatus(String name,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.mergeIndexes(String name,
String[] indexDirs,
String[] srcCores,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.persist(String fileName,
SolrServer server)
Deprecated.
|
CollectionAdminResponse |
CollectionAdminRequest.process(SolrServer server) |
FieldAnalysisResponse |
FieldAnalysisRequest.process(SolrServer server) |
QueryResponse |
QueryRequest.process(SolrServer server) |
UpdateResponse |
AbstractUpdateRequest.process(SolrServer server) |
CoreAdminResponse |
CoreAdminRequest.process(SolrServer server) |
LukeResponse |
LukeRequest.process(SolrServer server) |
SolrPingResponse |
SolrPing.process(SolrServer server) |
UpdateResponse |
DirectXmlRequest.process(SolrServer server) |
DocumentAnalysisResponse |
DocumentAnalysisRequest.process(SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.reloadCollection(String name,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.reloadCollection(String name,
SolrServer server,
String asyncId) |
static CoreAdminResponse |
CoreAdminRequest.reloadCore(String name,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.renameCore(String coreName,
String newName,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.requestStatus(String requestId,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.splitShard(String name,
String shard,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.splitShard(String name,
String shard,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.splitShard(String name,
String shard,
String ranges,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.splitShard(String name,
String shard,
String ranges,
SolrServer server,
String asyncId) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
boolean deleteIndex,
boolean deleteInstanceDir,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
boolean deleteIndex,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
SolrServer server) |
Constructor and Description |
---|
QueryResponse(NamedList<Object> res,
SolrServer solrServer)
Utility constructor to set the solrServer and namedList
|
Modifier and Type | Method and Description |
---|---|
protected SolrServer |
AbstractFullDistribZkTestBase.createNewSolrServer(int port) |
protected SolrServer |
AbstractFullDistribZkTestBase.createNewSolrServer(String collection,
String baseUrl) |
protected SolrServer |
AbstractFullDistribZkTestBase.getClient(String nodeName) |
SolrServer |
ChaosMonkey.getRandomClient(String slice) |
protected SolrServer |
AbstractFullDistribZkTestBase.startCloudJetty(String collection,
String shard) |
Modifier and Type | Method and Description |
---|---|
static boolean |
CloudInspectUtil.compareResults(SolrServer controlServer,
SolrServer cloudServer)
Compares the results of the control and cloud clients.
|
static boolean |
CloudInspectUtil.compareResults(SolrServer controlServer,
SolrServer cloudServer,
Set<String> addFails,
Set<String> deleteFails)
Compares the results of the control and cloud clients.
|
protected CollectionAdminResponse |
AbstractFullDistribZkTestBase.createCollection(Map<String,List<Integer>> collectionInfos,
String collectionName,
int numShards,
int replicationFactor,
int maxShardsPerNode,
SolrServer client,
String createNodeSetStr) |
protected CollectionAdminResponse |
AbstractFullDistribZkTestBase.createCollection(Map<String,List<Integer>> collectionInfos,
String collectionName,
int numShards,
int replicationFactor,
int maxShardsPerNode,
SolrServer client,
String createNodeSetStr,
String configName) |
protected CollectionAdminResponse |
AbstractFullDistribZkTestBase.createCollection(Map<String,List<Integer>> collectionInfos,
String collectionName,
Map<String,Object> collectionProps,
SolrServer client) |
protected CollectionAdminResponse |
AbstractFullDistribZkTestBase.createCollection(Map<String,List<Integer>> collectionInfos,
String collectionName,
Map<String,Object> collectionProps,
SolrServer client,
String confSetName) |
protected void |
AbstractFullDistribZkTestBase.index_specific(SolrServer client,
Object... fields) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractFullDistribZkTestBase.updateMappingsFromZk(List<JettySolrRunner> jettys,
List<SolrServer> clients) |
protected void |
AbstractFullDistribZkTestBase.updateMappingsFromZk(List<JettySolrRunner> jettys,
List<SolrServer> clients,
boolean allowOverSharding) |
Constructor and Description |
---|
StopableIndexingThread(SolrServer controlClient,
SolrServer cloudClient,
String id,
boolean doDeletes) |
StopableIndexingThread(SolrServer controlClient,
SolrServer cloudClient,
String id,
boolean doDeletes,
int numCycles) |
Modifier and Type | Method and Description |
---|---|
SolrServer |
StreamingSolrServers.getSolrServer(SolrCmdDistributor.Req req) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.