KorAP / Krill

:mag: A Corpus Data Retrieval Index using Lucene for Look-Ups

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skipped results in focus queries when being part of a sequence

Akron opened this issue · comments

There seems to be a serious bug in the handling of focus - at least in our main instance. This may be a build error, as @kupietz says the bug wasn't there in the summer.

This query skips certain texts or matches:

Anführungszeichen focus(in [tt/p=NN] {[tt/l=setzen]})

for example

WUD17/G94/41145

So - the match is found, but seems to be skipped under certain circumstances.

As @margaretha pointed out, the problem seems to be related to annotations with the same positions.

The error occurs when comparing these two otherwise identical queries:

[tt/p=NN] focus(den Sand {[tt/l=setzen]})

and

Sand focus(den [tt/p=NN] {[tt/l=setzen]})

All tests pass now.