You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shay Banon (Commented) (JIRA)" <ji...@apache.org> on 2012/01/15 20:55:39 UTC
[jira] [Commented] (LUCENE-3697) FastVectorHighlighter
SimpleBoundaryScanner does not work well when highlighting at the beginning
of the text
[ https://issues.apache.org/jira/browse/LUCENE-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186576#comment-13186576 ]
Shay Banon commented on LUCENE-3697:
------------------------------------
This causes the SimpleFragmentsBuilderTest#testMVSeparator to fail, because it has empty string fields which are separated by a custom separator. I think if you do that, the boundy config should include the separator character (not sure what the implications are to ignore empty strings). I can fix it to do so if the patch make sense.
> FastVectorHighlighter SimpleBoundaryScanner does not work well when highlighting at the beginning of the text
> --------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-3697
> URL: https://issues.apache.org/jira/browse/LUCENE-3697
> Project: Lucene - Java
> Issue Type: Bug
> Components: modules/highlighter
> Reporter: Shay Banon
> Attachments: LUCENE-3697.patch
>
>
> The SimpleBoundaryScanner still breaks text not based on characters provided when highlighting text that end up scanning to the beginning of the text to highlight. In this case, just use the start of the text as the offset.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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