Possibly incorrect behavior with track_scores=true when sorting on a field

Hello,

If I understand correctly from the
documentationhttp://www.elasticsearch.org/guide/reference/api/search/uri-request/,
I can use the track_scores parameter to have ES show the scores of each
hit, even when I'm not sorting on score.

I've tested this on 0.90.0.RC2 but it seems that it doesn't work.

Here's a curl recreation of the problem:

Is this a bug or am I doing something wrong?

Thanks and best regards,
Radu

http://sematext.com/ -- ElasticSearch -- Solr -- Lucene

--
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.

Has anyone else seen this? Should I open an issue on Github?

Best regards,
Radu

On Sun, Apr 28, 2013 at 12:04 PM, Radu Gheorghe
radu.gheorghe@sematext.comwrote:

Hello,

If I understand correctly from the documentationhttp://www.elasticsearch.org/guide/reference/api/search/uri-request/,
I can use the track_scores parameter to have ES show the scores of each
hit, even when I'm not sorting on score.

I've tested this on 0.90.0.RC2 but it seems that it doesn't work.

Here's a curl recreation of the problem:
Elasticsearch should still show scores for each hit when sorting on a field and track_scores is true · GitHub

Is this a bug or am I doing something wrong?

Thanks and best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
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.

Hi Radu

You're right, it is a bug. It doesn't with the the ?q= search form. it does
however work with the query body

ta

clint

On Thu, May 2, 2013 at 9:30 AM, Radu Gheorghe radu.gheorghe@sematext.comwrote:

Has anyone else seen this? Should I open an issue on Github?

Best regards,
Radu

On Sun, Apr 28, 2013 at 12:04 PM, Radu Gheorghe <
radu.gheorghe@sematext.com> wrote:

Hello,

If I understand correctly from the documentationhttp://www.elasticsearch.org/guide/reference/api/search/uri-request/,
I can use the track_scores parameter to have ES show the scores of
each hit, even when I'm not sorting on score.

I've tested this on 0.90.0.RC2 but it seems that it doesn't work.

Here's a curl recreation of the problem:
Elasticsearch should still show scores for each hit when sorting on a field and track_scores is true · GitHub

Is this a bug or am I doing something wrong?

Thanks and best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
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.

--
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.

Thanks a lot, Clint!

I've opened this issue:

Best regards,
Radu

On Thu, May 2, 2013 at 11:00 PM, Clinton Gormley clint@traveljury.comwrote:

Hi Radu

You're right, it is a bug. It doesn't with the the ?q= search form. it
does however work with the query body

ta

clint

On Thu, May 2, 2013 at 9:30 AM, Radu Gheorghe radu.gheorghe@sematext.comwrote:

Has anyone else seen this? Should I open an issue on Github?

Best regards,
Radu

On Sun, Apr 28, 2013 at 12:04 PM, Radu Gheorghe <
radu.gheorghe@sematext.com> wrote:

Hello,

If I understand correctly from the documentationhttp://www.elasticsearch.org/guide/reference/api/search/uri-request/,
I can use the track_scores parameter to have ES show the scores of
each hit, even when I'm not sorting on score.

I've tested this on 0.90.0.RC2 but it seems that it doesn't work.

Here's a curl recreation of the problem:
Elasticsearch should still show scores for each hit when sorting on a field and track_scores is true · GitHub

Is this a bug or am I doing something wrong?

Thanks and best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
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.

--
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.

--
http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
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.