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 Furkan KAMACI <fu...@gmail.com> on 2013/07/12 14:29:55 UTC

Does Solrj Batch Processing Querying May Confuse?

I've crawled some webpages and indexed them at Solr. I've queried data at
Solr via Solrj. url is my unique field and I've define my query as like
that:

ModifiableSolrParams params = new ModifiableSolrParams();
params.set("q", "lang:tr");
params.set("fl", "url");
params.set("sort", "url desc");

I've run my program to query 1000 rows at each query and wrote them in a
file. However I realized that there are some documents that are indexed at
Solr (I query them from admin page, not from Solrj as a 1000 row batch
process) but is not at my file. What may be the problem for that?

Re: Does Solrj Batch Processing Querying May Confuse?

Posted by Erick Erickson <er...@gmail.com>.
Well, if you can find one of the docs, or you know one of the IDs
that's missing, try explainOther, see:
http://wiki.apache.org/solr/CommonQueryParameters#explainOther

Best
Erick

On Fri, Jul 12, 2013 at 8:29 AM, Furkan KAMACI <fu...@gmail.com> wrote:
> I've crawled some webpages and indexed them at Solr. I've queried data at
> Solr via Solrj. url is my unique field and I've define my query as like
> that:
>
> ModifiableSolrParams params = new ModifiableSolrParams();
> params.set("q", "lang:tr");
> params.set("fl", "url");
> params.set("sort", "url desc");
>
> I've run my program to query 1000 rows at each query and wrote them in a
> file. However I realized that there are some documents that are indexed at
> Solr (I query them from admin page, not from Solrj as a 1000 row batch
> process) but is not at my file. What may be the problem for that?