SearchServer Response syntax weight

22 views
Skip to first unread message

Jürg Weber

unread,
Nov 11, 2025, 8:04:22 AM (yesterday) Nov 11
to GeoAdminCh API
Hello 
Is there a description how to interprete the value of weight in a Serchserver response?
Thank you for your help.
Kind regards Jürg

GeoAdminCh API

unread,
Nov 11, 2025, 8:12:16 AM (yesterday) Nov 11
to GeoAdminCh API
Hello,

Thank you for your question.

The swiss search system of map.geo.admin.ch works through Sphinx.
For exact search, we use SPH_RANK_WORDCOUNT for weight calculation. The search string is supplemented with infix/prefix/subfix wildcards for the search.
Whereas SPH_RANK_BM25 is used for fuzzy search. Fuzziness is achieved with the quorum operator at search text level and with the Metaphone code at search word level.

We hope we could be of help with this answer.

Best regards,
Helpdesk federal geoportal
Reply all
Reply to author
Forward
0 new messages