QueryCache

interface QueryCache

A cache for queries.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun doCache(weight: Weight, policy: QueryCachingPolicy): Weight

Return a wrapper around the provided weight that will cache matching docs per-segment accordingly to the given policy. NOTE: The returned weight will only be equivalent if scores are not needed.