Hi there,

I just configured my Solr schema file to support the data types I wish to
submit for indexing. However, as soon as try and start the Solr server I get
an error trying to reach the admin page.

I know this only has something to do with my definitions in the schema,
because when I tried to revert back to the default schema it worked again.

In my new schema I took out only the example definitions I was told to and
input the below. Can someone tell me what's wrong?

   <field name="Message-ID" type="string" indexed="false" stored="true"/>
   <field name="Date" type="string" indexed="false" stored="true"/>
   <field name="From" type="string" indexed="false" stored="true"/>
   <field name="To" type="string" indexed="false" stored="true"/>
   <field name="Subject" type="string" indexed="false" stored="true"/>
   <field name="Mime-Version" type="string" indexed="false" stored="true"/>     
         
   <field name="Content-Type" type="string" indexed="false" stored="true"/>
   <field name="Content-Transfer-Encoding" type="string" indexed="false"
stored="true"/>
   <field name="X-From" type="string" indexed="false" stored="true"/>
   <field name="X-To" type="string" indexed="false" stored="true"/>
   <field name="X-cc" type="string" indexed="false" stored="true"/>
   <field name="X-bcc" type="string" indexed="false" stored="true"/>
   <field name="X-Folder" type="string" indexed="false" stored="true"/>         
 
   <field name="X-Origin" type="string" indexed="false" stored="true"/>
   <field name="X-FileName" type="string" indexed="false" stored="true"/>
   <field name="Content" type="string" indexed="true" stored="true"/>


Also, what's the difference between text/string (I tried with both). And am
I right in thinking that I could set the type to "StrField" to prevent any
analysis pre-index?


Cheers for the help!


-- 
View this message in context: 
http://www.nabble.com/Solr-schema-causing-an-error-tp21629485p21629485.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to