org.apache.lucene.queries.function.valuesource
Class TermFreqValueSource
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.lucene.queries.function.valuesource.DocFreqValueSource
org.apache.lucene.queries.function.valuesource.TermFreqValueSource
- Direct Known Subclasses:
- TFValueSource
public class TermFreqValueSource
- extends DocFreqValueSource
TermFreqValueSource
public TermFreqValueSource(String field,
String val,
String indexedField,
BytesRef indexedBytes)
name
public String name()
- Overrides:
name
in class DocFreqValueSource
getValues
public FunctionValues getValues(Map context,
AtomicReaderContext readerContext)
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 DocFreqValueSource
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.