Modifier and Type | Field and Description |
---|---|
private IndexSchema |
SolrCore.schema |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.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(java.lang.String dataDir,
IndexSchema schema) |
SolrCore(java.lang.String name,
java.lang.String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor cd)
Creates a new core and register it in the list of cores.
|
Modifier and Type | Field and Description |
---|---|
(package private) IndexSchema |
CSVLoader.schema |
Modifier and Type | Method and Description |
---|---|
(package private) NamedList<java.lang.Object> |
DocumentAnalysisRequestHandler.handleAnalysisRequest(DocumentAnalysisRequest request,
IndexSchema schema)
Handles the resolved
DocumentAnalysisRequest and returns the analysis response as a named list. |
protected NamedList<NamedList> |
FieldAnalysisRequestHandler.handleAnalysisRequest(FieldAnalysisRequest request,
IndexSchema schema)
Handles the resolved analysis request and returns the analysis breakdown response as a named list.
|
(package private) NamedList<java.lang.Object> |
AnalysisRequestHandler.processContent(javax.xml.stream.XMLStreamReader parser,
IndexSchema schema)
Deprecated.
|
(package private) SolrInputDocument |
DocumentAnalysisRequestHandler.readDocument(javax.xml.stream.XMLStreamReader reader,
IndexSchema schema)
Reads the document from the given xml stream reader.
|
Modifier and Type | Method and Description |
---|---|
private static SimpleOrderedMap<java.lang.Object> |
LukeRequestHandler.getDocumentFieldsInfo(org.apache.lucene.document.Document doc,
int docId,
org.apache.lucene.index.IndexReader reader,
IndexSchema schema) |
private static SimpleOrderedMap<java.lang.Object> |
LukeRequestHandler.getSchemaInfo(IndexSchema schema)
Return info from the index
|
private static void |
LukeRequestHandler.populateFieldInfo(IndexSchema schema,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> typeusemap,
java.util.Map<java.lang.String,java.lang.Object> fields,
SchemaField uniqueField,
SchemaField f) |
NamedList<java.lang.Integer> |
LukeRequestHandler.TopTermQueue.toNamedList(IndexSchema schema)
This is a destructive call...
|
Modifier and Type | Method and Description |
---|---|
private org.apache.lucene.analysis.TokenStream |
DefaultSolrHighlighter.createAnalyzerTStream(IndexSchema schema,
java.lang.String fieldName,
java.lang.String docText) |
private boolean |
DefaultSolrHighlighter.useFastVectorHighlighter(SolrParams params,
IndexSchema schema,
java.lang.String fieldName) |
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 |
private IndexSchema |
BinaryResponseWriter.Resolver.schema |
private IndexSchema |
XMLWriter.schema |
(package private) IndexSchema |
BaseResponseWriter.IdxInfo.schema |
Constructor and Description |
---|
IdxInfo(IndexSchema schema,
SolrIndexSearcher searcher,
java.util.Set<java.lang.String> returnFields) |
XMLWriter(java.io.Writer writer,
IndexSchema schema,
SolrQueryRequest req,
java.lang.String version) |
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
AbstractSubTypeFieldType.schema |
private IndexSchema |
CurrencyField.schema |
private IndexSchema |
ExternalFileField.schema |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSubTypeFieldType.inform(IndexSchema schema) |
void |
CurrencyField.inform(IndexSchema indexSchema)
When index schema is informed, add dynamic fields.
|
void |
SchemaAware.inform(IndexSchema schema)
Informs the
IndexSchema provided by the schema
parameter of an event (e.g., a new FieldType was added, etc. |
protected void |
LongField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
AbstractSubTypeFieldType.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
ShortField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
UUIDField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
FieldType.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args)
subclasses should initialize themselves with the args provided
and remove valid arguments.
|
protected void |
TrieField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
TrieDateField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
CurrencyField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
PrimitiveFieldType.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
ExternalFileField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
PointType.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
IntField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
LatLonType.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
TextField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
FloatField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
ByteField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
protected void |
DoubleField.init(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
(package private) static SchemaField |
AbstractSubTypeFieldType.registerPolyFieldDynamicPrototype(IndexSchema schema,
FieldType type)
Helper method for creating a dynamic field SchemaField prototype.
|
(package private) void |
FieldType.setArgs(IndexSchema schema,
java.util.Map<java.lang.String,java.lang.String> args) |
Modifier and Type | Field and Description |
---|---|
protected IndexSchema |
SolrQueryParser.schema |
private IndexSchema |
SolrIndexSearcher.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(java.lang.String func,
IndexSchema schema)
Parse a function, returning a FunctionQuery
|
static org.apache.lucene.search.Query |
QueryParsing.parseQuery(java.lang.String qs,
IndexSchema schema)
Helper utility for parsing a query using the Lucene QueryParser syntax.
|
static org.apache.lucene.search.Query |
QueryParsing.parseQuery(java.lang.String qs,
java.lang.String defaultField,
IndexSchema schema)
Helper utility for parsing a query using the Lucene QueryParser syntax.
|
static org.apache.lucene.search.Query |
QueryParsing.parseQuery(java.lang.String qs,
java.lang.String defaultField,
SolrParams params,
IndexSchema schema)
Helper utility for parsing a query using the Lucene QueryParser syntax.
|
static java.util.List<java.lang.String> |
QueryParsing.toString(java.util.List<org.apache.lucene.search.Query> queries,
IndexSchema schema)
Builds a list of String which are stringified versions of a list of Queries
|
static java.lang.String |
QueryParsing.toString(org.apache.lucene.search.Query query,
IndexSchema schema)
Formats a Query for debugging, using the IndexSchema to make
complex field types readable.
|
static void |
QueryParsing.toString(org.apache.lucene.search.Query query,
IndexSchema schema,
java.lang.Appendable out,
int flags) |
(package private) static FieldType |
QueryParsing.writeFieldName(java.lang.String name,
IndexSchema schema,
java.lang.Appendable out,
int flags) |
Constructor and Description |
---|
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
java.lang.String name,
org.apache.lucene.store.Directory directory,
boolean enableCache) |
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
java.lang.String name,
org.apache.lucene.store.Directory directory,
boolean readOnly,
boolean enableCache)
Creates a searcher searching the index in the provided directory.
|
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
java.lang.String name,
org.apache.lucene.index.IndexReader r,
boolean enableCache)
Creates a searcher searching the provided index.
|
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
java.lang.String name,
org.apache.lucene.index.IndexReader r,
boolean closeReader,
boolean enableCache) |
SolrIndexSearcher(SolrCore core,
IndexSchema schema,
java.lang.String name,
java.lang.String path,
boolean enableCache)
Deprecated.
use alternate constructor
|
SolrQueryParser(IndexSchema schema,
java.lang.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 |
private IndexSchema |
DocumentBuilder.schema |
Modifier and Type | Method and Description |
---|---|
private org.apache.lucene.index.MergePolicy |
SolrIndexConfig.buildMergePolicy(IndexSchema schema) |
private org.apache.lucene.index.MergeScheduler |
SolrIndexConfig.buildMergeScheduler(IndexSchema schema) |
private static java.lang.String |
DocumentBuilder.getID(SolrInputDocument doc,
IndexSchema schema) |
java.lang.String |
AddUpdateCommand.getIndexedId(IndexSchema schema) |
org.apache.lucene.document.Document |
AddUpdateCommand.getLuceneDocument(IndexSchema schema) |
java.lang.String |
AddUpdateCommand.getPrintableId(IndexSchema schema) |
static org.apache.lucene.document.Document |
DocumentBuilder.toDocument(SolrInputDocument doc,
IndexSchema schema)
Convert a SolrInputDocument to a lucene Document.
|
org.apache.lucene.index.IndexWriterConfig |
SolrIndexConfig.toIndexWriterConfig(IndexSchema schema) |
Constructor and Description |
---|
DocumentBuilder(IndexSchema schema) |
SolrIndexWriter(java.lang.String name,
java.lang.String path,
DirectoryFactory dirFactory,
boolean create,
IndexSchema schema,
SolrIndexConfig config,
org.apache.lucene.index.IndexDeletionPolicy delPolicy) |
Modifier and Type | Method and Description |
---|---|
static NamedList |
SolrPluginUtils.getExplainList(org.apache.lucene.search.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<org.apache.lucene.search.Explanation> |
SolrPluginUtils.getExplanations(org.apache.lucene.search.Query query,
DocList docs,
SolrIndexSearcher searcher,
IndexSchema schema)
Generates an NamedList of Explanations for each item in a list of docs.
|
static java.util.List<org.apache.lucene.search.Query> |
SolrPluginUtils.parseFuncs(IndexSchema s,
java.lang.String in)
Deprecated.
|
Constructor and Description |
---|
DisjunctionMaxQueryParser(IndexSchema s) |
DisjunctionMaxQueryParser(IndexSchema s,
java.lang.String defaultField) |