• No replies
3 Posts

Pinned topic Retrieving Document ID from CAS returns zero

‏2013-08-22T17:31:10Z |


ICA 3.0 with FP2.

We are using a custom Java annotator installed as part of a Pear file into the ICA parser pipeline.

Using the ICA metadata, we are retrieving various fields using code such as the following:

    // get document ID feature
      Feature documentIdFeature = esDocumentMetaDataType
      // get document ID feature value
      documentId = esDocumentMetaData.getIntValue(documentIdFeature);

However this always seems to return zero as the document ID. I believe the same code worked successfully in earlier ICA (OmniFind) versions.

Retrieving other metadata fields (URL, Date, Document Type, Data Source, etc.) works successfully.