Term t = wildcardQuery.getTerm();
if( termField == null && aliases.containsKey(t.field()) ) {
Field field = aliases.get(t.field());
Term newTerm = field.createTerm(t.text());
WildcardQuery newTermQuery = new WildcardQuery(newTerm);
return newTermQuery;
}
return super.visit(wildcardQuery, termField);