14 #ifndef SPHINX_INPUT_JSON_MESSAGE_SEARCH_HPP
15 #define SPHINX_INPUT_JSON_MESSAGE_SEARCH_HPP
27 std::string convertVarToString(Poco::Dynamic::Var& var)
throw (std::exception);
35 void setQueryString(
const std::string& queryString_) {queryString=queryString_;}
39 std::vector<std::pair<std::string, std::string> >&
getQueryParameters(
void) {
return queryParams;}
42 std::vector<std::pair<std::string, std::string> >&
getOrderParameters(
void) {
return orderParams;}
44 void addFilter(Poco::SharedPtr<SphinxFilter> pFilter);
57 std::string queryString;
58 std::vector<std::pair<std::string, std::string> > queryParams;
59 std::vector<std::pair<std::string, std::string> > orderParams;
62 std::vector<std::string> externalFields;
63 std::vector<std::string> orderFields;
74 #endif // SPHINX_INPUT_JSON_MESSAGE_SEARCH_HPP