# Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

`SEARCHD_OK` (int)
`SEARCHD_ERROR` (int)
`SEARCHD_RETRY` (int)
`SEARCHD_WARNING` (int)
`SPH_MATCH_ALL` (int)
`SPH_MATCH_ANY` (int)
`SPH_MATCH_PHRASE` (int)
`SPH_MATCH_BOOLEAN` (int)
`SPH_MATCH_EXTENDED` (int)
`SPH_MATCH_FULLSCAN` (int)
`SPH_MATCH_EXTENDED2` (int)
`SPH_RANK_PROXIMITY_BM25` (int)
`SPH_RANK_BM25` (int)
`SPH_RANK_NONE` (int)
`SPH_RANK_WORDCOUNT` (int)
`SPH_SORT_RELEVANCE` (int)
`SPH_SORT_ATTR_DESC` (int)
`SPH_SORT_ATTR_ASC` (int)
`SPH_SORT_TIME_SEGMENTS` (int)
`SPH_SORT_EXTENDED` (int)
`SPH_SORT_EXPR` (int)
`SPH_FILTER_VALUES` (int)
`SPH_FILTER_RANGE` (int)
`SPH_FILTER_FLOATRANGE` (int)
`SPH_ATTR_INTEGER` (int)
`SPH_ATTR_TIMESTAMP` (int)
`SPH_ATTR_ORDINAL` (int)
`SPH_ATTR_BOOL` (int)
`SPH_ATTR_FLOAT` (int)
`SPH_ATTR_MULTI` (int)
`SPH_GROUPBY_DAY` (int)
`SPH_GROUPBY_WEEK` (int)
`SPH_GROUPBY_MONTH` (int)
`SPH_GROUPBY_YEAR` (int)
`SPH_GROUPBY_ATTR` (int)
`SPH_GROUPBY_ATTRPAIR` (int)