In elastic we have Term and Terms level query .Term will be used for matching the field with exact value whereas Terms query is an equivalent to SQL IN Clause operation and tried to implement like:
Term Query:
{
"query": {
"term": {
"title": {
"value": "big THEORY",
"case_insensitive": true
}
}
}
}
Terms Query:
{
"query": {
"terms": {
"title":["big bang","big theory"]
}
}
}
in which case_insensitive is supported in Term Query.meanwhile i couldnt have any idea of how to use case_insensitive option in Terms Query.Any options to use it in Terms Query.
Thanks in Advance.