Hello,

I'd like to import a feed from facebook using their graph api producing json.
What might be the best way to do this in a DIH scenario?
My first assumption was to write my on EntityProcessor.
So I tried this already, but I am unsure how to integrate my custom code.
Can I use the plugin mechanism? Or should I do it by adding the new 
EntityProcessor class in the solr.war by using the solr build?
I tried both ways, but ran into problems in either way:

1)      Plugin: The Classloader didn't find my Class.

2)      Adding it to the solar source code I couldn't add dependencies (i. e. 
they have been removed in the buid dist task)

So my questions are:

1)      What is the best practice for importing json in DIH?

2)      Only if EntityProcessor is a good way to go:

a.       Are there any Plugin-Mechanism Caveats for the Classloading prob?

b.      How can I prevent my depencies being removed in build dist task? Some 
ivy magic  I suppose?

Thank you for any hints!
Best regards
Andreas






Reply via email to