On 2/24/07, Ryan McKinley (JIRA) <[EMAIL PROTECTED]> wrote:
Is it ever ok to send a document without a unique Key?  does/should solr 
require a unique key field in the schema?

Solr doesn't currently require a unique key field in the schema, and
if there isn't one, then it's OK to send docs without one.

It seems like not much works properly if one is not specified - maybe it should 
be an explicit requirement.

Well, overwriting documents doesn't work, but everything else should.
I've seen a case where the users had no unique key and did rebuilds
from scratch all the time (not that I think it's a good idea).

It probably would simplify some logic to assume unique keys are
required, but we should think a little on it first.  Would it make it
harder to model existing random lucene indicies?

-Yonik

Reply via email to