sphinx set several dates as filter

http://sphinxsearch.com/forum/view.html?id=3187

 

> I think I may have found a bug.

Yep, it looks weird. The problem is probably that you have two attributes (MVA and
timestamp) with the same name.

> $this->sphinx->SetFilterRange("starts", $startdateunix, $enddateunix);

Yes, that's what I was thinking. Now, I'm not really sure that it's what you actually
want, but the idea was to store all dates associated with a document in that attribute
and set a range filter on it. So if any of these dates is inside the filter's range the
document would match.

posted @ 2014-03-05 08:48  zmiao  阅读(197)  评论(0编辑  收藏  举报