On 21.07.2015, at 18:05, Richard Eckart de Castilho <[email protected]> wrote:

> They are added right away.
> 
> On 21.07.2015, at 17:13, Thomas Ginter <[email protected]> wrote:
> 
>> Do you add those annotations to the CAS indexes right away or is that done 
>> as part of the close() method also?

Are you suggesting to add them only on close()?

So far I've only been using this in contexts where the only index was defined 
over begin/end. I can imagine that if additional indexes are defined over 
properties that are set on the annotations returned by JCasBuilder, it would be
more suitable to add everything to the index only when close() is called.

-- Richard

Reply via email to