Defines an item describing the statistics in a collection.
More...
#include <contentStatisticsItem.hpp>
Defines an item describing the statistics in a collection.
strus::analyzer::ContentStatisticsItem::ContentStatisticsItem |
( |
const std::string & |
select_, |
|
|
const std::string & |
type_, |
|
|
const std::string & |
example_, |
|
|
int |
df_, |
|
|
int |
tf_ |
|
) |
| |
|
inline |
int strus::analyzer::ContentStatisticsItem::df |
( |
| ) |
const |
|
inline |
Get the number of documents in the collection this item appears in.
const std::string& strus::analyzer::ContentStatisticsItem::example |
( |
| ) |
const |
|
inline |
Get an example that led to this item.
void strus::analyzer::ContentStatisticsItem::incr_df |
( |
int |
df_ | ) |
|
|
inline |
void strus::analyzer::ContentStatisticsItem::incr_tf |
( |
int |
tf_ | ) |
|
|
inline |
const std::string& strus::analyzer::ContentStatisticsItem::select |
( |
| ) |
const |
|
inline |
Get the select expression.
void strus::analyzer::ContentStatisticsItem::setExample |
( |
const std::string & |
value | ) |
|
|
inline |
void strus::analyzer::ContentStatisticsItem::setType |
( |
const std::string & |
type_ | ) |
|
|
inline |
int strus::analyzer::ContentStatisticsItem::tf |
( |
| ) |
const |
|
inline |
Get the number of appearances in the collection this item appears in.
const std::string& strus::analyzer::ContentStatisticsItem::type |
( |
| ) |
const |
|
inline |
Get the type assigned to it.
The documentation for this class was generated from the following file: