Brian, Have you tried the realtime get handler? It supports multiple documents.
http://wiki.apache.org/solr/RealTimeGet Michael Della Bitta Applications Developer o: +1 646 532 3062 | c: +1 917 477 7906 appinions inc. “The Science of Influence Marketing” 18 East 41st Street New York, NY 10017 t: @appinions <https://twitter.com/Appinions> | g+: plus.google.com/appinions w: appinions.com <http://www.appinions.com/> On Thu, Jul 18, 2013 at 10:46 AM, Brian Hurt <bhur...@gmail.com> wrote: > I have a situation which is common in our current use case, where I need to > get a large number (many hundreds) of documents by id. What I'm doing > currently is creating a large query of the form "id:12345 OR id:23456 OR > ..." and sending it off. Unfortunately, this query is taking a long time, > especially the first time it's executed. I'm seeing times of like 4+ > seconds for this query to return, to get 847 documents. > > So, my question is: what should I be looking at to improve the performance > here? > > Brian >