Hi,

Adding and deleting fields is not something you do regularly in production, so 
I 
assume you are in development phase, in which case I'd suggest just reindexing. 
 
I'm not sure if you get an error or not if you, say, request fl=MyOldFieldName 
and the query returns documents without that field.

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: François Schiettecatte <fschietteca...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Mon, February 21, 2011 9:14:06 AM
> Subject: Re: change in field_type
> 
> Hello
> 
> What about adding or deleting fields? I have been reindexing after  doing 
> that 
>but is it needed?
> 
> François
> 
> On Feb 21, 2011, at 7:16 AM,  Otis Gospodnetic wrote:
> 
> > Hello,
> > 
> > When you change  types you typically want to reindex everything.
> > 
> > Otis
> >  ----
> > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> > Lucene ecosystem  search :: http://search-lucene.com/
> > 
> > 
> > 
> > ----- Original  Message ----
> >> From: Isha Garg <isha.g...@orkash.com>
> >> To: solr-user@lucene.apache.org
> >>  Sent: Mon, February 21, 2011 12:21:10 AM
> >> Subject: change in  field_type
> >> 
> >> Hii,
> >> 
> >>       I want to confirm that if a change the type of  a field from "sting" 
> >>  
>to 
>
> >> "text" in schema.xml then whether i have rebuild the  index  or will it 
>works 
>
> >> fine with previous index.
> >> 
> >> 
> >> 
> >> 
> 
>

Reply via email to