lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5087) add PostingsHighlighter.getGapSeparator
Date Tue, 02 Jul 2013 12:02:20 GMT

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

Michael McCandless commented on LUCENE-5087:
--------------------------------------------

+1

Maybe instead of getSeparatorGap name it something like getMultiValuedSeparator or something?
                
> add PostingsHighlighter.getGapSeparator
> ---------------------------------------
>
>                 Key: LUCENE-5087
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5087
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/highlighter
>            Reporter: Robert Muir
>         Attachments: LUCENE-5087.patch
>
>
> Currently this is hardcoded to a space. But in some situations for a multi-valued field
(e.g. authors field), its convenient to treat each value discretely. See LUCENE-2603 for example.
> So for such a field its nice if you can override and specify something else like U+2029
PARAGRAPH SEPARATOR.

--
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


Mime
View raw message