Re: SOLRJ API to do similar CURL command execution

2013-11-13 Thread Koji Sekiguchi
(13/11/13 22:25), Anupam Bhattacharya wrote: How can I post the whole XML string to SOLR using its SOLRJ API ? The source code of SimplePostTool would be of some help: http://lucene.apache.org/solr/4_5_1/solr-core/org/apache/solr/util/SimplePostTool.html koji -- http://soleami.com/blog/auto

Re: SOLRJ API to do similar CURL command execution

2013-11-13 Thread Anupam Bhattacharya
How can I post the whole XML string to SOLR using its SOLRJ API ? On Wed, Nov 13, 2013 at 6:50 PM, Anupam Bhattacharya wrote: > I am able to perform the xml atomic update properly using curl commands. > However the moment I try to achieve the same using the solrj APIs I am > facing problems. > >

SOLRJ API to do similar CURL command execution

2013-11-13 Thread Anupam Bhattacharya
I am able to perform the xml atomic update properly using curl commands. However the moment I try to achieve the same using the solrj APIs I am facing problems. What should be the equivalent SOLRJ api code to perform similar action using the below CURL command ? curl "http://search1.es.dupont.com