You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/07/25 01:09:48 UTC

[jira] [Updated] (LUCENE-5133) AnalyzingInfixSuggester should return structured highlighted results instead of single String per result

     [ https://issues.apache.org/jira/browse/LUCENE-5133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-5133:
---------------------------------------

    Attachment: LUCENE-5133.patch

Patch, adding another field to LookupResult, holding an array of
LookupHighlightFragment instances that the caller can concatenate
back together to make the highlighted string.

                
> AnalyzingInfixSuggester should return structured highlighted results instead of single String per result
> --------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5133
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5133
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>             Fix For: 5.0, 4.5
>
>         Attachments: LUCENE-5133.patch
>
>
> Today it renders to an HTML string (<b>..</b> for hits) in protected
> methods that one can override to change the highlighting, but this is
> hard/inefficient to use for search servers that want to e.g. return
> JSON representation of the highlighted result.
> This is the same issue as LUCENE-4906 (PostingsHighlighter) but for
> AnalyzingInfixSuggester's highlights instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org