Package | Description |
---|---|
org.elasticsearch.index.engine | |
org.elasticsearch.index.mapper | |
org.elasticsearch.search.suggest.context |
Modifier and Type | Method and Description |
---|---|
List<ParseContext.Document> |
Engine.IndexingOperation.docs() |
Modifier and Type | Method and Description |
---|---|
abstract ParseContext.Document |
ParseContext.doc() |
ParseContext.Document |
ParseContext.InternalParseContext.doc() |
ParseContext.Document |
ParseContext.Document.getParent()
Return the parent document, or null if this is the root document.
|
abstract ParseContext.Document |
ParseContext.rootDoc() |
ParseContext.Document |
ParseContext.InternalParseContext.rootDoc() |
ParseContext.Document |
ParsedDocument.rootDoc() |
Modifier and Type | Method and Description |
---|---|
abstract List<ParseContext.Document> |
ParseContext.docs() |
List<ParseContext.Document> |
ParseContext.InternalParseContext.docs() |
List<ParseContext.Document> |
ParsedDocument.docs() |
Modifier and Type | Method and Description |
---|---|
abstract void |
ParseContext.addDoc(ParseContext.Document doc) |
void |
ParseContext.InternalParseContext.addDoc(ParseContext.Document doc) |
void |
ParseContext.InternalParseContext.reset(XContentParser parser,
ParseContext.Document document,
SourceToParse source,
DocumentMapper.ParseListener listener) |
ParseContext |
ParseContext.switchDoc(ParseContext.Document document)
Return a new context that has the provided document as the current document.
|
Constructor and Description |
---|
ParsedDocument(org.apache.lucene.document.Field uid,
org.apache.lucene.document.Field version,
String id,
String type,
String routing,
long timestamp,
long ttl,
List<ParseContext.Document> documents,
org.apache.lucene.analysis.Analyzer analyzer,
BytesReference source,
boolean mappingsModified) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.lucene.analysis.TokenStream |
ContextMapping.ContextConfig.wrapTokenStream(ParseContext.Document doc,
org.apache.lucene.analysis.TokenStream stream)
Wrap a
TokenStream for building suggestions to use context informations
provided by a document or a ContextMapping |
Constructor and Description |
---|
Context(SortedMap<String,ContextMapping.ContextConfig> contexts,
ParseContext.Document doc) |
Copyright © 2009–2015. All rights reserved.