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

Michael McCandless updated LUCENE-5781:
---------------------------------------

    Attachment: LUCENE-5781.patch

Simple patch that just creates each state lazily when we "really" need to add 
transitions to/from it.

> don't create unused states in LevenshteinAutomata
> -------------------------------------------------
>
>                 Key: LUCENE-5781
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5781
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.0, 4.10
>
>         Attachments: LUCENE-5781.patch
>
>
> While working on LUCENE-5752 I discovered that LevenshteinAutomata creates 
> unused states with cycles.  I think they are basically harmless but we still 
> shouldn't create them?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to