Limiting Results


(Shaun Farrell) #1

Are there any good techniques to limit the number of results other than the
setting a hard limit.

When I search for something I get a lot of results and about the top 10 -
20 are relevant. Then after that the results aren't very relevant. I was
wondering if there were any tips that could help me with returning results.

Thanks,
Shaun Farrell


(Michael Sick) #2

http://www.elasticsearch.org/guide/reference/api/search/search-type.html

You might look at the scan facilities and only return the first N (10, 20,
...) and get more if the user requests.

--Mike

On Sat, Jan 14, 2012 at 11:33 AM, Shaun Farrell farrelley@gmail.com wrote:

Are there any good techniques to limit the number of results other than
the setting a hard limit.

When I search for something I get a lot of results and about the top 10 -
20 are relevant. Then after that the results aren't very relevant. I was
wondering if there were any tips that could help me with returning results.

Thanks,
Shaun Farrell


(Shane Witbeck) #3

Min score might make sense:
http://www.elasticsearch.org/guide/reference/api/search/min-score.html


(system) #4