for ( int i = 0; i < quadTreeCellsIds.size(); i++ ) {
Term quadTreeCellTerm = new Term( fieldName, quadTreeCellsIds.get( i ) );
TermDocs quadTreeCellsDocs = reader.termDocs( quadTreeCellTerm );
if ( quadTreeCellsDocs != null ) {
while ( quadTreeCellsDocs.next() ) {
matchedDocumentsIds.fastSet( quadTreeCellsDocs.doc() );
found = true;
}
}
}