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

Add STAGE_PREPROCESSING in ResponseBuilder and use it in QueryComponent

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This patch introduces a new stage that is performed between STAGE_START and STAGE_PARSE_QUERY.

      In QueryComponent the PARSE_QUERY stage does some preparatory work before the query can be run rather than parsing the query. This patch proposes replacing that stage in QueryComponent with STAGE_PREPROCESSING. 

      In future this stage could be extended to perform analysis on a request before all the components start processing it, and then abort execution if the request is believed to be too costly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dmarino Domenico Fabio Marino
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: