int index = 0;
Cursor c = flatten(iterator.next(), plan, filter, state,
path + " and(" + index + ")");
while (iterator.hasNext()) {
index++;
FullTextExpression input = iterator.next();
Cursor newC = flatten(input, plan, filter, state,
path + " and(" + index + ")");
c = Cursors.newIntersectionCursor(c, newC,
filter.getQueryEngineSettings());
}