Dear friends,
I have started using Solr recently. I am facing a problem that in a query to
solr i can get results sorted either on my date filed or on score which is
calculated through frequency and proximity of query keywords in indexed
documents. Is there a way to get score which combines both i.e. if document is
too relevant for the query then it should appear first and later documents
which have a score lesser than a threshold are sorted on date.
Moreover, I wanted to know is there a way to get multiple category results in
one query i.e. i have a field named category in the document being indexed and
for a query I want 2 most relevant results from each of the category for first
10 results and similarly for further results.
Please give your suggestions.
Bye,
M. Hasan
Muddassir Hasan
---------------------------------
Save all your chat conversations. Find them online.