setNoViews method (DominoQuery - Java)

Sets the value of the DominoQuery property NoViews, which specifies whether to exclude view processing when satisfying queries.

Defined in



void setNoViews ( boolean noViews ) throws NotesException


boolean noViews

True or False

Returned value



If true, all query terms that could use NSF scanning do so. Terms with syntax that needs views will cause query processing to fail. Useful to experiment with the most optimal kind of processing within a query’s context. That is, sometimes it is optimal to use NSF scanning.
Note: If you set NoViews to true, the following DQL syntax will fail to compile or execute:
‘View1’.column1 = ‘Some value’
In (‘view1’, ‘folder2’) 

Language cross-reference

NoViews Property (NotesDominoQuery - LotusScript)