lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4899) FastVectorHighlihgter fails with SIOOB if single phrase or term is > fragCharSize
Date Fri, 05 Apr 2013 12:12:16 GMT

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

Koji Sekiguchi commented on LUCENE-4899:
----------------------------------------

Looks good! Sounds reasonable and I like the idea.
                
> FastVectorHighlihgter fails with SIOOB if single phrase or term is > fragCharSize
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-4899
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4899
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/highlighter
>    Affects Versions: 4.0, 4.1, 4.2, 3.6.2, 4.2.1
>            Reporter: Simon Willnauer
>             Fix For: 5.0, 4.3
>
>         Attachments: LUCENE-4899.patch, LUCENE-4899.patch
>
>
> This has been reported on several occasions like SOLR-4660 /  SOLR-4137 or on the ES
mailing list https://groups.google.com/d/msg/elasticsearch/IdyMSPK5gao/nKZq8_NYWmgJ
> The reason is that the current code expects the fragCharSize > matchLength which is
not necessarily true if you use phrases or if you have very long terms like URLs or so. I
have a test that reproduces the issue and a fix as far as I can tell (me doesn't have much
experience with the highlighter.

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