includesphinxclient.class.php

Classes

SphinxClient

Constants

SEARCHD_COMMAND_EXCERPT

SEARCHD_COMMAND_EXCERPT = 1

SEARCHD_COMMAND_UPDATE

SEARCHD_COMMAND_UPDATE = 2

SEARCHD_COMMAND_KEYWORDS

SEARCHD_COMMAND_KEYWORDS = 3

SEARCHD_COMMAND_PERSIST

SEARCHD_COMMAND_PERSIST = 4

SEARCHD_COMMAND_STATUS

SEARCHD_COMMAND_STATUS = 5

SEARCHD_COMMAND_QUERY

SEARCHD_COMMAND_QUERY = 6

VER_COMMAND_EXCERPT

VER_COMMAND_EXCERPT = 256

VER_COMMAND_UPDATE

VER_COMMAND_UPDATE = 258

VER_COMMAND_KEYWORDS

VER_COMMAND_KEYWORDS = 256

VER_COMMAND_STATUS

VER_COMMAND_STATUS = 256

VER_COMMAND_QUERY

VER_COMMAND_QUERY = 256

SEARCHD_OK

SEARCHD_OK = 0

SEARCHD_ERROR

SEARCHD_ERROR = 1

SEARCHD_RETRY

SEARCHD_RETRY = 2

SEARCHD_WARNING

SEARCHD_WARNING = 3

SPH_MATCH_ALL

SPH_MATCH_ALL = 0

SPH_MATCH_ANY

SPH_MATCH_ANY = 1

SPH_MATCH_PHRASE

SPH_MATCH_PHRASE = 2

SPH_MATCH_BOOLEAN

SPH_MATCH_BOOLEAN = 3

SPH_MATCH_EXTENDED

SPH_MATCH_EXTENDED = 4

SPH_MATCH_FULLSCAN

SPH_MATCH_FULLSCAN = 5

SPH_MATCH_EXTENDED2

SPH_MATCH_EXTENDED2 = 6

SPH_RANK_PROXIMITY_BM25

SPH_RANK_PROXIMITY_BM25 = 0

SPH_RANK_BM25

SPH_RANK_BM25 = 1

SPH_RANK_NONE

SPH_RANK_NONE = 2

SPH_RANK_WORDCOUNT

SPH_RANK_WORDCOUNT = 3

SPH_RANK_PROXIMITY

SPH_RANK_PROXIMITY = 4

SPH_RANK_MATCHANY

SPH_RANK_MATCHANY = 5

SPH_RANK_FIELDMASK

SPH_RANK_FIELDMASK = 6

SPH_SORT_RELEVANCE

SPH_SORT_RELEVANCE = 0

SPH_SORT_ATTR_DESC

SPH_SORT_ATTR_DESC = 1

SPH_SORT_ATTR_ASC

SPH_SORT_ATTR_ASC = 2

SPH_SORT_TIME_SEGMENTS

SPH_SORT_TIME_SEGMENTS = 3

SPH_SORT_EXTENDED

SPH_SORT_EXTENDED = 4

SPH_SORT_EXPR

SPH_SORT_EXPR = 5

SPH_FILTER_VALUES

SPH_FILTER_VALUES = 0

SPH_FILTER_RANGE

SPH_FILTER_RANGE = 1

SPH_FILTER_FLOATRANGE

SPH_FILTER_FLOATRANGE = 2

SPH_ATTR_INTEGER

SPH_ATTR_INTEGER = 1

SPH_ATTR_TIMESTAMP

SPH_ATTR_TIMESTAMP = 2

SPH_ATTR_ORDINAL

SPH_ATTR_ORDINAL = 3

SPH_ATTR_BOOL

SPH_ATTR_BOOL = 4

SPH_ATTR_FLOAT

SPH_ATTR_FLOAT = 5

SPH_ATTR_BIGINT

SPH_ATTR_BIGINT = 6

SPH_ATTR_MULTI

SPH_ATTR_MULTI = 1073741824

SPH_GROUPBY_DAY

SPH_GROUPBY_DAY = 0

SPH_GROUPBY_WEEK

SPH_GROUPBY_WEEK = 1

SPH_GROUPBY_MONTH

SPH_GROUPBY_MONTH = 2

SPH_GROUPBY_YEAR

SPH_GROUPBY_YEAR = 3

SPH_GROUPBY_ATTR

SPH_GROUPBY_ATTR = 4

SPH_GROUPBY_ATTRPAIR

SPH_GROUPBY_ATTRPAIR = 5

Functions

sphPackI64()

sphPackI64(  $v) 

Parameters

$v

sphPackU64()

sphPackU64(  $v) 

Parameters

$v

sphUnpackU64()

sphUnpackU64(  $v) 

Parameters

$v

sphUnpackI64()

sphUnpackI64(  $v) 

Parameters

$v

sphFixUint()

sphFixUint(  $value) 

Parameters

$value