You can add click counts to your index as additional field and boost results based on that value.
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_change_the_score_of_a_document_based_on_the_.2Avalue.2A_of_a_field_.28say.2C_.22popularity.22.29 You can keep some kind of buffer for clicks and update click count field for documents in the index periodically. If you don't want to update whole documents in the index then you probably should look at ExternalFileField or Lucene ParallelReader as a custom Solr IndexReader, but this is complex low level Lucene stuff and requires some hacking. Alex On Thu, Dec 17, 2009 at 6:46 PM, Siddhant Goel <siddhantg...@gmail.com> wrote: > Let say we have a search engine (a simple front end - web app kind of a > thing - responsible for querying Solr and then displaying the results in a > human readable form) based on Solr. If a user searches for something, gets > quite a few search results, and then clicks on one such result - is there > any mechanism by which we can notify Solr to boost the score/relevance of > that particular result in future searches? If not, then any pointers on how > to go about doing that would be very helpful. > > Thanks, > > On Thu, Dec 17, 2009 at 7:50 PM, Paul Libbrecht <p...@activemath.org> wrote: > >> What can it mean to "adapt to user clicks" ? Quite many things in my head. >> Do you have maybe a citation that inspires you here? >> >> paul >> >> >> Le 17-déc.-09 à 13:52, Siddhant Goel a écrit : >> >> >> Does Solr provide adaptive searching? Can it adapt to user clicks within >>> the >>> search results it provides? Or that has to be done externally? >>> >> >> > > > -- > - Siddhant >