Class TermData
java.lang.Object
org.dlese.dpc.services.dds.toolkit.TermData
Class that holds data about term in one or more fields in the index.
- Author:
- John Weatherley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintNumber of documents (records) in the index in which the term resides in the given field(s).intNumber of times the term appears in the given field(s).
-
Constructor Details
-
TermData
public TermData(int termCount, int docCount) Constructor for the TermData object- Parameters:
termCount- Number of times the term appears in the given field(s)doccount- Number of documents (records) in the index in which the term resides in the given field(s)
-
-
Method Details
-
getTermCount
public int getTermCount()Number of times the term appears in the given field(s).- Returns:
- The termCount value
-
getDocCount
public int getDocCount()Number of documents (records) in the index in which the term resides in the given field(s).- Returns:
- The docCount value
-