This is just a warning on something that caught me out.
While doing some testing on a new version of a Notes system, we discovered that a heap of documents were not displayed in views using a select clause like Form = “Index Entry”:“”. Some tinkering found that Form = “Index Entry” | Form = “” | @IsUnavailabl(Form) displayed the required records.
The previous version had used the same selection criteria and had worked OK.
The only difference is that I had switched on the Optimize Document Table Map advanced option. Looks like the way the table map works with the Select clause doesnt cope well with documents having no Form field.
Hope this helps someone.