Re: Sorting Index Results by User's Score

2012-03-17 Thread Mikhail Khludnev
Phill,

You can find a lot of blog posts describes how to sort results by an
external field. FWIW, LucidWorks Enterprise has something like relevance
feedback framework.

Regards

On Sat, Mar 17, 2012 at 4:39 AM, Phill Tornroth famousactr...@gmail.comwrote:

 I'm puzzled on whether or not Solr is the right system for solving this
 problem I've got. I'm using some Solr indexes for autocompletion, and I
 have a desire to rank the results by their value to the requesting user.
 Essentially, I'll tally the number of times the user has chosen particular
 results, and I have a need to include that value in the process of sorting
 and limiting results.

 This doesn't seem like a request that would be un-typical, but I'm
 wondering how Solr experts suggest it be done? It seems impractical to hold
 my scores elsewhere and ask Solr for unlimited results and then do the
 ordering/limiting on my side.. but I don't see an obvious way to do this
 within Solr itself, though the JOIN functionality and the Function Query
 stuff look like they might be a part of the right solution.

 Any help would be greatly appreciated.

 Thanks!

 Phill




-- 
Sincerely yours
Mikhail Khludnev
Lucid Certified
Apache Lucene/Solr Developer
Grid Dynamics

http://www.griddynamics.com
 mkhlud...@griddynamics.com


Sorting Index Results by User's Score

2012-03-16 Thread Phill Tornroth
I'm puzzled on whether or not Solr is the right system for solving this
problem I've got. I'm using some Solr indexes for autocompletion, and I
have a desire to rank the results by their value to the requesting user.
Essentially, I'll tally the number of times the user has chosen particular
results, and I have a need to include that value in the process of sorting
and limiting results.

This doesn't seem like a request that would be un-typical, but I'm
wondering how Solr experts suggest it be done? It seems impractical to hold
my scores elsewhere and ask Solr for unlimited results and then do the
ordering/limiting on my side.. but I don't see an obvious way to do this
within Solr itself, though the JOIN functionality and the Function Query
stuff look like they might be a part of the right solution.

Any help would be greatly appreciated.

Thanks!

Phill