lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Indexing xml documents with custom field type
Date Tue, 19 Jun 2007 18:25:30 GMT

: 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...

...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


View raw message