Package | Description |
---|---|
org.apache.solr |
Common base classes for implementing tests.
|
org.apache.solr.core |
Factories for Mock classes that can be used in test configurations
|
org.apache.solr.highlight |
SolrHighlighter API and related implementaions and utilities
See org.apache.lucene.search.highlight for addition information. |
org.apache.solr.schema |
FieldType plugins that have additional dependencies. |
org.apache.solr.search |
APIs and classes for parsing and processing search requests
|
org.apache.solr.servlet |
Servlet related classes for powering the Solr HTTP API
|
org.apache.solr.servlet.cache |
Caching related classes used in the Solr HTTP API
|
org.apache.solr.update |
APIs and classes for managing index updates
|
org.apache.solr.util |
Misc utilities useful when implementing test cases.
|
org.apache.solr.util.xslt |
XSLT related utilities (deprecated package, do not add new classes)
|
Modifier and Type | Field and Description |
---|---|
protected static SolrConfig |
SolrTestCaseJ4.solrConfig |
Modifier and Type | Method and Description |
---|---|
protected SolrConfig |
ConfigSetService.createSolrConfig(CoreDescriptor cd,
SolrResourceLoader loader)
Create a SolrConfig object for a core
|
SolrConfig |
ConfigSet.getSolrConfig() |
SolrConfig |
SolrCore.getSolrConfig()
Gets the configuration object used by this core instance.
|
static SolrConfig |
SolrConfig.readFromResourceLoader(SolrResourceLoader loader,
String name) |
Modifier and Type | Method and Description |
---|---|
protected IndexSchema |
ConfigSetService.createIndexSchema(CoreDescriptor cd,
SolrConfig solrConfig)
Create an IndexSchema object for a core
|
IndexSchema |
ConfigSetService.SchemaCaching.createIndexSchema(CoreDescriptor cd,
SolrConfig solrConfig) |
Constructor and Description |
---|
ConfigSet(String name,
SolrConfig solrConfig,
IndexSchema indexSchema) |
SolrCore(String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor cd)
Creates a new core and register it in the list of cores.
|
SolrCore(String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor cd,
UpdateHandler updateHandler,
IndexDeletionPolicyWrapper delPolicy,
SolrCore prev)
Creates a new core and register it in the list of cores.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultSolrHighlighter.initalize(SolrConfig config)
Deprecated.
|
void |
PostingsSolrHighlighter.initalize(SolrConfig config) |
abstract void |
SolrHighlighter.initalize(SolrConfig config)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected SolrConfig |
IndexSchema.solrConfig |
Modifier and Type | Method and Description |
---|---|
static IndexSchema |
IndexSchemaFactory.buildIndexSchema(String resourceName,
SolrConfig config)
Instantiates the configured schema factory, then calls create on it.
|
ManagedIndexSchema |
ManagedIndexSchemaFactory.create(String resourceName,
SolrConfig config)
First, try to locate the managed schema file named in the managedSchemaResourceName
param.
|
IndexSchema |
IndexSchemaFactory.create(String resourceName,
SolrConfig config)
Returns an index schema created from a local resource
|
static String |
IndexSchemaFactory.getResourceNameToBeUsed(String resourceName,
SolrConfig config)
Returns the resource name that will be used: if the schema is managed, the resource
name will be drawn from the schema factory configuration in the given SolrConfig.
|
Constructor and Description |
---|
IndexSchema(SolrConfig solrConfig,
SolrResourceLoader loader) |
IndexSchema(SolrConfig solrConfig,
String name,
InputSource is)
Constructs a schema using the specified resource name and stream.
|
Modifier and Type | Method and Description |
---|---|
static CacheConfig |
CacheConfig.getConfig(SolrConfig solrConfig,
Node node) |
static CacheConfig |
CacheConfig.getConfig(SolrConfig solrConfig,
String xpath) |
static CacheConfig[] |
CacheConfig.getMultipleConfigs(SolrConfig solrConfig,
String configPath) |
static void |
SolrIndexSearcher.initRegenerators(SolrConfig solrConfig) |
Constructor and Description |
---|
SolrRequestParsers(SolrConfig globalConfig)
Pass in an xml configuration.
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpCacheHeaderUtil.setCacheControlHeader(SolrConfig conf,
javax.servlet.http.HttpServletResponse resp,
Method method)
Set the Cache-Control HTTP header (and Expires if needed)
based on the SolrConfig.
|
Constructor and Description |
---|
SolrIndexConfig(SolrConfig solrConfig,
String prefix,
SolrIndexConfig def)
Constructs a SolrIndexConfig which parses the Lucene related config params in solrconfig.xml
|
Modifier and Type | Field and Description |
---|---|
protected SolrConfig |
AbstractSolrTestCase.solrConfig |
Modifier and Type | Method and Description |
---|---|
static SolrConfig |
TestHarness.createConfig(String solrHome,
String confFile)
Creates a SolrConfig object for the
ConfigSolrXmlOld.DEFAULT_DEFAULT_CORE_NAME core using TestHarness.createConfig(String,String,String) |
static SolrConfig |
TestHarness.createConfig(String solrHome,
String coreName,
String confFile)
Creates a SolrConfig object for the specified coreName assuming it
follows the basic conventions of being a relative path in the solrHome
dir.
|
Constructor and Description |
---|
TestHarness(String dataDirectory,
SolrConfig solrConfig,
IndexSchema indexSchema) |
TestHarness(String dataDirectory,
SolrConfig solrConfig,
String schemaFile) |
TestHarness(String coreName,
String dataDir,
SolrConfig solrConfig,
IndexSchema indexSchema) |
TestHarness(String coreName,
String dataDirectory,
SolrConfig solrConfig,
String schemaFile) |
Modifier and Type | Method and Description |
---|---|
Transformer |
TransformerProvider.getTransformer(SolrConfig solrConfig,
String filename,
int cacheLifetimeSeconds)
Return a new Transformer, possibly created from our cached Templates object
|
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.