Completion Suggester with a Context and indexing field (mixte lowercase or uppercase ....)

Hi,
When using Completion Suggester with a Context, i note it is not possible to context_type field as an indexing field (lowercase or uppercase ....).
To test, you can use the same example in doc :
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html#context-suggester

Search for is OK :
...
"contexts": {
"place_type": [ "cafe"]
}

but KO for :
...
"contexts": {
"place_type": [ "Cafe"]
}
.....

Can someone explane me what it is not working.

Thanks

i aslo see for performance issue, empty context is not allow at version >= 7.0.0.

Perhap in the same way, they not allow at index time to analyse context_type

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