lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avlesh Singh <avl...@gmail.com>
Subject Re: SolrJ looping until I get all the results
Date Tue, 03 Nov 2009 01:56:10 GMT
>
> This isn't a search, this is a search and destroy.  Basically I need the
> file names of all the documents that I've indexed in Solr so that I can
> delete them.
>
Okay. I am sure you are aware of the "fl" parameter which restricts the
number of fields returned back with a response. If you need limited info, it
might be a good idea to use this parameter.

Cheers
Avlesh

On Tue, Nov 3, 2009 at 7:23 AM, Paul Tomblin <ptomblin@xcski.com> wrote:

> On Mon, Nov 2, 2009 at 8:47 PM, Avlesh Singh <avlesh@gmail.com> wrote:
> >>
> >> I was doing it that way, but what I'm doing with the documents is do
> >> some manipulation and put the new classes into a different list.
> >> Because I basically have two times the number of documents in lists,
> >> I'm running out of memory.  So I figured if I do it 1000 documents at
> >> a time, the SolrDocumentList will get garbage collected at least.
> >>
> > You are right w.r.t to all that but I am surprised that you would need
> ALL
> > the documents from the index for a search requirement.
>
> This isn't a search, this is a search and destroy.  Basically I need
> the file names of all the documents that I've indexed in Solr so that
> I can delete them.
>
> --
> http://www.linkedin.com/in/paultomblin
> http://careers.stackoverflow.com/ptomblin
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message