Re: 'OR' search using Automaton query

2016-11-22 Thread Michael McCandless
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 Tu

'OR' search using Automaton query

2016-11-21 Thread hariram ravichandran
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 qu