Interface QueryElevationParams


  • public interface QueryElevationParams
    Parameters used with the QueryElevationComponent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String EDITORIAL_MARKER_FIELD_NAME
      The name of the field that editorial results will be written out as when using the QueryElevationComponent, which automatically configures the EditorialMarkerFactory.
      static String ELEVATE_ONLY_DOCS_MATCHING_QUERY
      By default, the component will also elevate docs that aren't part of the search result (matching the query).
      static String ENABLE  
      static String EXCLUDE  
      static String EXCLUDE_MARKER_FIELD_NAME
      The name of the field that excluded editorial results will be written out as when using the QueryElevationComponent, which automatically configures the EditorialMarkerFactory.
      static String EXCLUSIVE  
      static String FORCE_ELEVATION  
      static String IDS  
      static String MARK_EXCLUDES
      Instead of removing excluded items from the results, passing in this parameter allows you to get back the excluded items, but to mark them as excluded.
      static String USE_CONFIGURED_ELEVATED_ORDER
      When multiple docs are elevated, should their relative order be the order in the configuration file or should they be subject to whatever the sort criteria is? True by default.
    • Field Detail

      • EDITORIAL_MARKER_FIELD_NAME

        static final String EDITORIAL_MARKER_FIELD_NAME
        The name of the field that editorial results will be written out as when using the QueryElevationComponent, which automatically configures the EditorialMarkerFactory. The default name is "elevated"
        See https://solr.apache.org/guide/query-elevation-component.html
        See Also:
        Constant Field Values
      • EXCLUDE_MARKER_FIELD_NAME

        static final String EXCLUDE_MARKER_FIELD_NAME
        The name of the field that excluded editorial results will be written out as when using the QueryElevationComponent, which automatically configures the EditorialMarkerFactory. The default name is "excluded". This is only used when MARK_EXCLUDES is set to true at query time.
        See https://solr.apache.org/guide/query-elevation-component.html
        See Also:
        Constant Field Values
      • MARK_EXCLUDES

        static final String MARK_EXCLUDES
        Instead of removing excluded items from the results, passing in this parameter allows you to get back the excluded items, but to mark them as excluded.
        See Also:
        Constant Field Values
      • USE_CONFIGURED_ELEVATED_ORDER

        static final String USE_CONFIGURED_ELEVATED_ORDER
        When multiple docs are elevated, should their relative order be the order in the configuration file or should they be subject to whatever the sort criteria is? True by default.
        See Also:
        Constant Field Values
      • ELEVATE_ONLY_DOCS_MATCHING_QUERY

        static final String ELEVATE_ONLY_DOCS_MATCHING_QUERY
        By default, the component will also elevate docs that aren't part of the search result (matching the query). If you only want to elevate the docs that are part of the search result, set this to true. False by default.
        See Also:
        Constant Field Values