Re: prevent PlainTextEntityProcessor to encode text

2012-01-06 Thread meghana
Aslo i found that XPathEntityProcessor doesn't encode text. 

but if i try to import data using XpathEnityProcessor it does not import
data for my Mfld field (non-multivalued). 

below what i have tried. 

  entity name=x onError=continue  processor=XPathEntityProcessor
forEach=/xa  url=${SRC.FileName} dataSource=FS
 field column=Mfld xpath=/xa /
  /entity


String will be like below
---
xaxb impt=12this is solr!!/xbxb impt=18Welcome/xbxb
impt=35Hello test/xb/xa


it works well , if i provide path xa/xb , but don't work for /xa
Can anybody have any idea?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/prevent-PlainTextEntityProcessor-to-encode-text-tp3634744p3637402.html
Sent from the Solr - User mailing list archive at Nabble.com.


prevent PlainTextEntityProcessor to encode text

2012-01-05 Thread meghana
Hi all,

I am importing one field into solr using PlainTextEntityProcessor from a
text file , which have text in XML format. after importing it some of the
text get encoded (e.g. it convert quotation mark() to quot;)

Can i prevent it to not encode XML and keep it as it is. (like do not
convert quotation mark to quot;)

Plz help me
Thanks 
Meghana

--
View this message in context: 
http://lucene.472066.n3.nabble.com/prevent-PlainTextEntityProcessor-to-encode-text-tp3634744p3634744.html
Sent from the Solr - User mailing list archive at Nabble.com.