JASSv2
List of all members
anytime Class Reference

An alias for JASS_anytime_api. More...

#include <JASS_anytime_api.h>

Inheritance diagram for anytime:
Inheritance graph
[legend]
Collaboration diagram for anytime:
Collaboration graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from JASS_anytime_api
 JASS_anytime_api ()
 Constructor.
 
virtual ~JASS_anytime_api ()
 Destructor.
 
JASS_ERROR load_index (size_t index_version, const std::string &directory="", bool verbose=false)
 Load a JASS index from the given directory. More...
 
uint32_t get_document_count (void)
 Return the number of documents in the index. More...
 
JASS_ERROR get_encoding_scheme (std::string &codex_name, int32_t &d_ness)
 Return the name of the compression algorithm and the delta (d-gap) size. More...
 
std::string get_encoding_scheme_name (void)
 Return the name of the compression algorithm used on this index. More...
 
int32_t get_encoding_scheme_d (void)
 Return the d-gap value used in this index. More...
 
void set_accumulator_manager (const std::string &name)
 Set the name of the accumulator manager to use. More...
 
JASS_ERROR set_postings_to_process_proportion (double percent)
 Set the number of postings to process as a proportion of the number of documents in the collection. More...
 
JASS_ERROR set_postings_to_process_relative (double percent)
 Set the number of postings to process as a proportion of the number of postings for this query. More...
 
JASS_ERROR set_postings_to_process (size_t count)
 Set the number of postings to process as an absolute number. More...
 
uint32_t get_postings_to_process (void)
 Return the current maimum number of postings to process value. This might be very large. More...
 
uint32_t get_max_top_k (void)
 Return the largest possible top_k value, which might be smaller than the number of documents in the collection. More...
 
JASS_ERROR set_top_k (size_t k)
 Set the maximum numbre of documents to return in a resuts list. More...
 
size_t get_top_k (void)
 Return the current top-k value. More...
 
JASS_ERROR set_accumulator_width (size_t width)
 Set the accumulator page-table width (assuming a page-table like approach is being used) More...
 
JASS_ERROR use_ascii_parser (void)
 Use the query parser that seperates tokens on whitespace along (this method is not normally needed). More...
 
JASS_ERROR use_query_parser (void)
 Use the default query parser that understands alphanumnerics, spaces, unicode, and so on (this method is not normally needed). More...
 
JASS_anytime_result search (const std::string &query)
 Search using the current index and the current parameters. More...
 
JASS_ERROR search (std::vector< JASS_anytime_thread_result > &output, std::vector< JASS_anytime_query > &query_list, size_t thread_count)
 Search using the current index and the current parameters. More...
 
std::vector< JASS_anytime_thread_resultthreaded_search (std::vector< std::string > &query_list, size_t thread_count)
 Search using the current index and the current parameters. More...
 

Detailed Description

An alias for JASS_anytime_api.


The documentation for this class was generated from the following file: