-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency between shown frequencies and number of kwic lines displayed, from R client to web gui, but also inside web gui #218
Comments
I don't get the wrong numbers, so I can't replicate this. |
It was identified as probably a caching issue in Kalamar. |
working without caching seems to solve problem inside web gui, RKorAP client script call of freqencyQuery still offers wrong numbers, e.g. library(RKorAPClient) startYear <- 1962 query=c("[tt/l=populistisch]", ql="poliqarp" df <- frequencyQuery(kco1, query=query, vc=paste0(vc,year), expand=TRUE, ql=ql) ----> actually should be 0 hits |
We expect the problem to be associated with #219 . |
I have investigated the problem and managed to reproduce it. It seems to be a problem with the cache in Kustvakt. I will investigate further and fix it. |
I have made a fix in Kustvakt and it has already been run on the test instance. |
following KorAP query:
https://korap.ids-mannheim.de/?q=%5borth%3dpopulistisches%5d&cq=availability%21%3dQAO-NC-LOC%3aids%20%26%20corpusSigle%20%3d%20%2fSOL%7c%5bSUTZ%5d%5b0-9%5d%5b0-9%5d%2f%20%26%20pubDate%20in%201975&ql=poliqarp
generated by the R-client (while working at home via vpn), yields a value (10) that is also displayed in the chart, URL taken from clickable data point. KorAP web gui shows also this value, but instead of kwic lines shows comment that there no results at all (in other cases shows only fewer lines than value indicates).
... another example:
https://korap.ids-mannheim.de/?q=%5borth%3dpopulistisches%5d&cq=availability%21%3dQAO-NC-LOC%3aids%20%26%20corpusSigle%20%3d%20%2fSOL%7c%5bSUTZ%5d%5b0-9%5d%5b0-9%5d%2f%20%26%20pubDate%20in%202017&ql=poliqarp
client works with 108 hits, KorAP web gui also shows this frequency 108, but displays only 9 KWIC lines (offers five more pages to show kwics, but without content, only "no results" messages).
Starting the query inside KorAP gui with the same setting (query and vc) yields 9 hits and 9 kwic lines.
But: If you remove the licence restrictions (that should have no effect with this vc definition) and start again a query in the KorAP gui, you get the same effect as above: claiming 108 hits, displaying 9 kwic lines ...
presumably the smaller numbers inside KorAP web gui (and thus the number of kwic lines) are correct, so the wrong results might be calculated from another vc and/or by ignoring the licence restrictions for the shown number but not ignoring this for displaying the kwics?
The text was updated successfully, but these errors were encountered: