SearchMetadata

class SearchMetadata(meta: CoreSearchMetaData, coreFacets: Map<String, CoreSearchFacetResult>) : SearchFlowItem, FacetResultAccessor

Metadata about query execution. Always the last item in the flow.

Constructors

Link copied to clipboard
fun SearchMetadata(meta: CoreSearchMetaData, coreFacets: Map<String, CoreSearchFacetResult>)

Functions

Link copied to clipboard
open operator override fun get(facet: DateFacet): DateFacetResult?

Returns the DateFacetResult with the same name as facet, or null if none of the search results matched the facet.

open operator override fun get(facet: NumericFacet): NumericFacetResult?

Returns the NumericFacetResult with the same name as facet, or null if none of the search results matched the facet.

open operator override fun get(facet: TermFacet): TermFacetResult?

Returns the TermFacetResult with the same name as facet, or null if none of the search results matched the facet.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val errors: Map<String, String>

Map from failed partition name to error message.

Link copied to clipboard
open override val facets: List<FacetResult<*>>
Link copied to clipboard
val metrics: SearchMetrics