Weighted zone scoring

I am currently using a filtered query combined with a query string filter
to do my searches within ElasticSearch. Although I am aware of the
drawbacks I would like to present the user with a percentage as a scoring.
To do this I would like to make use of Weighted zone scoring / Ranked
Boolean retrieval. I tried searching on Google and this group but I cannot
find any examples on how to implement this. Could anyone explain to me how
to use this type of scoring?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a10540f2-4388-4e74-8204-b26aff621230%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

To provide an example of what I try to do (example from Introdcution to
Information Retrieval):

“Consider the query shakespeare in a collection in which each document has
three zones: author, title and body. The Boolean score function for a
zone takes on the value 1 if the query term shakespeare is present in the
zone, and zero otherwise. Weighted zone scoring in such a collection would
require three weights g1, g2 and g3, respectively corresponding to the author,
title
and body zones. Suppose we set g1 = 0,2, g2=0,3 and g3 = o,5 (so
that the three weights add up to 1); this corresponds to an application in
which a match in the author zone is least important to the overall score,
the title zone somewhat more, and the body contributes even more.

Thus if the term shakespeare were to appear in the title and body zones
but not the author zone of a document, the score of this document would
be 0.8.”

The list of fields that are searched within a document can be dynamic.

On Wednesday, September 24, 2014 1:05:13 PM UTC+2, Dysteleology wrote:

I am currently using a filtered query combined with a query string filter
to do my searches within Elasticsearch. Although I am aware of the
drawbacks I would like to present the user with a percentage as a scoring.
To do this I would like to make use of Weighted zone scoring / Ranked
Boolean retrieval. I tried searching on Google and this group but I cannot
find any examples on how to implement this. Could anyone explain to me how
to use this type of scoring?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/69ade797-a54d-49f3-a40d-ca6d3c2aefdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.