sphinx set several dates as filter
时间:2014-03-05 18:19:25
收藏:0
阅读:481
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.
sphinx set several dates as filter,布布扣,bubuko.com
原文:http://www.cnblogs.com/miaoz/p/3581699.html
评论(0)