Interface FieldCustomization<T>

Type Parameters:
T - the type of customization required for the field
All Known Subinterfaces:
PhraseMatchingContext, RangeMatchingContext, TermMatchingContext

@Deprecated public interface FieldCustomization<T>
Deprecated.
See the deprecation note on QueryBuilder.
Author:
Emmanuel Bernard
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    Deprecated.
    Advanced Do not execute the analyzer on the text.
    Deprecated.
    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)
      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 boost value, it can be negative (advance)
      Returns:
      an instance of T for method chaining
    • ignoreAnalyzer

      T ignoreAnalyzer()
      Deprecated.
      Advanced Do not execute the analyzer on the text. (It is usually a good idea to apply the analyzer)
      Returns:
      an instance of T for method chaining
    • ignoreFieldBridge

      T ignoreFieldBridge()
      Deprecated.
      Do not try and find the field bridge nor apply the object / string conversion matching objects should be of type String in this case.
      Returns:
      an instance of T for method chaining