// Get Pointer Items and add to SolrInputDocument
for (PointerItem pointerItem : pointerItemList)
{
SSAFSolrFieldTypeEnum fieldType =
fieldMapping.get(pointerItem.getItemName());
Boolean isIndexed = null;
if (fieldType != null)
{
isIndexed = fieldType.isIndexed();
}
if (isIndexed == null)
{
throw new SSAFSolrException("Pointer item, "
+ pointerItem.getItemName()
+ ", is not defined in semantics");
}
if (Boolean.valueOf(isIndexed))
{
DataType dataType =
DataType.fromValue(fieldType.getDataType());
String fieldName =
pointerItem.getItemName() + "_" + dataType.value();
String pointerValue = "";