// AND the term's bitset with cluster doc bitset to get the term's in-cluster frequency.
// This modifies the termBitset, but that's fine as we are not using it anywhere else.
termBitset.and(clusterDocBitset);
int inclusterDF = (int) termBitset.cardinality();
TermEntry entry = new TermEntry(term.text(), count++, inclusterDF);
termEntryMap.put(entry.term, entry);
} while (te.next());
te.close();
List<TermInfoClusterInOut> clusteredTermInfo = new LinkedList<TermInfoClusterInOut>();