[
https://issues.apache.org/jira/browse/LUCENE-8213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406027#comment-16406027
]
Adrien Grand commented on LUCENE-8213:
--------------------------------------
I didn't remember pushing this {{maxCostFactor}} prototype I had been working
on and indeed I had pushed it inadvertently with changes on LUCENE-8008. It has
one issue that I didn't like which is that you can't use the bulk scorer for
caching anymore, which matters for disjunctions.
Regarding this issue, maybe one way to make it use the executor from
IndexSearcher would be to add an executor parameter to QueryCache.doCache so
that IndexSearcher can pass its executor to the cache.
> offload caching to a dedicated threadpool
> -----------------------------------------
>
> Key: LUCENE-8213
> URL: https://issues.apache.org/jira/browse/LUCENE-8213
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/query/scoring
> Affects Versions: 7.2.1
> Reporter: Amir Hadadi
> Priority: Minor
> Labels: performance
>
> IndexOrDocValuesQuery allows to combine non selective range queries with a
> selective lead iterator in an optimized way. However, the range query at some
> point gets cached by a querying thread in LRUQueryCache, which negates the
> optimization of IndexOrDocValuesQuery for that specific query.
> It would be nice to see a caching implementation that offloads to a different
> thread pool, so that queries involving IndexOrDocValuesQuery would have
> consistent performance characteristics.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]