: I want to do a simple query to the solr index.  something like
: q=stateid:1 countryid:1
:
: but i'm really only concerned with getting the record above and below a
: certain (dynamic) recordid in the search results.

you have to define what "above and below" means in your context ... do you
mean assuming a sorting on some field?  if so then you could
write a custom FunctionQuery that looks at the value for a given doc and
scores things based on how close their value is.

alternately you could have a custom RequestHandler that does the search,
and walks the DocList on the server side ... either way you need some
custom java code.

but i could be missing some easy solution ... it all depends on the
specifics of your problem (can you give a concrete example?)



-Hoss

Reply via email to