mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#594 - ElasticSearch - Add support for TextSimple, TextQueryString and TextCommon full text search expressions
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user