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

Start up Core Container via ServletContextListener

    XMLWordPrintableJSON

Details

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

    Description

      Anyone who has had to work on HttpSolrCall,  or SolrDispatchFilter will have noticed that we have a LOT going on and that it gets very convoluted. This is bad for maintenance, and probably also bad for performance.  After reading for a while I suspect that the primary thing that has lead to this is that the only way to get a reference to CoreContainer is to be in or initialized in or invoked by the SolrDispatchFilter or HttpSolrCall classes.

      To isolate the startup code and not distract from the dispatch code and also to make it possible to later add features that don't live in SolrDispatchFilter and also possibly to split out some features from SolrDispatchFilter into servlets or separate filters, this ticket moves CoreContainer into a CoreService class that will provide CoreContainer and a few other objects like the httpclient to other components that need it.

      Attachments

        Issue Links

          Activity

            People

              gus Gus Heck
              gus Gus Heck
              Votes:
              0 Vote for this issue
              Watchers:
              9 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 - 9.5h
                  9.5h