Good morning, I am struggling with insensitive searching (elasticsearch version 2.4.6).
Currently, I am using Ruby on Rails and using wrapper for Elasticsearch.
My configuration is:
(record has a string for example: "this is Computer!")
when a query is "is Comp" or "is comp" it should find the record with "this is Computer!" string
query: {
filtered: {
query: {
regexp: {
'_all': ".*#{query}.*"
}
}
}
}
also I have settings:
"analyzer": "custom_keyword" with:
{
"filter": ["lowercase"],
"type": "keyword"
}
and it works with:
"_all": {
"analyzer": "custom_keyword"
}
What is wrong with that? Thanks for suggestions
Updated:
Found something like https://github.com/elastic/elasticsearch/issues/18064#issuecomment-259449484
Testing it.