Yes, just use Operations.union to merge each of your OR'd automata into a single one, and then search on that automaton.
But remember that leading wildcard searches are tremendously costly: they require a full scan of all terms in the index. Mike McCandless http://blog.mikemccandless.com On Tue, Nov 22, 2016 at 12:03 AM, hariram ravichandran <hariramravichan...@gmail.com> wrote: > I use automaton query to combine fuzzy and wildcard query.(for example a > query on "*lucy*" should also return "*lucene*"). That's working great. > > Now, if I search for "*lucy Automaton query*", I want all the documents > containing *lucene* or *Automaton* or *query* or *lucene Automaton* or *lucene > query* or *automaton query* or *lucene Automaton query*. > > Is *OR *search is possible using automaton? --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org