On 3/27/07, Kevin Osborn <[EMAIL PROTECTED]> wrote:

> If you are going to store a document for each customer then some field
> must indicate to which customer the document instance belongs.  In
> that case, why not index a single copy of each document, with a field
> containing a list of customers having access?

Unfortunately, each customer will also potentially customize the way they do 
their searches. If it was just an ACL, that is probably what I would do.

If there is per-document, per-client data which is non-trivial and
cannot be efficiently expressed using some technique like dynamic
fields (sounds like it), then they are effectively different
documents.

Sounds like you have lots of small fields.  The performance of
combining these documents all into one index will depend greatly on
how your sort, field overlap, etc., perhaps moreso than the number of
docs.  I'll don't have much lucene-sort fu, though, so an expert
should chime in...

-Mike

Reply via email to