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

suspicious FVH init code in DefaultSolrHighlighter even when FVH should not be used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.10
    • 5.2, 6.0
    • None
    • None

    Description

      Rich Hume reported gettting errors from FastVectorHighlighter, evidently while using the the surround query parser, even though he was not trying to "useFastVectorHighlighter"

      my naive reading of the code leads me to believe that DefaultSolrHighlighter is incorrectly attempting to initialize a FVH instance even when it shouldn't be – which appears to cause failures in cases where the query in use is not something that can be handled by the FVH.

      Not sure how to reproduce at the moment – but the code smells fishy.

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: