In my application, there is a page where a user will perform a query, add
some information to one specific field to one or more of the documents in
this query, and then re-query the original query. The addition of this new
information to the document lowers the score, and this case is misleading
to the user, because the documents returned are now at the end of a
paginated list.
It is very important for us to order the results of our documents by score,
but in this case (and in all cases), I want this one field to be ignored
from the score entirely.
One thing to note is that i am querying by a different field - I query by
field A, but adding information to field B changes the score when
requerying by field A
Is there a way to configure this one field to be ignored from the score
computation entirely? I need to ignore the field during score computation
in all cases.
I've tried multiple approaches but haven't had much luck.
Thanks,
Paul
--
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.
It sounds like you may be querying the _all field, because that
automatically pulls data from all the fields in your document. If you are
only querying on Field A, then the contents of Field B should never affect
the score.
If you could provide a sample document and the query, that would help a lot.
On Friday, August 30, 2013 10:40:54 AM UTC-4, Paul Hobgood wrote:
In my application, there is a page where a user will perform a query, add
some information to one specific field to one or more of the documents in
this query, and then re-query the original query. The addition of this new
information to the document lowers the score, and this case is misleading
to the user, because the documents returned are now at the end of a
paginated list.
It is very important for us to order the results of our documents by
score, but in this case (and in all cases), I want this one field to be
ignored from the score entirely.
One thing to note is that i am querying by a different field - I query by
field A, but adding information to field B changes the score when
requerying by field A
Is there a way to configure this one field to be ignored from the score
computation entirely? I need to ignore the field during score computation
in all cases.
I've tried multiple approaches but haven't had much luck.
Thanks,
Paul
--
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.