bs = state.getConnector().createBatchScanner(dataTableName, Authorizations.EMPTY, 16);
for (int i = 0; i < words.length; i++) {
IteratorSetting more = new IteratorSetting(20 + i, "ii" + i, RegExFilter.class);
RegExFilter.setRegexs(more, null, null, null, "(^|(.*\\s))" + words[i] + "($|(\\s.*))", false);
bs.addScanIterator(more);
}
bs.setRanges(Collections.singleton(new Range()));
HashSet<Text> documentsFoundByGrep = new HashSet<Text>();