Structure holding the statistics of a term to be used in a query.
More...
#include <bindingObjects.hpp>
Structure holding the statistics of a term to be used in a query.
- Note
- If values of this structure are undefined, then the storage values are used
net::strus::api::TermStatistics::TermStatistics |
( |
| ) |
|
|
inline |
net::strus::api::TermStatistics::TermStatistics |
( |
GlobalCounter |
df_ | ) |
|
|
inline |
net::strus::api::TermStatistics::TermStatistics |
( |
const TermStatistics & |
o | ) |
|
|
inline |
Get the global document frequency.
- Returns
- the global document frequency or -1 for undefined, if undefined then the value cache for the global dfs in the document frequency or what is stored in the local storage)
void net::strus::api::TermStatistics::set_df |
( |
GlobalCounter |
df_ | ) |
|
|
inline |
Set the global document frequency for a term in a query evaluation.
- Parameters
-
[in] | df_ | the document frequency value to use |
The documentation for this class was generated from the following file: