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

Koji Sekiguchi updated LUCENE-3019:
-----------------------------------

    Attachment: LUCENE-3019.patch

The patch. It fixes the problem when usePhraseHighlighter=true.

When the flag is false and FVH works on N-gram field, not a few terms may be 
created in tree, then it causes uncontrollable.

But I think the case of using usePhraseHighlighter=false with N-gram field is 
rare, the attached patch will be enough.

> FVH: uncontrollable color tags
> ------------------------------
>
>                 Key: LUCENE-3019
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3019
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/highlighter
>    Affects Versions: 2.9.4, 3.0.3, 3.1, 4.0
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 3.2, 4.0
>
>         Attachments: LUCENE-3019.patch
>
>
> The multi-colored tags is a feature of FVH. But it is uncontrollable (or more 
> precisely, unexpected by users) that which color is used for each terms.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to