public void saveTokenLocationMap(final CharSequence token, final Object mapKey, final Map<CharSequence, Set<CharSequence>> map) {
String term = token.toString();
Document termDoc = getTermDocument(term);
termDoc.replaceItemValue(TERM_MAP_PREFIX + String.valueOf(mapKey), map);
termDoc.save();
}
@Override
public void setLastIndexDate(final Object mapKey, final Date date) {
Document dbDoc = getDbDocument((String) mapKey);