.search( base, scope, exprNode, aliasDerefMode, null );
// advancing the cursor forward and backward must give the same result
for ( int count = 1; count < 20; count++ )
{
cursor.beforeFirst();
List<String> nextResults = new ArrayList<String>();
while ( nextResults.size() < count && cursor.next() )
{