Got it! Just for you to share ... and maybe for inclusion in the Java
API docs of ValueSource :)
For sorting one needs to implement the method
public double doubleVal(int) of the class ValueSource
then it works like a charm.
cheers,
Mathias
On Tue, Sep 17, 2013 at 6:28 PM, Chris Hostetter
w
: It basically allows for searching for text (which is associated to an
: image) in an index and then getting the distance to a sample image
: (base64 encoded byte[] array) based on one of five different low level
: content based features stored as DocValues.
very cool.
: So there one little tin
Hi!
Thanks for the directions! I got it up and running with a custom
ValueSourceParser: http://pastebin.com/cz1rJn4A and a custom
ValueSource: http://pastebin.com/j8mhA8e0
It basically allows for searching for text (which is associated to an
image) in an index and then getting the distance to a s
: dissimilarity functions). What I want to do is to search using common
: text search and then (optionally) re-rank using some custom function
: like
:
: http://localhost:8983/solr/select?q=*:*&sort=myCustomFunction(var1) asc
can you describe what you want your custom function to look like? it ma