#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
@@ -4,6 +4,9 @@ import com.avaje.ebean.LikeType;
import com.avaje.ebean.TextJunction;
import com.avaje.ebean.search.Match;
import com.avaje.ebean.search.MultiMatch;
import com.avaje.ebean.search.TextCommonTerms;
import com.avaje.ebean.search.TextQueryString;
import com.avaje.ebean.search.TextSimple;
import java.io.IOException;
import java.util.List;
@@ -104,6 +107,21 @@ public interface DocQueryContext {
*/
void writeMultiMatch(String search, MultiMatch options) throws IOException;
/**
* Write a simple expression.
*/
void writeTextSimple(String search, TextSimple options) throws IOException;
/**
* Write a common terms expression.
*/
void writeTextCommonTerms(String search, TextCommonTerms options) throws IOException;
/**
* Write a query string expression.
*/
void writeTextQueryString(String search, TextQueryString options) throws IOException;
/**
* Start a Bool which may contain some of Must, Must Not, Should.
*/