getUpperLocalNameTerm(), inclusive);
BooleanQuery query = new BooleanQuery();
query.add(new JackrabbitTermQuery(new Term(FieldNames.NAMESPACE_URI,
getNamespaceURI())), BooleanClause.Occur.MUST);
query.add(localNames, BooleanClause.Occur.MUST);
return query.rewrite(reader);
} else {
return new RangeQuery(getLowerTerm(), getUpperTerm(), inclusive).rewrite(reader);
}
}