if I use query.setRows(Integer.MAX_VALUE);
the query will become very slow, because searcher will go
to fetch the filed value in the index for all the returned
document.

So if I set query.setRows(10), is there any other ways to
get all the ids? thanks

2009/7/23 Avlesh Singh <avl...@gmail.com>

> query.setRows(Integer.MAX_VALUE);
>
> Cheers
> Avlesh
>
> On Thu, Jul 23, 2009 at 8:15 AM, shb <suh...@gmail.com> wrote:
>
> > When I use
> >          SolrQuery query = new SolrQuery();
> >           query.set("q", "issn:0002-9505");
> >           query.setRows(10);
> >           QueryResponse response = server.query(query);
> > I only can get the 10 ids in the response.
> >
> > How can i get all the docIds  in the search result?  Thanks.
> >
>

Reply via email to