You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jay Booth <jb...@net-temps.com> on 2007/10/08 23:44:05 UTC

Set of docid's

Hey all, sorry for the elementary question but I was poking around and 
couldn't find an easy answer.  Is there an easy way to get the current 
set of all unique docid's from a running instance of solr?

Thanks,
Jay

Re: Set of docid's

Posted by Ryan McKinley <ry...@gmail.com>.
how about:
  /select?q=*:*&fl=id

(where "id" is your unique id)

you may need to do paging with:
&start=2000&rows=1000

if you have a lot of documents



Jay Booth wrote:
> Hey all, sorry for the elementary question but I was poking around and 
> couldn't find an easy answer.  Is there an easy way to get the current 
> set of all unique docid's from a running instance of solr?
> 
> Thanks,
> Jay
>