libtpc  0.1
Textpressocentral core library
Public Member Functions | Public Attributes | List of all members
tpc::index::Query Class Reference

#include <DataStructures.h>

Public Member Functions

std::string get_query_text () const
 

Public Attributes

QueryType type {QueryType::document}
 
std::string keyword {""}
 
std::string exclude_keyword {""}
 
std::string year {""}
 
std::string author {""}
 
std::string accession {""}
 
std::string journal {""}
 
std::string paper_type {""}
 
bool case_sensitive {false}
 
bool sort_by_year {false}
 
bool exact_match_author {false}
 
bool exact_match_journal {false}
 
bool categories_and_ed {true}
 
std::vector< std::string > literatures {}
 
std::vector< std::string > categories {}
 

Detailed Description

query object

Member Function Documentation

string Query::get_query_text ( ) const

combine the query fields and get the full query text

Returns
the text for the Lucene query

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