yep.
DIH can slurp an xml file .
http://wiki.apache.org/solr/DataImportHandler#head-13ffe3a5e6ac22f08e063ad3315f5e7dda279bd4

use a FileDataSource instead of HttpDataSource

if your xml is in the the solr add xml format use the attribute
useSolrAddSchema="true"

If your xml is really huge use stream="true"

--Noble

On Mon, Sep 29, 2008 at 9:30 AM, Geoffrey Young
<[EMAIL PROTECTED]> wrote:
> hi all :)
>
> I'm sorry I need to ask this, but after reading and re-reading the wiki
> I don't see a clear path...
>
> I have a well-formed xml file, suitable for POSTting to solr.  that
> works just fine.  it's very large, though, and using curl in production
> is so very lame.  is there a very simple config that will let solr just
> slurp up the file via the DataImportHandler?  solr already has
> everything it needs in schema.xml, so I don't think this would be very
> hard... if I fully understood the DataImportHandler :)
>
> tia
>
> --Geoff
>



-- 
--Noble Paul

Reply via email to