Set of docid's

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Set of docid's

Jay Booth-2
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
Reply | Threaded
Open this post in threaded view
|

Re: Set of docid's

Ryan McKinley
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
>