Interface IndexerQueryContext

  • All Known Implementing Classes:
    DefaultIndexerQueryContext

    public interface IndexerQueryContext
    This interface represents a context valid for the duration of an indexer query.
    • Method Detail

      • getFacetSearchConfig

        FacetSearchConfig getFacetSearchConfig()
        Returns the facet search configuration.
        Returns:
        the facet search configuration
      • getIndexedType

        IndexedType getIndexedType()
        Returns the indexed type.
        Returns:
        the indexed type
      • getQuery

        java.lang.String getQuery()
        Returns the query.
        Returns:
        the query
      • getQueryParameters

        java.util.Map<java.lang.String,​java.lang.Object> getQueryParameters()
        Returns the query parameters.
        Returns:
        the query parameters
      • getFailureExceptions

        java.util.List<java.lang.Exception> getFailureExceptions()
        Returns all failure causing exceptions for this IndexerQueryContext.
      • getAttributes

        java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
        Returns a Map instance that can be used to store attributes. The attributes are only valid for the duration of the index process.
        Returns:
        the map containing the attributes