1

I cant seem to get the "_name" parameter to work in my query, when I run it on a Bonsai hosted elasticsearch(same happened on a Searchly service). Did anyone have the same problem?

This exact query works in my local elasticsearch, it returns the "matched_queries" with "test" inside. But as soon as I switch the URL to the hosted service, it does not:

{
  "query": {
    "match": {
      "name": {
        "query": "hamburguer",
        "_name": "test"
      }
    }
  }
}
ChintanShah25
  • 12,366
  • 3
  • 43
  • 44
  • What response do you get instead? I just tried on my searchly endpoint and it worked. – Val Nov 20 '15 at 04:05
  • I just get the hits without the "matched_queries" inside. Im using the service as a heroku addon, could that be interfering somehow? – Leandro Machado Nov 21 '15 at 14:57
  • Some more information would help here. For example, your index settings and mappings, and a sample document that you're expecting the query to match. – Nick Zadrozny Mar 06 '16 at 03:35

0 Answers0