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

Allow extending QueryComponent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2.1
    • 5.5
    • None

    Description

      QueryComponent is, after all this time, still not extendable. Overriding a simple method is mostly impossible due to members being private or usage of non-public classes. Copying all code to an external class is also not going to work because of this. This patch finally allows overriding QueryComponent methods such as createMainQuery and mergeIds.

      Attachments

        1. SOLR-7968.patch
          21 kB
          Markus Jelsma
        2. SOLR-7968.patch
          21 kB
          Markus Jelsma

        Activity

          People

            dsmiley David Smiley
            markus17 Markus Jelsma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: