Case insensitive search by using query in java API

Can you describe a bit more what you have at this moment as a simple example so it will be easier to help you?

See this as an example: About the Elasticsearch category