Modifier and Type | Field and Description |
---|---|
protected Map<String,IndexSchema> |
CoreContainer.indexSchemaCache |
Modifier and Type | Method and Description |
---|---|
IndexSchema |
SolrCore.getSchema()
Gets the schema object used by this core instance.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaCodecFactory.inform(IndexSchema schema) |
Constructor and Description |
---|
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,
SolrCore prev)
Creates a new core and register it in the list of cores.
|
Modifier and Type | Method and Description |
---|---|
protected NamedList<NamedList> |
FieldAnalysisRequestHandler.handleAnalysisRequest(FieldAnalysisRequest request,
IndexSchema schema)
Handles the resolved analysis request and returns the analysis breakdown response as a named list.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResponseLogComponent.processIds(ResponseBuilder rb,
DocList dl,
IndexSchema schema,
SolrIndexSearcher searcher) |
protected void |
ResponseLogComponent.processScores(ResponseBuilder rb,
DocList dl,
IndexSchema schema,
SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
IndexSchema |
SolrQueryRequest.getSchema()
The index schema associated with this request
|
IndexSchema |
SolrQueryRequestBase.getSchema() |
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
TextResponseWriter.schema |
protected IndexSchema |
BinaryResponseWriter.Resolver.schema |
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
AbstractSubTypeFieldType.schema |
Modifier and Type | Method and Description |
---|---|
void |
SchemaAware.inform(IndexSchema schema)
Informs the
IndexSchema provided by the schema
parameter of an event (e.g., a new FieldType was added, etc. |
void |
AbstractSubTypeFieldType.inform(IndexSchema schema) |
void |
SpatialPointVectorFieldType.inform(IndexSchema schema) |
void |
CurrencyField.inform(IndexSchema indexSchema)
When index schema is informed, add dynamic fields.
|
protected void |
PrimitiveFieldType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
DoubleField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
PointType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
FloatField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
PreAnalyzedField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
UUIDField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
ExternalFileField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
AbstractSpatialFieldType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
TrieDateField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
CollationField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
ShortField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
FieldType.init(IndexSchema schema,
Map<String,String> args)
subclasses should initialize themselves with the args provided
and remove valid arguments.
|
protected void |
SpatialRecursivePrefixTreeFieldType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
TrieField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
AbstractSubTypeFieldType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
SpatialPointVectorFieldType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
LatLonType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
IntField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
LongField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
ByteField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
CurrencyField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
TextField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
AbstractSpatialPrefixTreeFieldType.init(IndexSchema schema,
Map<String,String> args) |
Constructor and Description |
---|
FieldTypePluginLoader(IndexSchema schema,
Map<String,FieldType> fieldTypes,
Collection<SchemaAware> schemaAware) |
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
SolrQueryParser.schema |
Modifier and Type | Method and Description |
---|---|
IndexSchema |
SolrIndexSearcher.getSchema()
Direct access to the IndexSchema for use with this searcher
|
Modifier and Type | Method and Description |
---|---|
static String |
QueryParsing.getDefaultField(IndexSchema s,
String df)
Returns the effective default field based on the 'df' param or
hardcoded schema default.
|
static QueryParser.Operator |
QueryParsing.getQueryParserDefaultOperator(IndexSchema sch,
String override)
Returns the "preferred" default operator for use by Query Parsers,
based on the settings in the IndexSchema which may be overridden using
an optional String override value.
|
static String |
DisMaxQParser.parseMinShouldMatch(IndexSchema schema,
SolrParams params)
Applies the appropriate default rules for the "mm" param based on the
effective value of the "q.op" param
|
static Map<String,Float> |
DisMaxQParser.parseQueryFields(IndexSchema indexSchema,
SolrParams solrParams)
Uses
SolrPluginUtils.parseFieldBoosts(String) with the 'qf' parameter. |
static List<String> |
QueryParsing.toString(List<Query> queries,
IndexSchema schema)
Builds a list of String which are stringified versions of a list of Queries
|
static String |
QueryParsing.toString(Query query,
IndexSchema schema)
Formats a Query for debugging, using the IndexSchema to make
complex field types readable.
|
static void |
QueryParsing.toString(Query query,
IndexSchema schema,
Appendable out,
int flags) |
Constructor and Description |
---|
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
String name,
DirectoryReader r,
boolean closeReader,
boolean enableCache,
boolean reserveDirectory,
DirectoryFactory directoryFactory) |
SolrIndexSearcher(SolrCore core,
String path,
IndexSchema schema,
SolrIndexConfig config,
String name,
boolean enableCache,
DirectoryFactory directoryFactory) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaSimilarityFactory.inform(IndexSchema schema) |
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
UpdateHandler.schema |
Modifier and Type | Method and Description |
---|---|
static SolrIndexWriter |
SolrIndexWriter.create(String name,
String path,
DirectoryFactory directoryFactory,
boolean create,
IndexSchema schema,
SolrIndexConfig config,
IndexDeletionPolicy delPolicy,
Codec codec,
boolean forceNewDirectory) |
static SchemaField |
VersionInfo.getAndCheckVersionField(IndexSchema schema)
Gets and returns the
VersionInfo.VERSION_FIELD from the specified
schema, after verifying that it is indexed, stored, and single-valued. |
static Document |
DocumentBuilder.toDocument(SolrInputDocument doc,
IndexSchema schema)
Convert a SolrInputDocument to a lucene Document.
|
IndexWriterConfig |
SolrIndexConfig.toIndexWriterConfig(IndexSchema schema) |
Constructor and Description |
---|
DocumentBuilder(IndexSchema schema) |
Modifier and Type | Method and Description |
---|---|
static FieldMutatingUpdateProcessor.FieldNameSelector |
FieldMutatingUpdateProcessor.createFieldNameSelector(SolrResourceLoader loader,
IndexSchema schema,
Set<String> fields,
Set<String> typeNames,
Collection<String> typeClasses,
Collection<Pattern> regexes,
FieldMutatingUpdateProcessor.FieldNameSelector defSelector)
Utility method that can be used to define a FieldNameSelector
using the same types of rules as the FieldMutatingUpdateProcessor init
code.
|
Modifier and Type | Method and Description |
---|---|
static NamedList<Explanation> |
SolrPluginUtils.getExplanations(Query query,
DocList docs,
SolrIndexSearcher searcher,
IndexSchema schema)
Generates an NamedList of Explanations for each item in a list of docs.
|
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.