// not the empty lang, i.e. match all docs
assertEquals(1, this.regexQueryNrHits("~#"));
}
public void testCustomProvider() throws IOException {
final AutomatonProvider myProvider = new AutomatonProvider() {
// automaton that matches quick or brown
private final Automaton quickBrownAutomaton = BasicOperations.union(Arrays
.asList(BasicAutomata.makeString("quick"),
BasicAutomata.makeString("brown"),
BasicAutomata.makeString("bob")));