I am indexing the request logs from a java app and the logs contain key method names and time taken. The method names are full method names like
com.example.domain.File[] com.example.service.FolderService.getFiles() throws com.example.Exception
In order to search for a method name or type (like getfiles or File) I believe I need to define a custom analyzer so that it tokenizes the package and method names. Does such an analyzer already exist?
I verified that I can map the field as not_analyzed and use a wildcard for the search. But the docs say that using a wildcard is not very performant and recommends preparing the index correctly.
Looking for other suggestions, ideas as well.