Class ConnectedPhraseMatchingContext
java.lang.Object
org.hibernate.search.query.dsl.impl.ConnectedPhraseMatchingContext
- All Implemented Interfaces:
FieldCustomization<PhraseMatchingContext>,PhraseMatchingContext
-
Constructor Summary
ConstructorsConstructorDescriptionConnectedPhraseMatchingContext(String fieldName, PhraseQueryContext phraseContext, org.hibernate.search.query.dsl.impl.QueryCustomizer queryCustomizer, QueryBuildingContext queryContext) -
Method Summary
Modifier and TypeMethodDescriptionfield / property the term query is executed onboostedTo(float boost) 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)Advanced Do not execute the analyzer on the text.Do not try and find the field bridge nor apply the object / string conversion matching objects should be of type String in this case.Sentence to match.
-
Constructor Details
-
ConnectedPhraseMatchingContext
public ConnectedPhraseMatchingContext(String fieldName, PhraseQueryContext phraseContext, org.hibernate.search.query.dsl.impl.QueryCustomizer queryCustomizer, QueryBuildingContext queryContext)
-
-
Method Details
-
andField
Description copied from interface:PhraseMatchingContextfield / property the term query is executed on- Specified by:
andFieldin interfacePhraseMatchingContext
-
sentence
Description copied from interface:PhraseMatchingContextSentence to match. It will be processed by the analyzer- Specified by:
sentencein interfacePhraseMatchingContext
-
boostedTo
Description copied from interface:FieldCustomizationBoost 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)- Specified by:
boostedToin interfaceFieldCustomization<PhraseMatchingContext>
-
ignoreAnalyzer
Description copied from interface:FieldCustomizationAdvanced Do not execute the analyzer on the text. (It is usually a good idea to apply the analyzer)- Specified by:
ignoreAnalyzerin interfaceFieldCustomization<PhraseMatchingContext>
-
ignoreFieldBridge
Description copied from interface:FieldCustomizationDo not try and find the field bridge nor apply the object / string conversion matching objects should be of type String in this case.- Specified by:
ignoreFieldBridgein interfaceFieldCustomization<PhraseMatchingContext>
-