Implementation of a forward_index.
More...
Implementation of a forward_index.
void meta::index::forward_index::impl::create_index |
( |
const std::string & |
config_file | ) |
|
This function initializes the forward index.
- Parameters
-
config_file | The configuration file used to create the index |
void meta::index::forward_index::impl::create_libsvm_postings |
( |
const cpptoml::table & |
config | ) |
|
- Parameters
-
config | the configuration settings for this index |
void meta::index::forward_index::impl::uninvert |
( |
const inverted_index & |
inv_idx | ) |
|
- Parameters
-
inv_idx | The inverted index to uninvert |
void meta::index::forward_index::impl::create_uninverted_metadata |
( |
const std::string & |
name | ) |
|
- Parameters
-
name | The name of the inverted index to copy data from |
bool meta::index::forward_index::impl::is_libsvm_format |
( |
const cpptoml::table & |
config | ) |
const |
- Parameters
-
config | the configuration settings for this index |
- Returns
- whether this index will be based off of a single libsvm-formatted corpus file
void meta::index::forward_index::impl::compressed_postings_to_libsvm |
( |
uint64_t |
num_docs | ) |
|
Converts postings.index into a libsvm formatted file.
- Parameters
-
num_docs | The total number of documents |
The documentation for this class was generated from the following file: