Hits dont seem to return my expected results

Hi All,

Using Kibana, when I perform a search, at the start of the output window I receive the following details:

  "took": 70,
  "timed_out": false,
  "_shards": {
    "total": 3,
    "successful": 3,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 46,
    "max_score": 7.021987,
    "hits": [
      {
        "_index": "newsindex",
        "_type": "logs",
        "_id": "1368",
        "_score": 7.021987,
        "_source": {....

As you can see it says there were 46 hit's, however searching the whole output window for the words I placed in my query I only find 16 occurrences, why do I have such a discrepancy? , and what do I believe?

This is impossible to answer without knowing your analysis chain. You may have used synonyms or your words got stemmed, so that the terms themselves do not occur in the hit, but yet the document was found because of that.

In order to give an exact answer one needs the index mappings/settings, sample documents and a concrete search query, but I hope this helps you give you a start, what to look out for.

--Alex

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