I am trying to use method that is suggested in solr forum to remove CDATA
part of xml. but it is not working. result show whole xml content instead of
CDATA part.

schema.xml
<fieldType name="text_ws2" class="solr.TextField"
positionIncrementGap="100">
          <analyzer type="index">
            <tokenizer class="solr.WhitespaceTokenizerFactory"/>
            <charFilter class="solr.HTMLStripCharFilterFactory"/>
             <charFilter class="solr.MappingCharFilterFactory"
mapping="mappings.txt"/> 
          </analyzer>
    </fieldType>

mappings.txt
"" => ""

my xml content
<body>

</body> 





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-is-not-extracting-the-CDATA-part-of-xml-tp3908317p3908317.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to