Unable to do case insensetive exact match search using scripted field

Hi,
There is script I used to create scripted field:

language: painless
type: string
doc['bank_client_entity_name.keyword'].value.toLowerCase()

I wanna to do exact match using scripted field because keyword field is case sensetive so I create scripted field but it is not giving exact match.

please give me solution if I could make type as keyword for scripted field.or any other solution.

Hi @ajit,

Can you share the query you're using with the scripted field that isn't working properly?

Thanks,
Chris

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