[
https://issues.apache.org/jira/browse/SOLR-12895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662396#comment-16662396
]
David Smiley commented on SOLR-12895:
-------------------------------------
bq. Another solution path is to insist that someone using this query parser
should set hl.offsetSource= (whatever) and furthermore we make changes in
UnifiedSolrHighlighter that make this value stick instead of getting optimized
away to NONE_NEEDED
I did a quick experiment. That won't always work since, for example,
MemoryIndexOffsetStrategy is too smart for its own good as it pre-filters the
tokens based on the extracted terms & automata which are both erroneously empty
as already established. But the other offset strategies ought to work. Any
way, I'm not going to pursue that further.
> SurroundQParserPlugin support for UnifiedHighlighter
> ----------------------------------------------------
>
> Key: SOLR-12895
> URL: https://issues.apache.org/jira/browse/SOLR-12895
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Major
> Attachments: SOLR-12895.patch, SOLR-12895.patch
>
>
> The "surround" QParser doesn't work with the UnififedHighlighter --
> LUCENE-8492. However I think we can overcome this by having Solr's QParser
> extend getHighlightQuery and rewrite itself.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]