You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when I using 'termfreq' by this request: http://localhost:8080/blacklab-server/my-index/termfreq?number=1000&outputformat=json, and I got the response like this:
I understand your confusion; because JSON objects are unordered, the results aren't sorted in any logical way (alphabetical or by frequency).
An alternative to using termfreq is to find all words ([]) and group by word matched (hit:word:i), which does allow you to sort by group size or identity. This is handled in an optimized way internally. Here's how to do it:
Hello, when I using 'termfreq' by this request:
http://localhost:8080/blacklab-server/my-index/termfreq?number=1000&outputformat=json
, and I got the response like this:And would it be appropriate to place these numbers at the forefront? It makes me very confusion. Thank you very much!
The text was updated successfully, but these errors were encountered: