It works

I've done what you said:
_ In my request to get list of documents, I add a where clause filtering on
the select getting the documents to index:
where noticebib.numnoticebib LIKE '%${dataimporter.request.suffixeNotice}'"
_ And I called my dih on each shard with the parameter suffixeNotice=2 or
suffixeNotice=1

Each shard indexed its part on the same time. (more or less 1000 do each
one).

When I execute a select on the collection, I get more or less 2000
documents.

No my goad is to merge indexes, but that's another story.

Another possiblity would have been to play with rows and start parameters,
but it supooses 2 things
_ to know the number of documents
_ add an order by clause to make sure the subsets of document are disjoints
(and even in that case, I'm not completly sure, because the source database
can change....)

Thanks very much !!

Jerôme



Fermeture annuelle des sites François-Mitterrand et Richelieu du 2 au 15 
septembre 2013 Avant d'imprimer, pensez à l'environnement. 

Reply via email to