Are there any error log messages?

The difference between a string and text is that string is basically stored
with no modification (it is the solr.StrField).  The text type is actually
defined in the fieldtype section and usually contains a tokenizer and some
analyzers (usually stemming, lowercasing, deduping).


On 1/23/09 9:52 AM, "Johnny X" <jonathanwel...@gmail.com> wrote:

> 
> 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!
> 

Reply via email to