Jonathan, http://...../.....?q=<your PK field here>:<doc PK here> should be fine.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Jonathan Ariel <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Monday, October 20, 2008 11:09:35 AM > Subject: Getting a document by primary key > > I'm developing my own request handler and given a document primary key I > would like to get it from the index. > Which is the best and fastest way to do this? I will execute this request > handler several times and this should work really fast. > Sorry if it's a basic question. > > Thanks! > > Jonathan