public interface QueryCache
|Modifier and Type||Method and Description|
Return a wrapper around the provided
Weight doCache(Weight weight, QueryCachingPolicy policy)
weightthat will cache matching docs per-segment accordingly to the given
policy. NOTE: The returned weight will only be equivalent if scores are not needed.
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.