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

Child doc transformer should use the perSegFilter cache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.9
    • None

    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

              Unassigned Unassigned
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              4 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