Elastic java client search non case sensitive


(Fabioebner) #1

Can anyone help me?? i need to create one search with case NON sensitive.

tks


(Mark Walkom) #2

Is the field you are searching analysed or not?


(Fabioebner) #3

Not but if you need I can analyze

tks


(Fabioebner) #4

anyone??


(David Pilato) #5

As @warkolm said, make sure your field is analyzed in the mapping and use something like a match query or a simple_query_string query.


(system) #6