Package | Description |
---|---|
io.ebean | |
io.ebean.search |
Provides text search expressions like Match, TextQueryString etc.
|
Modifier and Type | Method and Description |
---|---|
ExpressionList<T> |
ExpressionList.match(String propertyName,
String search,
Match options)
Add a match expression with options.
|
Expression |
ExpressionFactory.textMatch(String propertyName,
String search,
Match options)
Create a Text Match expression (currently doc store/Elastic only).
|
Modifier and Type | Method and Description |
---|---|
Match |
Match.analyzer(String analyzer)
Set the Analyzer to use for this expression.
|
Match |
Match.boost(double boost)
Set the boost.
|
Match |
Match.cutoffFrequency(double cutoffFrequency)
Set the cutoff frequency.
|
Match |
Match.maxExpansions(int maxExpansions)
Set the max expansions (for phrase prefix only).
|
Match |
Match.minShouldMatch(String minShouldMatch)
Set the rewrite to use.
|
Match |
Match.opAnd()
Use the AND operator (rather than OR).
|
Match |
Match.opOr()
Use the OR operator (rather than AND).
|
Match |
Match.phrase()
Set this to be a "Phrase" type expression.
|
Match |
Match.phrasePrefix()
Set this to be a "Phrase Prefix" type expression.
|
Match |
Match.rewrite(String rewrite)
Set the rewrite to use.
|
Match |
Match.zeroTerms(String zeroTerms)
Set the zero terms.
|
Copyright © 2019. All rights reserved.