/** * Constructs a query for terms matching <code>term</code>. */ public WildcardQuery(Term term) { super(term, toAutomaton(term)); }
/** * Constructs a query for terms matching <code>term</code>. * @param maxDeterminizedStates maximum number of states in the resulting * automata. If the automata would need more than this many states * TooComplextToDeterminizeException is thrown. Higher number require more * space but can process more complex automata. */ public WildcardQuery(Term term, int maxDeterminizedStates) { super(term, toAutomaton(term), maxDeterminizedStates); }
/** * Constructs a query for terms matching <code>term</code>. */ public WildcardQuery(Term term) { super(term, toAutomaton(term)); }
/** * Constructs a query for terms matching <code>term</code>. * @param maxDeterminizedStates maximum number of states in the resulting * automata. If the automata would need more than this many states * TooComplextToDeterminizeException is thrown. Higher number require more * space but can process more complex automata. */ public WildcardQuery(Term term, int maxDeterminizedStates) { super(term, toAutomaton(term), maxDeterminizedStates); }
/** * Constructs a query for terms matching <code>term</code>. * @param maxDeterminizedStates maximum number of states in the resulting * automata. If the automata would need more than this many states * TooComplextToDeterminizeException is thrown. Higher number require more * space but can process more complex automata. */ public WildcardQuery(Term term, int maxDeterminizedStates) { super(term, toAutomaton(term), maxDeterminizedStates); }
/** * Constructs a query for terms matching <code>term</code>. */ public WildcardQuery(Term term) { super(term, toAutomaton(term)); }
/** * Constructs a query for terms matching <code>term</code>. */ public WildcardQuery(Term term) { super(term, toAutomaton(term)); }
/** * Constructs a query for terms matching <code>term</code>. * @param maxDeterminizedStates maximum number of states in the resulting * automata. If the automata would need more than this many states * TooComplextToDeterminizeException is thrown. Higher number require more * space but can process more complex automata. */ public WildcardQuery(Term term, int maxDeterminizedStates) { super(term, toAutomaton(term), maxDeterminizedStates); }
@Override public Automaton getAutomaton(Options options) { Term term = new Term(field, value); return WildcardQuery.toAutomaton(term); }