On Fri, Mar 13, 2009 at 3:17 AM, Fergus McMenemie <fer...@twig.me.uk> wrote:

> Hello,
>
> Can anybody describe the intended purpose, or provide a
> few examples, of how the DIH entity= command option works.
>
> Am I supposed to build a data-conf.xml file which contains
> many different alternate entities.. or ????
>

With the entity parameter you can specify the name of any root entity and
import only that one. You can specify multiple entity parameters too. For
example:
/dataimport?command=full-import&entity=x&entity=y

You may need to specify preImportDeleteQuery separately on each entity to
make sure all documents are not deleted.
-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to