Are you sure you don't have a folder called exampledocs with xml files
inside? These are the files to index as a first example:
apache-solr-1.5-dev/example/exampledocs
Check the
/home/marc/Desktop/data/apache-solr-1.5-dev/example/solr/conf/schema.xml and
solrconfig.xml and you will see how to configure them to be able to have
your data indexed


mamathahl wrote:
> 
> I'm very new to Solr.  I downloaded apache-solr-1.5-dev and was trying out
> the example in order to first figure out how Solr is working.  I found out
> that the data directory consisted of .OSM files.  But I have an XML file
> consisting of latitude, longitude and relevant news for that location. 
> Can I just use the XML file to index the data or is it necessary for me to
> convert this file to .OSM file using some tool and then proceed further?
> Also the attribute value from the .OSM file is being considered in that
> example.  Since there are no attributes for the tags in my XML file, how
> can I extract only the contents of my tags?Any help in this direction will
> be appreciated.  Thanks in advance.
> 

-- 
View this message in context: 
http://old.nabble.com/Can-I-used-.XML-files-instead-of-.OSM-files-tp27769082p27772507.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to