Class LocalSearchHintOptions


  • public final class LocalSearchHintOptions
    extends java.lang.Object
    Since:
    1.5
    No Instantiate:
    This class is not intended to be instantiated by clients.
    • Field Detail

      • USE_BASE_INDEX

        public static final QueryHintOption<java.lang.Boolean> USE_BASE_INDEX
      • PLANNER_TABLE_ROW_COUNT

        public static final QueryHintOption<java.lang.Integer> PLANNER_TABLE_ROW_COUNT
      • CONSULT_SURROGATES

        public static final QueryHintOption<java.lang.Boolean> CONSULT_SURROGATES
        Whether the search-based query backend is to use registered surrogate queries instead of derived features.

        If set to false, the query evaluation will access derived features normally, and take their output at face value. Normally, this should be fine for the search-based backend (as opposed to caching backends), and come at a lower performance cost. Hence the default is false.

        Setting this option to true will cause the backend to consult the surrogate query registered for a given feature, if any. Consider this if the default implementation of some features are known to be erroneous, and there are surrogates queries that would provide correct results instead.

        Since:
        2.9