On 4/5/2016 1:16 PM, Yangrui Guo wrote:
> So if I implement multiple dataimporthandler and do a full import, does
> Solr perform import of all handlers at once or can just specify which
> handler to import? Thank you

Each handler has a name, which starts with a forward slash.  Normally
it's named "/dataimport" ... but you can make it anything you want. 
That name becomes part of the URL path.  That's how you decide which
handler to use.

If you use one handler with parameter customization as I described
earlier, you can run a different imports on each Solr node
simultaneously, but one node can only run one import at a time.

With multiple handlers that have different names in the same config, you
can run all of those handlers at the same time for the same collection
on a single node.

Both options have merit, depending on your needs.  You could even
combine the methods -- define multiple handlers, each of which can be
customized with parameters.

Thanks,
Shawn

Reply via email to