Hello Everyone,

I am getting my integer field data from xml. Some docs fail because of a
newline character at the end of the string. I am attempting to strip spaces
and new line characters as follows:


        
        


The above still results in a numberformatexception.

Is this the right approach or is there another filter available which will
do what I want? Perhaps something that will strip everything but integers
from the data.

Thank You,
Alexei

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Strip-spaces-and-new-line-characters-from-data-tp2795453p2795453.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to