lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4899) FastVectorHighlihgter fails with SIOOB if single phrase or term is > fragCharSize
Date Wed, 03 Apr 2013 08:55:15 GMT
Simon Willnauer created LUCENE-4899:
---------------------------------------

             Summary: 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: 3.6.2, 4.2, 4.1, 4.0, 4.2.1
            Reporter: Simon Willnauer
             Fix For: 5.0, 4.3


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