title: Java method name analyzer
body: <p>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 </p>
  
  <pre><code>com.example.domain.File[] com.example.service.FolderService.getFiles() throws com.example.Exception
  </code></pre>
  
  <p>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? </p>
  
  <p>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.</p>
  
  <p>Looking for other suggestions, ideas as well.</p>