Interface FieldCustomization<T>

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

public interface FieldCustomization<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    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.
  • Method Details

    • 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.