lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Rübner <...@tobr.eu>
Subject maximum rows for dataimport using solrj
Date Wed, 07 Sep 2011 08:15:42 GMT
Hi,

I want to trigger the data import handler remotly using the solrj api.
So I added a dih request handler to my solr config and tried to call the
handler as described here
http://wiki.apache.org/solr/SolJava

ModifiableSolrParams params = new ModifiableSolrParams();
params.set("qt", "/dataimport");
params.set("command", "full-import");
params.set("commit", "true");
params.set("debug", "true");

solrServer.query(params);


That worked fine, but it only added the first 10 rows.
So I added a rows param
params.set("rows", 50000000);

which only allows 50M as maximum value.

Having databases with more records, this wouldn't index all entries.

Do you hav any suggestions how to change this?

Thanks,
tob

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