public static class TermsResponse.Term extends Object
Constructor and Description |
---|
Term(String term,
long frequency) |
Term(String term,
long frequency,
long totalTermFreq) |
Modifier and Type | Method and Description |
---|---|
void |
addFrequency(long frequency) |
void |
addTotalTermFreq(long totalTermFreq) |
long |
getFrequency() |
String |
getTerm() |
long |
getTotalTermFreq() |
void |
setFrequency(long frequency) |
void |
setTerm(String term) |
void |
setTotalTermFreq(long totalTermFreq) |
public Term(String term, long frequency)
public Term(String term, long frequency, long totalTermFreq)
public String getTerm()
public void setTerm(String term)
public long getFrequency()
public void setFrequency(long frequency)
public void addFrequency(long frequency)
public long getTotalTermFreq()
public void setTotalTermFreq(long totalTermFreq)
public void addTotalTermFreq(long totalTermFreq)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.