org.elasticsearch.search.lookup
Class DocLookup

java.lang.Object
  extended by org.elasticsearch.search.lookup.DocLookup
All Implemented Interfaces:
Map

public class DocLookup
extends Object
implements Map


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set entrySet()
           
<T extends DocFieldData>
T
field(String key)
           
 FieldDataCache fieldDataCache()
           
 Object get(Object key)
           
 float getScore()
           
 boolean isEmpty()
           
 Set keySet()
           
 MapperService mapperService()
           
<T extends NumericDocFieldData>
T
numeric(String key)
           
 Object put(Object key, Object value)
           
 void putAll(Map m)
           
 Object remove(Object key)
           
 float score()
           
 void setNextDocId(int docId)
           
 void setNextReader(org.apache.lucene.index.IndexReader reader)
           
 void setScorer(org.apache.lucene.search.Scorer scorer)
           
 int size()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Method Detail

mapperService

public MapperService mapperService()

fieldDataCache

public FieldDataCache fieldDataCache()

setNextReader

public void setNextReader(org.apache.lucene.index.IndexReader reader)

setScorer

public void setScorer(org.apache.lucene.search.Scorer scorer)

setNextDocId

public void setNextDocId(int docId)

field

public <T extends DocFieldData> T field(String key)

numeric

public <T extends NumericDocFieldData> T numeric(String key)

score

public float score()
            throws IOException
Throws:
IOException

getScore

public float getScore()
               throws IOException
Throws:
IOException

get

public Object get(Object key)
Specified by:
get in interface Map

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map

size

public int size()
Specified by:
size in interface Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map

remove

public Object remove(Object key)
Specified by:
remove in interface Map

putAll

public void putAll(Map m)
Specified by:
putAll in interface Map

clear

public void clear()
Specified by:
clear in interface Map

keySet

public Set keySet()
Specified by:
keySet in interface Map

values

public Collection values()
Specified by:
values in interface Map

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map


Copyright © 2009-2012. All Rights Reserved.