You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/01 00:11:58 UTC

[jira] [Resolved] (LUCENE-3742) SynFilter doesn't set offsets for outputs that hang off the end of the input tokens

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

Michael McCandless resolved LUCENE-3742.
----------------------------------------

    Resolution: Fixed

I set the offset to match the last input token...
                
> SynFilter doesn't set offsets for outputs that hang off the end of the input tokens
> -----------------------------------------------------------------------------------
>
>                 Key: LUCENE-3742
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3742
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.6, 4.0
>
>         Attachments: LUCENE-3742.patch
>
>
> If you have syn rule a -> x y and input a then output is a/x y but... what should y's offsets be?  Right now we set to 0/0.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org