#594 - ElasticSearch - Add support for TextSimple, TextQueryString and TextCommon full text search expressions

This commit is contained in:
Robin Bygrave
2016-03-11 14:52:27 +13:00
parent 75a84af3f8
commit 049bf76cc4
17 changed files with 994 additions and 48 deletions
@@ -37,7 +37,7 @@ public class TextExpressionListTest {
.match("title", "war and peace")
.match("author", "leo tolstoy")
.should()
.match("translator", "Constance Garnett", Match.AND().boost(2).minShouldMatch("75%"))
.match("translator", "Constance Garnett", new Match().opAnd().boost(2).minShouldMatch("75%"))
.match("translator", "Louise Maude")
.where()
.gt("reviewDate", 12345);