java.lang.Object
org.elasticsearch.script.DocValuesDocReader
- All Implemented Interfaces:
- DocReader,- LeafReaderContextSupplier
Provide access to DocValues for script 
field api and doc API.- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.apache.lucene.index.LeafReaderContextprotected LeafSearchLookupA leaf lookup for the bound segment this proxy will operate on.protected final SearchLookup
- 
Constructor SummaryConstructorsConstructorDescriptionDocValuesDocReader(SearchLookup searchLookup, org.apache.lucene.index.LeafReaderContext leafContext) 
- 
Method SummaryModifier and TypeMethodDescriptionMap<String,ScriptDocValues<?>> doc()Old-style doc['field'] accessdocAsMap()Old-style doc access for contexts that map some doc contents in paramsField<?>New-style field accessNew-style field iteratororg.apache.lucene.index.LeafReaderContextvoidsetDocument(int docID) Set the underlying docId
- 
Field Details- 
searchLookup
- 
leafReaderContextprotected final org.apache.lucene.index.LeafReaderContext leafReaderContext
- 
leafSearchLookupA leaf lookup for the bound segment this proxy will operate on.
 
- 
- 
Constructor Details- 
DocValuesDocReaderpublic DocValuesDocReader(SearchLookup searchLookup, org.apache.lucene.index.LeafReaderContext leafContext) 
 
- 
- 
Method Details- 
fieldDescription copied from interface:DocReaderNew-style field access
- 
fieldsDescription copied from interface:DocReaderNew-style field iterator
- 
setDocumentpublic void setDocument(int docID) Description copied from interface:DocReaderSet the underlying docId- Specified by:
- setDocumentin interface- DocReader
 
- 
docAsMapDescription copied from interface:DocReaderOld-style doc access for contexts that map some doc contents in params
- 
docDescription copied from interface:DocReaderOld-style doc['field'] access
- 
getLeafReaderContextpublic org.apache.lucene.index.LeafReaderContext getLeafReaderContext()- Specified by:
- getLeafReaderContextin interface- LeafReaderContextSupplier
 
 
-