filter by date in Sphinx

Indexing: include the date column in the sql_query of source.

Also set the date as sql_attr_unit

PHP: $cl->SetFilterRange ( $attribute, $min, $max, $exclude=false )

posted @ 2014-02-22 04:46  zmiao  阅读(169)  评论(0编辑  收藏  举报