That looks very useful.  So does this mean that this will work?

URL text:
?command=full-import&numShards=6&modValue=0&minDid=229615984

XML:
query="SELECT * FROM [table] WHERE (did % ${dataimporter.request.numShards}) = ${dataimporter.request.modValue} AND ${dataimporter.request.minDid} >= did"

Thanks,
Shawn

On 3/18/2010 4:15 PM, Lukas Kahwe Smith wrote:
I recently asked about this on this list. You can use request
parameters in your DIH xml:
http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters

However you can even also define default for these parameters inside your 
solrconfig.xml request handler configuration.

regards,
Lukas Kahwe Smith
m...@pooteeweet.org





Reply via email to