Re: SOLR DataImportHandler - Problem with XPathEntityProcessor

2015-09-09 Thread Erik Hatcher
If you need additional manipulation during the update process, you can use the an update processor - there’s a script update processor that you can use to JavaScript additional document processing. See http://lucene.apache.org/solr/5_3_0/solr-core/org/apache/solr/update/processor/StatelessScri

Re: SOLR DataImportHandler - Problem with XPathEntityProcessor

2015-09-08 Thread Alexandre Rafalovitch
What about DIH's own XSL pre-processor? It is XSL param on https://cwiki.apache.org/confluence/display/solr/Uploading+Structured+Data+Store+Data+with+the+Data+Import+Handler#UploadingStructuredDataStoreDatawiththeDataImportHandler-TheXPathEntityProcessor No other ideas, unfortunately, I don't usua

Re: SOLR DataImportHandler - Problem with XPathEntityProcessor

2015-09-08 Thread Umang Agrawal
Thanks Alex. Inner entity name should be different - It was a typo error in my question. Regarding using XsltUpdateRequestHandler , It's a good solution but I can not use it in my application since I need to include few more transformer and

Re: SOLR DataImportHandler - Problem with XPathEntityProcessor

2015-09-08 Thread Alexandre Rafalovitch
Both version seem to be painful in that they will retrieve the URL content multiple times. The first version is definitely wrong. The second version is probably wrong because both inner and outer entities are having the same name. I would try giving different name to the inner entity and seeing if