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.
|
Constructor and Description |
---|
SolrCore(String dataDir,
IndexSchema schema) |
SolrCore(String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor cd)
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 | Field and Description |
---|---|
protected IndexSchema |
SolrContentHandler.schema |
Modifier and Type | Method and Description |
---|---|
SolrContentHandler |
SolrContentHandlerFactory.createSolrContentHandler(org.apache.tika.metadata.Metadata metadata,
SolrParams params,
IndexSchema schema) |
Constructor and Description |
---|
SolrContentHandler(org.apache.tika.metadata.Metadata metadata,
SolrParams params,
IndexSchema schema) |
SolrContentHandler(org.apache.tika.metadata.Metadata metadata,
SolrParams params,
IndexSchema schema,
Collection<String> dateFormats) |
Modifier and Type | Method and Description |
---|---|
IndexSchema |
SolrQueryRequestBase.getSchema() |
IndexSchema |
SolrQueryRequest.getSchema()
The index schema associated with this request
|
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
TextResponseWriter.schema |
Constructor and Description |
---|
XMLWriter(Writer writer,
IndexSchema schema,
SolrQueryRequest req,
String version) |
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 |
CurrencyField.inform(IndexSchema indexSchema)
When index schema is informed, add dynamic fields.
|
void |
AbstractSubTypeFieldType.inform(IndexSchema schema) |
protected void |
UUIDField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
TrieField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
TrieDateField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
TextField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
ShortField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
PrimitiveFieldType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
PointType.init(IndexSchema schema,
Map<String,String> args) |
protected void |
LongField.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 |
FloatField.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 |
ExternalFileField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
DoubleField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
CurrencyField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
ByteField.init(IndexSchema schema,
Map<String,String> args) |
protected void |
AbstractSubTypeFieldType.init(IndexSchema schema,
Map<String,String> args) |
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 FunctionQuery |
QueryParsing.parseFunction(String func,
IndexSchema schema)
Parse a function, returning a FunctionQuery
Syntax Examples....
|
static Query |
QueryParsing.parseQuery(String qs,
IndexSchema schema)
Helper utility for parsing a query using the Lucene QueryParser syntax.
|
static Query |
QueryParsing.parseQuery(String qs,
String defaultField,
IndexSchema schema)
Helper utility for parsing a query using the Lucene QueryParser syntax.
|
static Query |
QueryParsing.parseQuery(String qs,
String defaultField,
SolrParams params,
IndexSchema schema)
Helper utility for parsing a query using the Lucene QueryParser syntax.
|
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,
Directory directory,
boolean enableCache) |
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
String name,
Directory directory,
boolean readOnly,
boolean enableCache)
Creates a searcher searching the index in the provided directory.
|
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
String name,
IndexReader r,
boolean enableCache)
Creates a searcher searching the provided index.
|
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
String name,
IndexReader r,
boolean closeReader,
boolean enableCache) |
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
String name,
String path,
boolean enableCache)
Deprecated.
use alternate constructor
|
SolrQueryParser(IndexSchema schema,
String defaultField)
Constructs a SolrQueryParser using the schema to understand the
formats and datatypes of each field.
|
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
UpdateHandler.schema |
Modifier and Type | Method and Description |
---|---|
String |
AddUpdateCommand.getIndexedId(IndexSchema schema) |
Document |
AddUpdateCommand.getLuceneDocument(IndexSchema schema) |
String |
AddUpdateCommand.getPrintableId(IndexSchema schema) |
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) |
SolrIndexWriter(String name,
String path,
DirectoryFactory dirFactory,
boolean create,
IndexSchema schema,
SolrIndexConfig config,
IndexDeletionPolicy delPolicy) |
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
LanguageIdentifierUpdateProcessor.schema |
Modifier and Type | Method and Description |
---|---|
static NamedList |
SolrPluginUtils.getExplainList(Query query,
DocList docs,
SolrIndexSearcher searcher,
IndexSchema schema)
Deprecated.
this returns the explanations as Strings, instead it
is recommeded to use getExplanations and call toString()
yourself, or use explanationsToNamedLists
|
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.
|
static List<Query> |
SolrPluginUtils.parseFuncs(IndexSchema s,
String in)
Deprecated.
|
Constructor and Description |
---|
SolrPluginUtils.DisjunctionMaxQueryParser(IndexSchema s) |
SolrPluginUtils.DisjunctionMaxQueryParser(IndexSchema s,
String defaultField) |