You can use the Data Import Handler to pull data out of any XML or SQL data source:
http://wiki.apache.org/solr/DataImportHandler Andrew. Elaine Li wrote: > > Hi, > > I am new solr user. I want to use solr search to run query against > many xml files I have. > I have set up the solr server to run query against the example files. > > One problem is my xml does not have <field> tag and "name" attribute. > My format is rather easy: > <doc> > <segment id="1">....</segment> > <segment id="2">....</segment> > .... > </doc> > > I looked at the schema.xml file and realized I can only customize(add) > attribute name. > > Is there a way to let Solr accept my xml w/o me changing my xml into > the <field name="..">? > > Thanks. > > Elaine > > -- View this message in context: http://www.nabble.com/can-solr-accept-other-tag-other-than-field--tp25066496p25066638.html Sent from the Solr - User mailing list archive at Nabble.com.