Odd indexing bug in EFES

6 views
Skip to first unread message

elli mylonas

unread,
Jun 24, 2026, 6:01:39 PMJun 24
to EFES users
Hi all - The MedCyprus project has discovered an odd behavior in the Word index. In the index, lemmata like σύ include, in the list of instances, words like δικαιοσύνης and συμφωνους 

I'm looking at the code at the moment, to discover if at the moment of indexing, the instead of matching the lemma, there is some kind of contains() function that pulls in incorrect words.

Has anyone else run into this? Maybe fixed it? 

Thank you, (I'll go back to the investigation...) --elli

Irene Vagionakis

unread,
Jun 25, 2026, 2:19:30 AMJun 25
to EFES users
I recall having encountered the same behaviour, and having fixed it locally by doing something like `contains(concat(' ', $stringToSearchIn, ' '), concat(' ', $stringToBeSearched, ' '))`, to preserve the handling of cases of multiple terms in the same `<w>`.
Reply all
Reply to author
Forward
0 new messages