assertFalse( documentIterator.hasNext() );
}
public void testDoubleRemapping() throws IOException, QueryBuilderVisitorException {
Query query = new Remap( new Or( new Term( "a" ), new Select( "index1", new Term( "b" ) ) ), new CharSequence[] { "index0", "index1" }, new CharSequence[] { "index2", "index3" } );
DocumentIteratorBuilderVisitor documentIteratorBuilderVisitor = new DocumentIteratorBuilderVisitor( indexMap, index0, Integer.MAX_VALUE );
DocumentIterator documentIterator = query.accept( documentIteratorBuilderVisitor );
IntervalIterator intervalIterator;
assertTrue( documentIterator.hasNext() );