Is your feature request related to a problem? Please describe
Now we can't search value using termQueryCaseInsensitive/termQuery in keyword field if the index=false, but we can search value from the numeric field if the index=false.
PUT t1
{
"mappings": {
"properties":{
"keyword1":{
"type": "keyword",
"index":"false"
},
"int1":{
"type": "integer",
"index":"false"
}
}
}
}
As example, field int1 can be searched using termQueryCaseInsensitive/termQuery, but keyword1 can't.
Describe the solution you'd like
We can search from doc_value using termQueryCaseInsensitive/termQuery in flat_object/keyword field, even if index=false
Related component
Search
Describe alternatives you've considered
No response
Additional context
No response