Hi,
Is it possible to sort search results based on the count of similar documents a
document has? Say we have a document A which has 4 other similar documents in
the index and document B which has 10. Then the order solr returns them should
be B, A. Sorting on moreLikeThis counts for each docum
Not sure if it will work. Say we have SearchComponent which does this in
process method:
1. DocList docs = rb.getResults().docList;
2. Go over docs and for each doc do:
3.
BooleanQuery q = new BooleanQuery(); //construct a query which gets all docs
which are not equal to current one and are