org.compass.core
Interface CompassTermFreq

All Known Implementing Classes:
DefaultCompassTermFreq

public interface CompassTermFreq

Holds a term within the index, its frequency and the property name it is associated with.

Author:
kimchy
See Also:
CompassSession.termFreqsBuilder(String[]), CompassTermFreqsBuilder

Method Summary
 float getFreq()
          Returns the term frequency within the index.
 String getPropertyName()
          Returns the property name this term is associated with
 String getTerm()
          Returns the term value (of the property name).
 

Method Detail

getPropertyName

String getPropertyName()
Returns the property name this term is associated with


getTerm

String getTerm()
Returns the term value (of the property name).


getFreq

float getFreq()
Returns the term frequency within the index.



Copyright (c) 2004-2009 The Compass Project.