org.apache.solr.schema
Class RandomSortField.RandomValueSource

java.lang.Object
  extended by org.apache.solr.search.function.ValueSource
      extended by org.apache.solr.schema.RandomSortField.RandomValueSource
All Implemented Interfaces:
Serializable
Enclosing class:
RandomSortField

public class RandomSortField.RandomValueSource
extends ValueSource

See Also:
Serialized Form

Constructor Summary
RandomSortField.RandomValueSource(String field)
           
 
Method Summary
 String description()
          description of field, used in explain()
 boolean equals(Object o)
           
 DocValues getValues(Map context, IndexReader reader)
          Gets the values for this reader and the context that was previously passed to createWeight()
 int hashCode()
           
 
Methods inherited from class org.apache.solr.search.function.ValueSource
createWeight, getValues, newContext, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomSortField.RandomValueSource

public RandomSortField.RandomValueSource(String field)
Method Detail

description

public String description()
Description copied from class: ValueSource
description of field, used in explain()

Specified by:
description in class ValueSource

getValues

public DocValues getValues(Map context,
                           IndexReader reader)
                    throws IOException
Description copied from class: ValueSource
Gets the values for this reader and the context that was previously passed to createWeight()

Overrides:
getValues in class ValueSource
Throws:
IOException

equals

public boolean equals(Object o)
Specified by:
equals in class ValueSource

hashCode

public int hashCode()
Specified by:
hashCode in class ValueSource


Copyright © 2011 Apache Software Foundation. All Rights Reserved.