org.elasticsearch.index.mapper.selector
Class AllButSourceFieldSelector
java.lang.Object
org.elasticsearch.index.mapper.selector.AllButSourceFieldSelector
- All Implemented Interfaces:
- Serializable, org.apache.lucene.document.FieldSelector, ResetFieldSelector
public class AllButSourceFieldSelector
- extends Object
- implements ResetFieldSelector
A field selector that loads all fields except the source field.
- See Also:
- Serialized Form
INSTANCE
public static final AllButSourceFieldSelector INSTANCE
AllButSourceFieldSelector
public AllButSourceFieldSelector()
accept
public org.apache.lucene.document.FieldSelectorResult accept(String fieldName)
- Specified by:
accept
in interface org.apache.lucene.document.FieldSelector
reset
public void reset()
- Specified by:
reset
in interface ResetFieldSelector
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012. All Rights Reserved.