Hello, I advanced on my problem. The index and fieldtype are good :
I forgot copyfield "body_strip_html" on text, the defaultSearchField. Newbie's mistake. Now, solr returns all xml files i want. But, in php, the text isn't displayed for 2 xml files (with term "castor" snipped by html or xml tags like exemple). Look: http://lucene.472066.n3.nabble.com/file/n3987731/recherche_solr_tei.jpg The php file: Thanks you for your help. -- View this message in context: http://lucene.472066.n3.nabble.com/Strip-html-tp3987051p3987731.html Sent from the Solr - User mailing list archive at Nabble.com.