Mikhail, Thanks for pointing this out.
I'd say that ticket is in distinct need of some examples or use-cases. It is extremely hard to work out what "scoring" actually means. What is used to score what? It'd be great to see some examples and some explanations as to what effect those examples have on scoring. I'll dig into that patch to see if I can work it out. Upayavira On Fri, Jul 10, 2015, at 04:15 PM, Mikhail Khludnev wrote: > I've heard that people use > https://issues.apache.org/jira/browse/SOLR-6234 > for such purpose - adding scores from fast moving core to the bigger slow > moving one > > On Fri, Jul 10, 2015 at 4:54 PM, Upayavira <u...@odoko.co.uk> wrote: > > > All, > > > > I have knocked up what I think could be a really cool function query - > > it allows you to retrieve a value from another core (much like a pseudo > > join) and use that value during scoring (much like an > > ExternalFileField). > > > > Examples: > > * Selective boosting of documents based upon a category based value > > * boost on aggregated popularity values > > * boost on fast moving data on your slow moving index > > > > It *works* but it does so very slowly (on 3m docs, milliseconds without, > > and 24s with it). There are two things that happen a lot: > > > > * locate a document with unique ID value of X > > * retrieve the value of field Y for that doc > > > > What it seems to me now is that I need to implement a cache that will > > have a string value as the key and the (float) field value as the > > object, that is warmed alongside existing caches. > > > > Any pointers to examples of how I could do this, or other ways to do the > > conversion from a key value to a float value faster? > > > > NB. I hope to contribute this if I can make it perform. > > > > Thanks! > > > > Upayavira > > > > > > -- > Sincerely yours > Mikhail Khludnev > Principal Engineer, > Grid Dynamics > > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com>