Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8213

Cache costly subqueries asynchronously

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 7.2.1
    • None
    • core/query/scoring
    • New

    Description

      IndexOrDocValuesQuery allows to combine costly 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 an asynchronous caching implementation in such cases, so that queries involving IndexOrDocValuesQuery would have consistent performance characteristics.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hermes Amir Hadadi
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 21.5h
                  21.5h