lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon <mtnes...@gmail.com>
Subject Re: Difference b/w SimplepostTool code and posting the file using SOLRJ
Date Fri, 30 Sep 2011 14:32:30 GMT
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.bodigam@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message