Need to write a custom analyzer for ElasticsearchRepository findBy query
问题 I have an ES collection with following doc schema. ` public class Address { @Id private String id; private String name; private String type; private String city; } ` My repository looks like as follows: public interface NetworkElementsESRepository extends ElasticsearchRepository<Address, String> { Address findByNameAndCity(String name, String city);} I need to fetch all addresses with name= "B00/A3K/24" in a particular city using following Query. addressRepo.findByNameAndCity(Name,City) . I