KorAP / Krill

:mag: A Corpus Data Retrieval Index using Lucene for Look-Ups
BSD 2-Clause "Simplified" License
16 stars 3 forks source link

Fix autocaching of named VCs #44

Closed Akron closed 2 years ago

Akron commented 6 years ago

Currently referenced named VCs that are not yet cached will be autocached during VC retrieval. This, however, can fail, when the reference is nested and an external constraint forces documents or index segments to be skipped during retrieval. This means: autocached VCs may return fewer resulting documents than possible.

A failing test is TestKrillCollectionIndex#testNamedVCsAfterCorpusWithMissingDocs .