1) DIH looks like a match to your needs, yes. You just trigger it from
your script and then it does the rest of the work asynchronously. But
you'll to pull later for the status if you want to report on
success/failure.

2) Yes, you can just by defining several entities next to each other.
You can run them all or select them one by one. Just make sure to
define the delete queries correctly, so when you run one query it does
not delete other entity's content (default behaviour)

3) DIH supports delta-import. It's in the docs. Come back with more
detailed question if something is not clear there.

Regards,
    Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 6 October 2014 07:09, Karunakar Reddy <karunaka...@gmail.com> wrote:
> Hi All,
>
> Please suggest me effective way of using data import handler.
>
> Here is my use case.
>
> I have different kind of items which needs to be indexed in solr . Eg(
> books, shoes,electronics etc... ) each one has in different relational
> table.
> I have only one core as of now which is been used for public search and for
> other search pages like (book search page/ electronics search page..)
> and updates are happening through indexing script which we are maintaining
> internally  .
> We are planning to use DIH(data import handler).
>
> 1)Is it best way to use DIH/over indexing script? any pros and cons of
> using DIH?
>
> 2) How can we index different type of documents(books,electronic..  the
> data is there in different tables in mysql ) through document import
> handler?
>
> 3)What is the best way to do delta-import.? how do we fire delta-import
> request? is there any thing like auto delta import like autocommit?
>
> Please through be some light on this.
>
> Thanks & Regards,
> Karunakar

Reply via email to