Hi I'm not sure if I understood your question correctly, but a normal way lucene update an existing automaton is to intersect or union it with another one (the new one with the updated data), those operations' code are collected here: https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/util/automaton/Operations.java
Patrick On Thu, May 5, 2022 at 6:19 PM Tomoko Uchida <tomoko.uchida.1...@gmail.com> wrote: > Hi, > I can't answer your question but I remember this issue - > https://issues.apache.org/jira/browse/LUCENE-10010 > > Tomoko > > > 2022年5月6日(金) 2:47 Petar Dambovaliev <petar.atanasov.1...@gmail.com>: > >> Hello, >> >> I was looking for a way to update Non/Deterministic finite automatons >> with new data. >> Some people pointed out that "Lucene is doing that. You should ask them >> how they do it.". >> So here i am. I would appreciate it if someone can point me in the right >> direction so i can see how you are doing this. >> Thank you. >> >