Hello, thanks for your answers. I checked your suggestions, but I'm not quite there yet.
With field collapsing, I only get the top result per category, which is not what I want, I want to have all results! And boosting is quite an interesting idea. With the following I get what I need, all results but Books at the top: q=+*:* category:Book^2.2&q.op=OR Unfortunatly, our basic operator is AND. I'm not sure if our customers are ok whith the results if we change that. How can I do it with AND? Best regards, Nikola -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-dependent-on-user-preferences-with-FunctionQuery-tp4092119p4092912.html Sent from the Solr - User mailing list archive at Nabble.com.