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, toString
protected 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
IOException
public boolean isDirect()
DocValues.Source
is used.public String getFieldName()
public boolean equals(Object o)
equals
in class ValueSource
public int hashCode()
hashCode
in class ValueSource
public String description()
ValueSource
description
in class ValueSource
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.