Kibana 7.4.2 Discover does not provide the correct score for results

When doing searches in the Discover application, the result scores always show a 0 or 1. To reproduce:

  1. Do a search in the Discover application
  2. Expand one of the hits
  3. EXPECTED>> _score to be how that hit scored amongst the results
  4. ACTUAL>> _score is always 0
  • Note: I have come across interweb postings of adding _score as aSelected field and then sorting on that, but that did not make a difference.
  1. Click on View single document
  2. EXPECTED>> _score to be how that hit scored amongst the results
  3. ACTUAL>> _score is always 1

I have executed the same query via the dev tools and do see the expected values for _score.




Hey @Sophia_Cheng,

Are you using the Kibana Query Language ("KQL"), or Lucene for your Discover search?

Does the _score change at all if you switch query languages?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.