> On 11.08.2016, at 21:17, Marshall Schor <[email protected]> wrote:
> 
> up the CAS, once (build/commit the type system, create the index repositories,
> etc.), and then load loop would run potentially significantly faster.

You assume that I use the TSI the reinit the CAS - but that is
not what I do. I don't touch the CAS configuration. 

I use the TSI (rather the TS) to enable lenient loading of the
COMPRESSED_FILTERED_TSI.

See CasIOUtils line 305ff. For your convenience:

          if (!leniently) {
            casImpl.setupCasFromCasMgrSerializer(casImpl, casMgrSerializer);  
          } else {
=>          ts = casMgrSerializer.getTypeSystem();
=>          ts.commit();
          }
    ... <snip> ...
=>        return casImpl.reinit(h, casInputStream, ts);


Cheers,

-- Richard

Reply via email to