Re: Re-Ranking results based on DocValues with custom function.

2013-09-18 Thread Mathias Lux
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

Re: Re-Ranking results based on DocValues with custom function.

2013-09-17 Thread Chris Hostetter
: 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

Re: Re-Ranking results based on DocValues with custom function.

2013-09-17 Thread Mathias Lux
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

Re: Re-Ranking results based on DocValues with custom function.

2013-09-16 Thread Chris Hostetter
: 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