Exclude results with a score X percent away from top score

Hi all,

When doing full text searches in my dataset the first few results are
usually pretty accurate. However after that there are many junk results.

For example if I do a search for "rob hill campground" my top result is
spot on and has a score of around 5. However after that there are many
results with scores of around 0.6 that, for example, just include the word
"rob".

Is it possible to leave these results out of the result set somehow? I was
thinking something like if a result is 70% different from the highest
score, exclude it from the result set.

I'm currently using a multi field "query_string" query.

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey William,

I can see why you want to do this, is there anything keeping you from doing
the calculation yourself in the client?

simon

On Friday, March 1, 2013 12:06:23 AM UTC+1, William King wrote:

Hi all,

When doing full text searches in my dataset the first few results are
usually pretty accurate. However after that there are many junk results.

For example if I do a search for "rob hill campground" my top result is
spot on and has a score of around 5. However after that there are many
results with scores of around 0.6 that, for example, just include the word
"rob".

Is it possible to leave these results out of the result set somehow? I was
thinking something like if a result is 70% different from the highest
score, exclude it from the result set.

I'm currently using a multi field "query_string" query.

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.