Re: Re[4]: Starting an index...

2007-02-22 Thread Walter Underwood
On 2/22/07 1:37 PM, Jack L [EMAIL PROTECTED] wrote:

 I wonder what happens if I change the schema after some documents
 have been inserted? Is this allowed at all? Will the index become
 corrupted if I add/remove some fields? Or change the field properties?

The schema just controls the input mapping. After the fields
are indexed, the schema doesn't control them.

wunder



Re: Re[4]: Starting an index...

2007-02-22 Thread Chris Hostetter

: I guess I'm weary of a mismatch between an index and the schema, and
: can't say that I recommend that at this point without seeing where it
: may have issues.

modifying a schema without rebuilding the index from scratch is in fact
deep voodoo -- some things work okay; some things break horribly;
some things are safe to change on query slaves (machines that only
search against an index) once the full index has been replicated over from
the master - which needed the changes and a complete deletion of hte index
before indexing the new records ... etc.

enumerating all of the things you can/can't get away with is beyond the
scope of what i'm willing to try and type up right now ... suffice to say
there are tricks, and once you get more comfortable with Solr you can
experiment with those tricks.



-Hoss