] Operator [ Value ] And Or and not or not SummaryField ‘View or folder name’.Columnname @function = > >= < <= in [all] ‘ Quoted string value ’ @dt(‘ datetime value ’) Number ( in value list ) Boolean Term [ Identifier ] Operator [ Value ]
] Operator [ Value ] And Or and not or not SummaryField ‘View or folder name’.Columnname @function = > >= < <= in [all] ‘ Quoted string value ’ @dt(‘ datetime value ’) Number ( in value list ) Boolean Term [ Identifier ] Operator [ Value ]
-e This database is currently in use by another person or process, and cannot be accessed at this time. In order to share a Notes database, it must be accessed via a Domino Server by all users of the database. C:¥IBM¥Domino> ※「管理者として実行」しない場合、 V10.0.1 では次のように表示されました
-q [double quoted string query] query string - either this or -z file REQUIRED -z [QueryFile path] full path to a file containing query syntax queries delimited by #* at preceding line begin -t [File Path] full path to a file with query tree(s) -e Explain the nodes (query tree mode only) -p Parse only (for testing) -g Provide and output overall timing -v [MaxEntries] Maximum view entries to be scanned -c [MaxDocsScanned] Maximum number of documents to be scanned -m [Msecs] Maximum milliseconds to execute -x Exit on error (-z file case) -j No view processing performed (only NSF document scan and FT)
Dim db As NotesDatabase Dim ndq As NOTESDOMINOQUERY Dim query As String Set db = ss.Currentdatabase Set ndq = db.Createdominoquery() query = "DocNo = ?docno" ndq.Setnamedvariable "docno", 210 MsgBox ndq.Explain( query ),,"Explain Result"
NotesSession Dim db As NotesDatabase Dim ndq As NOTESDOMINOQUERY Dim query As String Set db = ss.Currentdatabase Set ndq = db.Createdominoquery() query = "Subject = '2019/01/26 13:38:08' OR not DocNO = 0" msgbox ndq.Explain( query ),,“Result #1" Set ndq = Nothing Set ndq = db.Createdominoquery() query = "Subject = ?subject" ndq.Setnamedvariable "subject", "2019/01/26 13:38:08' OR not DocNo = 0" MsgBox ndq.Explain( query ),,"Result #2" ndq.Resetnamedvariables 値を構造化しない クエリーが構造化される
Dim ndq As NOTESDOMINOQUERY Dim dc As NotesDocumentCollection Dim query As String Set db = ss.Currentdatabase ‘ 検索 query = |Subject = "2019/01/26 13:38:08"| Set dc = db. Search( query, Nothing, 0 ) Set dc = Nothing ‘ 全文検索 query = |[Subject] = "2019/01/26 13:38:08"| Set dc = db. Ftsearch( query, 0 ) Set dc = Nothing ‘ DQL NSF文書検索 Set ndq = db.Createdominoquery() ndq.Noviews = True ‘ビュー列検索しない query = |Subject = '2019/01/26 13:38:08'| Set dc = ndq.Execute( query ) Set dc = Nothing Set ndq = Nothing ‘ DQL ビュー列検索 Set ndq = db.Createdominoquery() query = |'All'.Subject = '2019/01/26 13:38:08'| Set dc = ndq.Execute( query ) Set dc = Nothing Set ndq = Nothing
NotesSession Dim ndq As NOTESDOMINOQUERY Dim dc As NotesDocumentCollection Dim tick_start As Long, tick_end As Long, seconds As Double Set ndq = ss.Currentdatabase.Createdominoquery() tick_start = GetThreadInfo( LSI_THREAD_TICKS ) Set dc = ndq.Execute(|'All'.Subject = '2019/01/26 13:38:08'| ) tick_end = GetThreadInfo( LSI_THREAD_TICKS ) seconds = ( tick_end - tick_start ) / GetThreadInfo( LSI_THREAD_TICKS_PER_SEC ) Print Format$( seconds, "##0.000" ) End Sub
agent 'DQL Test#1' in database 'DQL.nsf'. Agent signer 'admin/v10', effective user 'admin/v10'. Examine 'Programmability Restrictions' field in the Server Record. サーバー文書で エージェント実行権限を付与します
Query execution error: ** ERROR during View Processing Initializing - possible design catalog corruption ** File does not exist - error during planning and tree generation Error (File does not exist) in getCatalogDB, path = GQFDsgn.cat Please run updall <dbname> -e to create the design catalog (Call hint: NSFCalls::NSFDbOpen, Core call #0) ****************** updall に -e オプションを付けて実行すると作成されます!
error: Domino Query execution error: Maximum number of documents or view entries scanned for query exceeded - timeout or resources exceeded error Too many documents scanned (500001) vs max allowed (500000) (C all hint: NSFCalls::NSFSearchExtended3, Core call #0) ****************** Notes.ini パラメータで制限値を緩和します QUERY_MAX_DOCS_SCANNED QUERY_MAX_VIEW_ENTRIES_SCANNED