Readers fields and Generate Unique Keys in Index

I am using "Generate Unique Keys in Index’ view property to reduce the number of documents in a view to build keyword lists quickly in a large database.

It is my understanding that this option will include the first document that is encountered with a unique key in the view.

This leads me to believe that it is possible that a user might not have reader access to the included document, but had access to another ‘skipped’ document. Thus, my keyword list would be incomplete.

Is this possible, or does Domino handle this somehow?

Subject: Readers fields and Generate Unique Keys in Index

Depends on the effective ID of the process that builds the view index.

If this is a Shared View on the server copy…

As it’s the Server building the view, (generally) Readers fields would be ignored. The first document would be the one included in the view’s index.

Then, if you as a user access that view, and you don’t have Readers access to some of the documents, you would not see those view lines.

Thus I would not recommend building a Unique View on documents with Reader fields.

If this is a Private view…

I think Private views would be built by the User’s ID, and so the Unique record chosen would be the first one they could see. However, if there was a category where they could not see any of the documents, that would not be in their view.

Subject: RE: Readers fields and Generate Unique Keys in Index

And that’s not the only thing to consider, when using this option.

After Andre blogged about it, I feel a little ashamed for having used this property in the past, without caring too much about rebuilding the view index. Read the full story here:

http://www-10.lotus.com/ldd/bpmpblog.nsf/dx/dbfunctions-thing-3?opendocument&comments