Closed DennisTobola closed 5 years ago
This is a bug in DANTE. Here are example queries:
Thanks, this is not the expected behaviour, right. It is maybe an elasticsearch-issue, i have to do further analyses
I'm closing this issue as the RVK is currently served by jskos-server and correctly returns results:
It was an error in elasticsearch-wildcard-analyzer. Probably fixed by programmfabrik with next easydb-release 5.50.0 (planned publication on 02.05.2019)
I installed the latest release and now results are returned: https://api.dante.gbv.de/suggest?search=Neuronale+Netze&voc=http:%2F%2Furi.gbv.de%2Fterminology%2Frvk%2F&limit=100&count=100&use=notation,label&language=de
Is this the expected result, or would you expect only results which contain the whole searchstring at once?
I'm not sure (@nichtich ?), but at least the order seems off. Those that contain the whole search string should be at the top, shouldn't they? But I guess you don't have any control over that.
The results are sorted alphabetically at the moment.. :-)
@StiftungAusNachlass Any particular reason why? I would have expected them to be sorted by relevance.
We have some use cases, where we just take the results and put them in dropdowns. I think that's the only reason, which we could bypass by a sort-parameter for /suggest. I am gonna examine, if a order by relevance is responded by easydb-api at all.
Ok, with the order via _score, the result for "neuronale netze"-suggest would be:
"neuronale netze",
[
"Soft computing, Neuronale Netze, Fuzzy-Systeme",
"Kybernetik. Neuronale Netze",
"Neuronale Netze in der Automatisierung",
"H\u00f6henmessung, Nivellement, Trigonometrische Netze, Festpunktbestimmung",
"Elektroenergiesysteme und -netze",
"Netze f\u00fcr besondere Zwecke",
"Netztheorie, Petri-Netze",
"Betriebsverhalten, Regelung von Elektroenergiesystemen und -netzen",
"Technisch-\u00f6konomische Probleme der Energieerzeugung, -\u00fcbertragung und Verteilung und Standortfragen bei Energiesystemen und -netzen",
"Kommunikationsdienste und -netze; Neue Medien; Elektronische Medien",
"Graphen und Netze allgemein",
"Graphen und Netze"
],
[
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
[
"http:\/\/rvk.uni-regensburg.de\/nt\/ST%20301",
"http:\/\/rvk.uni-regensburg.de\/nt\/QH%20700",
"http:\/\/rvk.uni-regensburg.de\/nt\/ZQ%206280",
"http:\/\/rvk.uni-regensburg.de\/nt\/ZI%209280",
"http:\/\/rvk.uni-regensburg.de\/nt\/ZN%208500%20-%20ZN%208660",
"http:\/\/rvk.uni-regensburg.de\/nt\/ZN%208565",
"http:\/\/rvk.uni-regensburg.de\/nt\/ST%20132",
"http:\/\/rvk.uni-regensburg.de\/nt\/ZN%208520",
"http:\/\/rvk.uni-regensburg.de\/nt\/ZP%202900",
"http:\/\/rvk.uni-regensburg.de\/nt\/ZN%206220%20-%20ZN%206240",
"http:\/\/rvk.uni-regensburg.de\/nt\/QH%20450",
"http:\/\/rvk.uni-regensburg.de\/nt\/QH%20450%20-%20QH%20452"
]
]```
I am gonna ask Jakob how to form the sort-parameter.
When I'm searching "Neuronale Netze" in RVK I get no results. However, when I'm just searching "Neuronale" i get 3 results which all contain "Neuronale Netze":