P
P
Petr Fronin2018-01-22 07:21:27
Sphinx
Petr Fronin, 2018-01-22 07:21:27

Sphinx: why does it find something extra?

We have this request:

SELECT *,COUNT(*) FROM test_db WHERE MATCH('$test text$') AND (object > 0) GROUP BY object ORDER BY custom_rank DESC LIMIT 0,10 OPTION max_matches=10000;

There are 2 records in the database containing:
1. test text
2. test 2 text
As a result, both records are found, although according to the logic, only 1
should be found.
Tell me what's wrong here?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2018-01-22
@opium

That's right, they are two and should be

M
ManticoreSearch, 2018-04-08
@ManticoreSearch

Most likely in the config for min_word_len value > 1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question