elasticsearchr icon indicating copy to clipboard operation
elasticsearchr copied to clipboard

Return relevance score for %search%

Open tkollo opened this issue 8 years ago • 2 comments

It would be very useful if the relevance score would be returned, maybe with option to use '?explain' as well.

tkollo avatar May 26 '17 01:05 tkollo

I'm not sure this lies within the intended scope of the project, which is to use Elasticsearch as a distributed analytics database.

How do you envisage the relevance score being returned - e.g. as a default column in all data.frames containing the query results, or do you have some other idea in mind? A tangible example would be useful.

AlexIoannides avatar May 31 '17 22:05 AlexIoannides

I think just as a simple column in the dataframe, similarly to @version, an idea for it`s use would be to be able to set up a 'cutoff' when using elastic for search another idea is to use the @score as an input for probabilistic record-linkage.

tkollo avatar Jun 07 '17 13:06 tkollo