We use a Solr 8.11.2 server. Also we use the Solr 8 web user interface to query the Solr cores.
How can I make a "distinct" (unique) query using this interface? In my example I want to know how many different values for the field "site" there are.
I read I can use the "Facet" option. But I only found very old posts (for Solr 4 and Solr 5), and nothing I read worked.
Can someone tell me what to input to get the distinct values for the field "site" (or any other field)?
Thanks

The faceting option would work in this case. You can try below query
More on faceting can be found on the solr page solr faceting