org.hibernate.search.query.dsl
Interface FieldCustomization<T>

All Known Subinterfaces:
PhraseMatchingContext, RangeMatchingContext, TermMatchingContext
All Known Implementing Classes:
ConnectedPhraseMatchingContext, ConnectedRangeMatchingContext, ConnectedTermMatchingContext

public interface FieldCustomization<T>

Author:
Emmanuel Bernard

Method Summary
 T boostedTo(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)
 T ignoreAnalyzer()
          Advanced Do not execute the analyzer on the text.
 T ignoreFieldBridge()
          Do not try and find the field bridge nor apply the object / string conversion matching objects should be of type String in this case.
 

Method Detail

boostedTo

T boostedTo(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)


ignoreAnalyzer

T ignoreAnalyzer()
Advanced Do not execute the analyzer on the text. (It is usually a good idea to apply the analyzer)


ignoreFieldBridge

T ignoreFieldBridge()
Do not try and find the field bridge nor apply the object / string conversion matching objects should be of type String in this case.



Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved