I came up with another idea, which seem to do what i want. Any comments about better solutions or improving efficiency are welcome:
for each document create multivalue text field "tags" with all tags, and multiple dynamic fields for each tag containging value, so we have: { id: 123 tags: tag1, tag2, ..., tagN tag1_float: 0.1, tag2_float: 0.2, ... tagN_float: 0.3, } then query for tag1 and tag2 could like that: tags:tag1 AND tags: tag2 and sort results by sum of tag1_float and tag2_float. -- View this message in context: http://lucene.472066.n3.nabble.com/documents-with-known-relevancy-tp972462p972873.html Sent from the Solr - User mailing list archive at Nabble.com.