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.
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
: 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
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.
:
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
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
Á_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
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
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
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
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
11 matches
Mail list logo