SingleValueHashedStringFieldData sFieldData = (SingleValueHashedStringFieldData) type.load(reader, "mvalue");
assertThat(sFieldData.hasValue(0),equalTo(true));
final int[] count = {0};
sFieldData.forEachValueInDoc(0, new HashedStringFieldData.HashedStringValueInDocProc() {
@Override
public void onValue(int docId, int Hash) {
count[0]++;
}