List<PointerItem> pointerItemList = pointerItems.getPointerItem();
// Get Pointer Items and add to SolrInputDocument
for (int i = 0; i < pointerItemList.size(); i++)
{
PointerItem pointerItem = pointerItemList.get(i);
if (pointerItem != null && (pointerItem.isIndexed()!=null && pointerItem.isIndexed() ))
{
if ((pointerItem.getPointerValue() != null) && (pointerItem.getPointerName() != null)) {
doc.addField("stash-content", pointerItem.getPointerName().toLowerCase().replace(' ', '_')+"_"+pointerItem.getPointerValue().toLowerCase().replace(' ', '_'));
} else {
if ( (pointerItem.getPointerBase64Value() != null) ||
(pointerItem.getPointerHexValue() != null) ||
(pointerItem.getPointerUriValue() != null)
)
{
throw new SSAFSolrException();
}
}