[
https://issues.apache.org/jira/browse/LUCENE-3668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-3668:
---------------------------------------
Attachment: LUCENE-3668.patch
Patch; I think it's ready.
I fixed the syn filter to set the start/end offset only when the
right-hand-side of the rule has a single token; else, it does what it did
before (inherit start/end offset from the single input token the output is "on
top of").
> 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
> Assignee: Michael McCandless
> Attachments: LUCENE-3668.patch, 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]