Hello.

I read the FAQ entry about rebuilding the index,

 
http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F

but it is not clear about the times when this is needed. So I wonder, do I
need to do it after adding a field, removing a field, changing field type,
changing indexed/stored/multiValue properties? What happens if I don't do
it, will Solr die?

Also, the FAQ entry notes that one can "delete all documents, change the
schema.xml file, and then reload the core". Would it be possible to instead
change schema.xml, reload the core, and then rebuild the index -- in effect
slowly deleting the old documents, but never ending up with a completely
empty index? I realize that some weird search results could happen during
such a rebuild, but that may be preferable to having no search results at
all.

(I also realize that we need more Solr servers, to be able to do these
updates without taking down the search service. But, currently we have just
one)


Thanks,
Anders.

Reply via email to