public static class RandomSortField.RandomValueSource extends ValueSource
Constructor and Description |
---|
RandomValueSource(String field) |
Modifier and Type | Method and Description |
---|---|
String |
description() |
boolean |
equals(Object o) |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
int |
hashCode() |
asDoubleValuesSource, asLongValuesSource, createWeight, fromDoubleValuesSource, getSortField, newContext, toString
public RandomValueSource(String field)
public String description()
description
in class ValueSource
public FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues
in class ValueSource
IOException
public boolean equals(Object o)
equals
in class ValueSource
public int hashCode()
hashCode
in class ValueSource
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.