Unable to do case insensetive exact match search using scripted field


(ajit) #1

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.


(Chris Roberson) #2

Hi @ajit,

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

Thanks,
Chris


(system) #3

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