Reputation: 12805
How do I set a minimum weight in the sphinx API?
I want to find all the rows whose weight is greater than say, 20.
Upvotes: 0
Views: 881
Reputation: 12320
Just call setFilterFloatRange like
$q->SetFilterFloatRange('@weight', 20, 999999, true);
Upvotes: 1