On 9/30/11 4:38 PM, Marshall Schor wrote:
Can you say a bit more what this is?
Sure. The intent of the ID field is to reference a CAS instance to
another system.
Lets say we have an application where a UIMA analysis pipeline is used
to process documents
which are stored in a database there you need to write the IDs of the
documents into the CAS,
otherwise it is not possible to write analysis results back to the database.
So typically your collection reader or first AE in the pipeline will set
the ID and the last AE in the
pipeline will use it again to save the analysis results.
Currently you always need to define a FS which holds your custom ID, but
I guess a generic
string ID field would be just fine for almost any use case.
Jörn