Package org.hibernate.search.query.dsl
Interface SimpleQueryStringMatchingContext
-
- All Superinterfaces:
SimpleQueryStringDefinitionTermination
@Deprecated public interface SimpleQueryStringMatchingContext extends SimpleQueryStringDefinitionTermination
Deprecated.See the deprecation note onQueryBuilder.- Author:
- Guillaume Smet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SimpleQueryStringMatchingContextandField(String field)Deprecated.Field the query is executed on.SimpleQueryStringMatchingContextandFields(String... field)Deprecated.Fields the query is executed on.SimpleQueryStringMatchingContextboostedTo(float boost)Deprecated.Boost the field to a given value Most of the time positive float: - lower than 1 to diminish the weight - higher than 1 to increase the weight Could be negative but not unless you understand what is going on (advanced)SimpleQueryStringDefinitionTerminationwithAndAsDefaultOperator()Deprecated.Define the default operator as AND.-
Methods inherited from interface org.hibernate.search.query.dsl.SimpleQueryStringDefinitionTermination
matching
-
-
-
-
Method Detail
-
boostedTo
SimpleQueryStringMatchingContext boostedTo(float boost)
Deprecated.Boost the field to a given value Most of the time positive float: - lower than 1 to diminish the weight - higher than 1 to increase the weight Could be negative but not unless you understand what is going on (advanced)- Parameters:
boost- the value to use as boost- Returns:
thisfor method chaining
-
andField
SimpleQueryStringMatchingContext andField(String field)
Deprecated.Field the query is executed on.- Parameters:
field- The absolute path of an index field.- Returns:
thisfor method chaining
-
andFields
SimpleQueryStringMatchingContext andFields(String... field)
Deprecated.Fields the query is executed on.- Parameters:
field- The absolute path of an index field.- Returns:
thisfor method chaining
-
withAndAsDefaultOperator
SimpleQueryStringDefinitionTermination withAndAsDefaultOperator()
Deprecated.Define the default operator as AND.- Returns:
thisfor method chaining
-
-