Sphinx max_matches search error

I want to configure sphinx search so that I can store as many records as I want in memory.

I get the following error:

search error (status: 1): for each request max_matches = 25000 out of bounds (for each server max_matches = 1000)

+4
source share
1 answer

In your case, I suggest setting max_matches to 100000 on the server side.

Even if you need more, you can always use limit N,M to extract a fragment of a result set without going beyond.

In my experience, people don’t go to 10-20 pages in the search results, so 100K should be more than enough.

+7
source

Source: https://habr.com/ru/post/1433301/


All Articles