Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15067

Child doc transformer should use the perSegFilter cache

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.9
    • Component/s: None
    • Labels:

      Description

      The ChildDocTransformerFactory creates a QueryBitSetProducer every time.  These are heavy to compute; they should be cached.  BlockJoinParentQParserPlugin does this correctly, using the "perSegFilter" named Solr cache. They should both do the same.  To avoid duplication of logic, consider creating a new class named something like PerSegFilterCacheManager, or maybe manage directly on SolrIndexSearcher (alas; SIS is huge).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dsmiley David Smiley
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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