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

Koji Sekiguchi commented on LUCENE-3668:
----------------------------------------

Thank you for opening this issue, Robert!

bq. Using the old impl imo is no workaround, the offsets are crazy (each 
individual word gets 0-22).

Good point. Using old impl, if I search for national, the whole phrase of 
"national hockey league" is highlighted.

bq. But i think we should just leave it be and try to improve the new one.

+1
                
> offsets issues with multiword synonyms
> --------------------------------------
>
>                 Key: LUCENE-3668
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3668
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: modules/analysis
>            Reporter: Robert Muir
>         Attachments: LUCENE-3668_test.patch
>
>
> as reported on the list, there are some strange offsets with FSTSynonyms, in 
> the case of multiword synonyms.
> as a workaround it was suggested to use the older synonym impl, but it has 
> bugs too (just in a different way).

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to