Well, the Solr XML format is the only format which Solr's XML Update handler knows about, and it's been baked into Solr from the beginning. That said, there is now an XSLTUpdateRequesthhandler in trunk and 3.4, which allows the specification of an XSLT transform to convert an arbitrary XML schema to what Solr expects.
SolrJ would normally be used to construct Solr Documents from the parsed XML input, whatever its format, and use the SolrJ API to ingest these documents for indexing. -Simon On Fri, Sep 30, 2011 at 9:03 AM, kiran.bodigam <kiran.bodi...@gmail.com>wrote: > We can post the documents from command line by running the post.jar file > and > giving the list of files *.xml to the solr to index the document.Here we > are > posting the document xml documents which has some unique format i would > like > to know what are the advantages that i get from this format? > <add><doc> <field name="id">hi</field> <field name="name">hello</field> > </doc></add> > for this approach i need to transform my original xml file. > what if i post the original xml as file using SOLRJ code? I would like to > know the difference b/w SimplepostTool code and posting the file using > SOLRJ? > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Difference-b-w-SimplepostTool-code-and-posting-the-file-using-SOLRJ-tp3382297p3382297.html > Sent from the Solr - User mailing list archive at Nabble.com. >