Thanks for the answer! Hope they make it soon.

But I searched a while and found this plugin.

https://github.com/wikimedia/search-highlighter

It doesn't solute the problem at all, but till the team make it, it will
work!

With this query I get want I want:

{
  "_source": false,
  "query": {
    "term": {
      "project.fulltext": "so"
    }
  },
  "highlight": {
    "fields": {
      "project.fulltext": {
        "type": "experimental",
        "options": {
          "fetch_fields": [ "project.id", "project.title" ]
        }
      }
    }
  }
}



--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/Is-it-possible-to-get-the-name-of-the-field-above-an-element-tp4055941p4055983.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1400239369061-4055983.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to