: I wish to index well formed xml documents as they are without escaping : all the tags with lt;s and gt;s. I searched this mailing list's archive : and found someone who suggested that you can make a new field type : having a file something like:
in the thread in question... http://www.nabble.com/Indexing-XML-files-tf2763600.html ...the suggestion to add a new XMLFieldType was so the user could get the xml values from his field "raw" in the body of an XmlResponseWriter response for the purposes of XSLT styling ... but that only affected the display of results returned to query clients, if you note the early messages in the thread, the XML data you want to use as a field value still needs to be properly escaped when you are indexing it so that Solr knows what is data (your xml) and what is markup (the <field> tags so Solr expects) -Hoss