In Geode version 1.10.0, how can I create a LuceneQuery from LuceneQueryFactory that executes both
- Lucene query string
- Dynamic query
in one go?
In other words, is there a mechanism to combine the below queries and execute them as one single query?
LuceneQuery<Long, Customer> luceneQuery1 =
luceneService
.createLuceneQueryFactory()
.setLimit(100)
.create("customerIndex", "customerReg", "postcode:abc def", "customerId");
and
LuceneQuery<Long, Customer> luceneQuery2 =
luceneService
.createLuceneQueryFactory()
.setLimit(100)
.create("customerIndex", "customerReg", index -> IntPoint.newRangeQuery("age", 20, 30));