I am searching with ._all in a multi_field and not getting results from the
default. Below are 4 queries, where the first 3 yield results, but #4 does
not. It looks like the default field is not part of _all. Any thoughts?
(see this gist https://gist.github.com/2855138 for the complete setup)
curl -XGET
'http://localhost:9200/translations/translation/_search?pretty=true' -d '
{
"query" : {
"text" : { "translation.untouched":
"Hippopotomonstrosesquipedalian" }
}
}'
curl -XGET
'http://localhost:9200/translations/translation/_search?pretty=true' -d '
{
"query" : {
"text" : { "translation._all": "Hippopotomonstrosesquipedalian" }
}
}'
curl -XGET
'http://localhost:9200/translations/translation/_search?pretty=true' -d '
{
"query" : {
"text" : { "translation": "quip" }
}
}'
curl -XGET
'http://localhost:9200/translations/translation/_search?pretty=true' -d '
{
"query" : {
"text" : { "translation_all": "quip" }
}
}'