public abstract class DocValuesFieldSource extends ValueSource
ValueSource that is based on a field's DocValues.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
direct |
protected String |
fieldName |
| Modifier | Constructor and Description |
|---|---|
protected |
DocValuesFieldSource(String fieldName,
boolean direct) |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
description of field, used in explain()
|
boolean |
equals(Object o) |
String |
getFieldName() |
protected DocValues.Source |
getSource(AtomicReader reader,
DocValues.Type defaultType) |
int |
hashCode() |
boolean |
isDirect() |
createWeight, getSortField, getValues, newContext, toStringprotected final String fieldName
protected final boolean direct
protected DocValuesFieldSource(String fieldName, boolean direct)
protected final DocValues.Source getSource(AtomicReader reader, DocValues.Type defaultType) throws IOException
IOExceptionpublic boolean isDirect()
DocValues.Source is used.public String getFieldName()
public boolean equals(Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourcepublic String description()
ValueSourcedescription in class ValueSourceCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.