pivot.add( VALUE, null ); } else { ftype.readableToIndexed(fieldValue, termval); pivot.add( VALUE, ftype.toObject(field, termval.get()) );
String idStr = f.stringValue(); BytesRef idBytes = new BytesRef(); fieldType.readableToIndexed(idStr, idBytes);