You will first have to map your xml files into Solr xml format. You will have to do that yourself outside of Solr. At the same time, you should map any DCMI metadata field names to the corresponding field names, such as "dc:title" to "title". A number of the DC field names are already in the Solr example schema (example/solr/conf/schema.xml). If you need any that aren't, you will have to add them yourself. The only tricky part is deciding which fields are "text" vs. "string" or numeric, and which need to be multi-valued. In some cases you may want to store some metadata as both string and text so that the string can be used for faceting while the text field can be search by keywords.

For the Solr xml format, see:
http://wiki.apache.org/solr/UpdateXmlMessages

-- Jack Krupansky

-----Original Message----- From: ggggGuys
Sent: Wednesday, May 16, 2012 6:31 AM
To: solr-user@lucene.apache.org
Subject: indexing Dublin core xml files

Hello, i'd like to index xml files in the Dublin Core format in Solr. I'd
like to know which files i should modify and how. Thank you :)

--
View this message in context: http://lucene.472066.n3.nabble.com/indexing-Dublin-core-xml-files-tp3984060.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to