.add(DocumentBuilder.field("svalue", "aaa")).build());
IndexReader reader = IndexReader.open(indexWriter, true);
HashedStringFieldType type = new HashedStringFieldType(new HashedStringFieldData.HashedStringTypeLoader(0,0, null, null));
SingleValueHashedStringFieldData sFieldData = (SingleValueHashedStringFieldData) type.load(reader, "svalue");
assert (sFieldData.fieldName().equals("svalue"));
assert (!sFieldData.multiValued());
assertThat(sFieldData.collisions(),equalTo(0));