Package | Description |
---|---|
io.ebean | |
io.ebean.search |
Provides text search expressions like Match, TextQueryString etc.
|
Modifier and Type | Method and Description |
---|---|
ExpressionList<T> |
ExpressionList.multiMatch(String search,
MultiMatch options)
Add a multi-match expression using options.
|
Expression |
ExpressionFactory.textMultiMatch(String query,
MultiMatch options)
Create a Text Multi match expression (currently doc store/Elastic only).
|
Modifier and Type | Method and Description |
---|---|
MultiMatch |
MultiMatch.analyzer(String analyzer)
Set the Analyzer to use for this expression.
|
MultiMatch |
MultiMatch.boost(double boost)
Set the boost.
|
MultiMatch |
MultiMatch.cutoffFrequency(double cutoffFrequency)
Set the cutoff frequency.
|
static MultiMatch |
MultiMatch.fields(String... fields)
Create with the given fields.
|
MultiMatch |
MultiMatch.maxExpansions(int maxExpansions)
Set the max expansions (for phrase prefix only).
|
MultiMatch |
MultiMatch.minShouldMatch(String minShouldMatch)
Set the minimum should match value.
|
MultiMatch |
MultiMatch.opAnd()
Use the AND operator (rather than OR).
|
MultiMatch |
MultiMatch.opOr()
Use the OR operator (rather than AND).
|
MultiMatch |
MultiMatch.rewrite(String rewrite)
Set the rewrite to use.
|
MultiMatch |
MultiMatch.tieBreaker(double tieBreaker)
Set the tieBreaker to use.
|
MultiMatch |
MultiMatch.type(MultiMatch.Type type)
Set the type of query.
|
MultiMatch |
MultiMatch.zeroTerms(String zeroTerms)
Set the zero terms.
|
Copyright © 2019. All rights reserved.