Re: Combining Solr score with customized user ratings for a document

2014-05-26 Thread rulinma
Good. -- View this message in context: http://lucene.472066.n3.nabble.com/Combining-Solr-score-with-customized-user-ratings-for-a-document-tp4040200p4138135.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Combining Solr score with customized user ratings for a document

2013-09-10 Thread Amit Jha
You can use DB for storing user preferences and later if you want you can flush them to solr as an update along with userid. Or you may add a result pipeline filter Rgds AJ On 13-Feb-2013, at 17:50, Á_o wrote: > Hi: > > I am working on a proyect where we want to recommend our users pr

Re: Combining Solr score with customized user ratings for a document

2013-02-21 Thread Chris Hostetter
: With this approach now I can boost (i.e. multiply Solr's score by a factor) : the results of any query by doing something like this: : http://localhost:8080/solr/Prueba/select_test?q={!boost : b=rating(usuario1)}text:grapa&fl=score : : Where 'rating' is the name of my function. : : Unfortunate

Re: Combining Solr score with customized user ratings for a document

2013-02-19 Thread Á_____o
Well, as Hoss suggested, I have implemented my own function (ValueSourceParser+ValueSource) :) It's a very simple function which receives a parameter, the userId, and returns a float value depending (with a switch-case structure just for this demo) on it. With this approach now I can boost (i.e.

Re: Combining Solr score with customized user ratings for a document

2013-02-15 Thread Chris Hostetter
: http://www.slideshare.net/thelabdude/boosting-documents-in-solr-lucene-revolution-2011 ... : > Start by looking at Solr's external file field and Rather then using ExternalFileField as imspiration, i would suggest you look at implementing a custom ValueSourceParser... http://mail-arc

Re: Combining Solr score with customized user ratings for a document

2013-02-15 Thread Timothy Potter
Alvaro - still thinking ... will reply when I have more ;-) On Fri, Feb 15, 2013 at 6:31 AM, Á_o wrote: > Á_o wrote >> As I see (and I may be wrong) Solr's external file fields are some kind of >> maps, aren't them? > > Actually I was wrong ;) > The key does not have to be

Re: Combining Solr score with customized user ratings for a document

2013-02-15 Thread Á_____o
Á_o wrote > As I see (and I may be wrong) Solr's external file fields are some kind of > maps, aren't them? Actually I was wrong ;) The key does not have to be necessarily the docID. It can be some other field. Anyway, even in that case, it's still a 'docKey' which I can't see h

Re: Combining Solr score with customized user ratings for a document

2013-02-15 Thread Á_____o
Hi Tim! Thank you for bringing in some light ;) I have read your slides (in fact, I had already read them in the last days) but I'm still missing something. So, let's see... As I see (and I may be wrong) Solr's external file fields are some kind of maps, aren't them? I understand the power of

Re: Combining Solr score with customized user ratings for a document

2013-02-14 Thread Timothy Potter
Oops - that's definitely not the link I meant to give ;-) Here's the link from slideshare: http://www.slideshare.net/thelabdude/boosting-documents-in-solr-lucene-revolution-2011 In there we used Mahout to calculate recommendation scores and then loaded them using external file field. Cheers, Tim

Re: Combining Solr score with customized user ratings for a document

2013-02-14 Thread Timothy Potter
Start by looking at Solr's external file field and http://www.linkedin.com/profile/view?id=18807864&trk=tab_pro On Thu, Feb 14, 2013 at 6:24 AM, Á_o wrote: > Well, thinking a bit more, the second solution is not practical. > > If Solr retrieves, say, 1.000 documents, I would have to navigate

Re: Combining Solr score with customized user ratings for a document

2013-02-14 Thread Á_____o
Well, thinking a bit more, the second solution is not practical. If Solr retrieves, say, 1.000 documents, I would have to navigate through ALL (maybe less with some reasonable upper limit) of them to recalculate the scores and reorder them according to the new score although the Web App is going t