[ 
https://issues.apache.org/jira/browse/SOLR-7488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519771#comment-14519771
 ] 

David Smiley commented on SOLR-7488:
------------------------------------

[[email protected]] I fixed this in SOLR-6692 (for v5.2) along with 
various other refactorings.  It's now lazy initialized.  This will save 
performance on wildcard queries too since FVH will expand it even if you will 
never use the FVH.

> suspicious FVH init code in DefaultSolrHighlighter even when FVH should not 
> be used
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-7488
>                 URL: https://issues.apache.org/jira/browse/SOLR-7488
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.10
>            Reporter: Hoss Man
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to