Package org.hibernate.search.query.dsl
Interface TermContext
- All Superinterfaces:
QueryCustomization<TermContext>
Deprecated.
- Author:
- Emmanuel Bernard
-
Method Summary
Modifier and TypeMethodDescriptionfuzzy()Deprecated.Use a fuzzy search approximation (aka edit distance)Deprecated.Deprecated.wildcard()Deprecated.Treat the query as a wildcard query which means: '?' represents any single character '*' represents any character sequence For faster results, it is recommended that the query text does not start with '?' or '*'.Methods inherited from interface org.hibernate.search.query.dsl.QueryCustomization
boostedTo, filteredBy, withConstantScore
-
Method Details
-
onField
Deprecated.- Parameters:
field- The field name the term query is executed on- Returns:
TermMatchingContextto continue the term query
-
onFields
Deprecated.- Parameters:
field- The field names the term query is executed on. The underlying properties for the specified fields need to be of the same type. For example, it is not possible to use this method with a mixture of string and date properties. In the mixed case an alternative is to build multiple term queries and combine them viaQueryBuilder.bool()- Returns:
TermMatchingContextto continue the term query
-
fuzzy
FuzzyContext fuzzy()Deprecated.Use a fuzzy search approximation (aka edit distance)- Returns:
FuzzyContextto continue the fuzzy query
-
wildcard
WildcardContext wildcard()Deprecated.Treat the query as a wildcard query which means:- '?' represents any single character
- '*' represents any character sequence
- Returns:
WildcardContextto continue the wildcard query
-
QueryBuilder.