Package org.apache.solr.schema
Class RandomSortField.RandomValueSource
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.solr.schema.RandomSortField.RandomValueSource
-
- Enclosing class:
- RandomSortField
public static class RandomSortField.RandomValueSource extends org.apache.lucene.queries.function.ValueSource
-
-
Constructor Summary
Constructors Constructor Description RandomValueSource(String field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
boolean
equals(Object o)
org.apache.lucene.queries.function.FunctionValues
getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext)
int
hashCode()
-
-
-
Constructor Detail
-
RandomValueSource
public RandomValueSource(String field)
-
-
Method Detail
-
description
public String description()
- Specified by:
description
in classorg.apache.lucene.queries.function.ValueSource
-
getValues
public org.apache.lucene.queries.function.FunctionValues getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
- Specified by:
getValues
in classorg.apache.lucene.queries.function.ValueSource
- Throws:
IOException
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classorg.apache.lucene.queries.function.ValueSource
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classorg.apache.lucene.queries.function.ValueSource
-
-