You will need to define or customize a field type for text. The example schema.xml file that is installed with Solr 3.5 has a several kinds of text fields, "text_general" and "text_en" are good places to start. You can use one of those, then customize it.
wunder On Apr 9, 2012, at 11:27 AM, srini wrote: > Hi Thanks for your reply. As per your suggestion I changed XML field type to > text. > > <field name="XML" type="string" indexed="true" stored="true" > required="true"/> > > but when I start solr it is throwing following exception. > SEVERE: org.apache.solr.common.SolrException: Unknown fieldtype 'text' > specified on field XML > > Any suggestions!!(Thanks for your reply) > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-is-indexing-but-not-showing-results-tp3897176p3897626.html > Sent from the Solr - User mailing list archive at Nabble.com.