lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4887) FSA NoOutputs should implement merge() allowing duplicate keys
Date Tue, 26 Mar 2013 21:43:16 GMT

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

Ryan McKinley updated LUCENE-4887:
----------------------------------

    Attachment: LUCENE-4887.patch

merge as:
{code:java}
  @Override
  public Object merge(Object first, Object second) {
    assert first == NO_OUTPUT;
    assert second == NO_OUTPUT;
    return NO_OUTPUT;
  }
{code}
                
> FSA NoOutputs should implement merge() allowing duplicate keys
> --------------------------------------------------------------
>
>                 Key: LUCENE-4887
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4887
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Trivial
>         Attachments: LUCENE-4887.patch
>
>
> The NoOutput Object throws NotImplemented if you try to add the same input twice.  This
can easily be implemented

--
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