A
A
antonre2012-08-05 15:56:23
Sphinx
antonre, 2012-08-05 15:56:23

How to make a filter with OR condition in Sphinx

There is Sphinx 0.9.9-release (r2117), SphinxApi.php.

When querying, it is necessary to filter the results like this:

pole1 = 34 OR pole2 = 1

Both fields are sql_attr_uint.

Tell me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fortop, 2012-08-05
@Fortop

sphinxsearch.com/docs/manual-0.9.9.html#api-func-setfilter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question