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

Stack SolrRequestInfo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.6
    • None
    • None

    Description

      Sometimes SolrRequestInfo need to be suspended/overridden with a new one that is used temporarily. Examples are in the [subquery] transformer, and in warm of caches, and in QuerySenderListener (another type of warming), maybe others. This can be annoying to do correctly, and in at least one place it isn't done correctly. SolrRequestInfoSuspender shows some complexity. In this issue, dsmiley proposes using a stack internally to SolrRequestInfo that is push'ed and pop'ed. It's not the only way to solve this but it's one way.

      See linked issues for the context and discussion.

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 3h 10m
                  3h 10m