Re: entity processing order during updates

2015-09-30 Thread Alexandre Rafalovitch
Have you tried just having two separate endpoints each with its own definition of DIH and URP? Then, you just hit those end-points one at a time in whatever order you need. Seems easier than a custom switching logic. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a

Re: entity processing order during updates

2015-09-30 Thread Roxana Danger
Do you mean creating 2 instances and then generating a third one (or updating one of them) for merging their data? Is it not guaranteed that the entities in the DIH are imported in the order described in the db-config file? Thank you very much, Roxana On 30 September 2015 at 14:48, Alexandre

Re: entity processing order during updates

2015-09-30 Thread Alexandre Rafalovitch
Hmm. It seems I misread " the second processor needs to be executed after complete the first one." In fact, I am still unsure what that is supposed to mean. Could you give a more concrete example of the sequence with say 2 items of each time and what you see vs. what you expect to see. And I

Re: entity processing order during updates

2015-09-30 Thread Roxana Danger
Of course, thank you! Hopefully, it will be more clear now. I have: - in db-config: ... - in config:

entity processing order during updates

2015-09-28 Thread Roxana Danger
Hello, I am importing in solr 2 entities coming from 2 different tables, and I have defined an update request processor chain with two custom processor factories: - the first processor factory needs to be executed first for one type of entities and then for the other (I differentiate the