I want to customize sphinx search in such a way that I could keep as many records as I want in memory.
I am getting the follwing error:
searchd error (status: 1): per-query max_matches=25000 out of bounds (per-server max_matches=1000)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In your case I suggest to set
max_matchesto 100000 on the server side.Even if you need more you can always use
limit N,Mto fetch slice of result set without going out of bounds.In my experience humans don’t go over 10-20 pages in search results, so 100K should be more than enough.