I have a mapping that looks something like this:
"source": {
"properties": {
"description": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"id": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"name": {
"type": "string",
"boost": 3.0,
"analyzer": "snowball"
}
}
}
However when running the following query:
{"query" :
{"match" :
{"_all" : "test phrase"}
}
}
I don't get the results returned from this query:
{"query" :
{"match" :
{"source.name" : "test phrase"}
}
}
How do I get the '_all' query to match on a subfield?
Thank you for any help,
Stefanie
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/b04dbe47-2b8a-4493-b867-4691eaee2381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.