Interface TermFreq
- All Known Implementing Classes:
ImplTermFreq
,LuceneTermFreq
public interface TermFreq
Element for storing a term and its frequency.
-
Method Details
-
getTerm
java.lang.String getTerm() throws java.io.IOExceptionObtains the term.- Returns:
- the term.
- Throws:
java.io.IOException
- if something fails while reading the term.
-
getFreq
long getFreq() throws java.io.IOExceptionObtains the frequency.- Returns:
- the frequency.
- Throws:
java.io.IOException
- if something fails while obtaining the frequency.
-