Class TextQueryString

java.lang.Object
io.ebean.search.TextQueryString

public class TextQueryString extends Object
Text query string options.

This maps to an ElasticSearch "query string query".



  TextQueryString options = new TextQueryString()
       .analyzeWildcard(true)
       .fields("name")
       .lenient(true)
       .opAnd();

   List<Customer> customers = database.find(Customer.class)
       .text()
       .textSimple("quick brown", options)
       .findList();

 


  // just use default options
  TextQueryString options = new TextQueryString();

   List<Customer> customers = database.find(Customer.class)
       .text()
       .textSimple("quick brown", options)
       .findList();