remove QueryElevationComponent  in solrconfig.xml

2010/9/24 Andy <angelf...@yahoo.com>

> I have a uniqueKey "id". I want to have id of the type long. So I changed
> my schema.xml to have:
>
> <field name="id" type="long" indexed="true" stored="true" required="true"
> />
>
> When I tried to index data, I got the error:
>
> Severe errors in solr configuration.
> Check your log files for more detailed information on what may be wrong.
> If you want solr to continue after configuration errors, change:
>  <abortOnConfigurationError>false</abortOnConfigurationError>
> in null
> -------------------------------------------------------------
> org.apache.solr.common.SolrException: QueryElevationComponent requires the
> schema to have a uniqueKeyField implemented using StrField
> <snip>
>
> I read in some emails that although QueryElevationComponent complains about
> uniqueKey not being of the type string, it's OK to have uniqueKey to be int
> (and presumably long).
>
> So I follow the error message and set
> <abortOnConfigurationError>false</abortOnConfigurationError>
> in my solrconfig.xml
>
> But I'm still getting the same error when I tried to index the data. Solr
> still aborted even though I set abortOnConfigurationError to false as shown
> above.
>
> Why is Solr still aborting? Is there any way to have uniqueKey of type
> long?
>
> Thanks.
>
>
>
>

Reply via email to