Class TextSimple


  • public class TextSimple
    extends Object
    Simple text query options.

    This maps to an ElasticSearch "simple text query".

    
    
      TextSimple options = new TextSimple()
           .analyzeWildcard(true)
           .fields("name")
           .lenient(true)
           .opAnd();
    
       List<Customer> customers = database.find(Customer.class)
           .text()
           .textSimple("quick brown", options)
           .findList();