Skip to main content

NotesDominoQuery

Properties

NameDescription
DesignDocumentsOnly PropertySpecifies if the execute() and explain() methods should only search for design documents. If set to true, then only design documents will be searched…
MaxScanDocs PropertySpecifies the maximum allowable number of documents scanned across all query terms. DQL execution returns an error when exceeded. Default is 500,000.
MaxScanEntries PropertySpecifies the maximum allowable number of view entries scanned across all query terms. DQL execution return an error when exceeded. Default is 200,000.
NoViews PropertySpecifies not to perform any view processing in satisfying a query. Default is False (off).
RebuildDesignCatalog propertySpecifies to DQL processing to completely rebuild the Design Catalog before processing a query using Explain or Execute.
RefreshDesignCatalog propertySpecifies to DQL processing to refresh the Design Catalog before processing a query using Explain or Execute.
RefreshFullText propertySpecifies to DQL processing to refresh the full text index for a database prior to query processing using Explain or Execute.
RefreshViews PropertySpecifies to DQL processing to refresh every view it opens to perform any view processing to satisfy a query. Default is False.
TimeoutSec PropertySpecifies the maximum allowable seconds a DQL query is allowed to run. DQL execution returns an error when exceeded. Default is 300 (5 minutes).

Methods

NameDescription
CreateIndex methodCreates an index (Domino view) that is optimized for DQL query terms.
Execute methodExecutes a query string passed in according to set parameters and returns named results in a database where they can be accessed again more quickly. For…
Explain methodExecutes a query string passed in according to set parameters and returns an explain string to indicate how the query was executed.
ListIndexes methodLists the indexes that are optimized for Domino DQL query terms.
Parse methodParses a DQL query string for correct syntax.
RemoveIndex methodRemoves an index (Domino view) that is optimized for DQL query terms. RemoveIndex is very powerful and can remove production views. Take care in choosing…
RemoveNamedResult methodDeletes named results created by the NotesDominoQuery Execute method.
ResetNamedVariables methodRemoves all previously set named variables and values from a DominoQuery instance.
SetNamedVariable methodAssigns a value to a named substitution variable in a DQL query.