On Thu, Mar 21, 2013 at 4:17 PM, Uwe Schindler wrote:
> You can do the following:
>
> Automaton automaton = WildcardQuery.toAutomaton(wildcardTerm); // this
> transforms the wildcard syntax with ? and * to a state machine
> CompiledAutomaton compiled = new CompiledAutomaton(automaton); // copiles
You can do the following:
Automaton automaton = WildcardQuery.toAutomaton(wildcardTerm); // this
transforms the wildcard syntax with ? and * to a state machine
CompiledAutomaton compiled = new CompiledAutomaton(automaton); // copiles the
state machine
TermsEnum enum = compiled.getTermsEnum(terms