Chris Hostetter wrote:
>
> off the top of my head, i can't think of any better way to do what you are
> doing "out of hte box" with Solr ... if you wanted to write a bit of
> custom java code, a FunctionQuery ValueSource that made a "bell curve"
> arround a particular value would be a very cool/
: My docs have a date field and I need to find the two docs with
: a date which is closest to 2007-03-25T17:22:00Z.
:
: I use the following two queries to accomplish the task.
:
: date:{* TO 2007-03-25T17:22:00Z};date desc&start=0&rows=1
: date:{2007-03-25T17:22:00Z TO *};date asc&start=0&rows=1
: