#include <sphinxclient/sphinxclientquery.h>
#include <sphinxclient/value.h>
#include <sphinxclient/globals_public.h>
#include <sstream>
#include <string>
#include <vector>
#include <list>
#include <map>
#include <stdint.h>
#include "error.h"
Go to the source code of this file.
Data Structures | |
class | Sphinx::ConnectionConfig_t |
Connection configuration object. More... | |
struct | Sphinx::GeoAnchorPoint_t |
geographical anchor point More... | |
struct | Sphinx::SearchConfig_t |
Search query configuration object. More... | |
struct | Sphinx::ResponseEntry_t |
One response match entry. More... | |
struct | Sphinx::WordStatistics_t |
Searched word statistics returned by searchd. More... | |
struct | Sphinx::Response_t |
Search query result data. More... | |
struct | Sphinx::KeywordResult_t |
keywords request result data for one word query More... | |
class | Sphinx::MultiQuery_t |
multi query data structure More... | |
class | Sphinx::SourceQuery_t |
class | Sphinx::MultiQueryOpt_t |
Optimisation-enabled multi query data structure. More... | |
struct | Sphinx::AttributeUpdates_t |
structure that holds attribute names and their values in documents to be updated More... | |
class | Sphinx::Client_t |
Communication interface to the Sphinx searchd. More... | |
Defines | |
#define | DEFAULT_CONNECT_RETRIES 1 |
#define | CONNECT_RETRY_WAIT_DEFAULT_MS 300 |
Typedefs | |
typedef std::vector< std::pair < std::string, uint32_t > > | Sphinx::AttributeTypes_t |
Enumerations | |
enum | MatchMode_t { Sphinx::SPH_MATCH_ALL = 0, Sphinx::SPH_MATCH_ANY = 1, Sphinx::SPH_MATCH_PHRASE = 2, Sphinx::SPH_MATCH_BOOLEAN = 3, Sphinx::SPH_MATCH_EXTENDED = 4, Sphinx::SPH_MATCH_FULLSCAN = 5, Sphinx::SPH_MATCH_EXTENDED2 = 6, Sphinx::SPH_MATCH_SZN = 7 } |
Sphinx matching mode. | |
enum | SortMode_t { Sphinx::SPH_SORT_RELEVANCE = 0, Sphinx::SPH_SORT_DATE_DESC = 1, Sphinx::SPH_SORT_DATE_ASC = 2, SPH_SORT_TIME_SEGMENTS = 3, Sphinx::SPH_SORT_EXTENDED = 4, Sphinx::SPH_SORT_EXPR = 5, SPH_SORT_SZN = 100 } |
Sphinx result sorting mode. | |
enum | RankingMode_t { Sphinx::SPH_RANK_PROXIMITY_BM25 = 0, Sphinx::SPH_RANK_BM25 = 1, Sphinx::SPH_RANK_NONE = 2, Sphinx::SPH_RANK_WORDCOUNT = 3, Sphinx::SPH_RANK_PROXIMITY = 4, Sphinx::SPH_RANK_MATCHANY = 5, Sphinx::SPH_RANK_FIELDMASK = 6, SPH_RANK_SPH04 = 7, SPH_RANK_EXPR = 8, SPH_RANK_TOTAL = 9 } |
Sphinx fulltext ranking mode. Valid only for extended2 matching mode. | |
enum | AttributeType_t { Sphinx::SPH_ATTR_INTEGER = 1, Sphinx::SPH_ATTR_TIMESTAMP = 2, SPH_ATTR_ORDINAL = 3, Sphinx::SPH_ATTR_BOOL = 4, Sphinx::SPH_ATTR_FLOAT = 5, Sphinx::SPH_ATTR_BIGINT = 6, SPH_ATTR_STRING = 7, SPH_ATTR_MULTI_FLAG = 0x40000000, SPH_ATTR_MULTI = SPH_ATTR_MULTI_FLAG | 1, SPH_ATTR_MULTI64 = SPH_ATTR_MULTI_FLAG | 2 } |
Result attribute types. More... | |
enum | GroupFunction_t { SPH_GROUPBY_DAY = 0, SPH_GROUPBY_WEEK = 1, SPH_GROUPBY_MONTH = 2, SPH_GROUPBY_YEAR = 3, SPH_GROUPBY_ATTR = 4, SPH_GROUPBY_ATTRPAIR = 5 } |
Grouping functions. More... | |
Functions | |
std::string | Sphinx::escapeQueryString (const std::string &query) |
void | sphinxClientDummy () |