but if I use this field to do sorting, there will be an error occured
and throw an indexOfBoundArray exception.

On Thursday, November 11, 2010, Robert Petersen <rober...@buy.com> wrote:
> 1)  Just put the new field in the schema and stop/start solr.  Documents
> in the index will not have the field until you reindex them but it won't
> hurt anything.
>
> 2)  Just turn off their handlers in solrconfig is all I think that
> takes.
>
> -----Original Message-----
> From: gauravshetti [mailto:gaurav.she...@tcs.com]
> Sent: Monday, November 08, 2010 5:21 AM
> To: solr-user@lucene.apache.org
> Subject: Adding new field after data is already indexed
>
>
> Hi,
>
>  I had a few questions regarding Solr.
> Say my schema file looks like
> <field name="folder_id" type="long" indexed="true" stored="true"/>
> <field name="indexed" type="boolean" indexed="true" stored="true"/>
>
> and i index data on the basis of these fields. Now, incase i need to add
> a
> new field, is there a way i can add the field without corrupting the
> previous data. Is there any feature which adds a new field with a
> default
> value to the existing records.
>
>
> 2) Is there any security mechanism/authorization check to prevent url
> like
> /admin and /update to only a few users.
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Adding-new-field-after-data-is-alread
> y-indexed-tp1862575p1862575.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

-- 

Best Regards.
Jerry. Li | 李宗杰


Reply via email to