0

I am using apache solr 4.10. I have to boost documents against which they are served so that they will have better score. Now for that, I have to log that document id as well as that query.

How to save document id and query ?

Second, I have to use that information to boost that document. How should I do it?

sehe
  • 374,641
  • 47
  • 450
  • 633
Hafiz Muhammad Shafiq
  • 8,168
  • 12
  • 63
  • 121
  • 1
    This is what the [query elevation component](https://cwiki.apache.org/confluence/display/solr/The+Query+Elevation+Component) was built for (at least, to take certain documents to the top for a given query). – MatsLindh Jan 18 '16 at 09:36
  • It is not clear to me what are you asking for: do you mean you have to increase the score for the most viewed documents in a query? – Zac Jan 18 '16 at 10:22
  • yes that's what I have asked – Hafiz Muhammad Shafiq Jan 18 '16 at 13:06

0 Answers0