JAVA/CORBA クラス


search メソッド

指定された選択条件を満たす、データベース内のすべての文書を返します。

定義位置

Database

構文

public DocumentCollection search(String formula)
   throws NotesException

public DocumentCollection search(String formula, DateTime dt)
   throws NotesException

public DocumentCollection search(String formula, DateTime dt, int max)
   throws NotesException

パラメータ

String formula


DateTime dt
int max
戻り値

DocumentCollection


使用法

デフォルトでは、このメソッドは最大 5,000 件の文書を返します。索引付きのデータベースまたは索引は付いていないがクライアントのエージェントで実行されているデータベースの場合は、Notes.ini 変数 FT_MAX_SEARCH_RESULTS でこの制限を変更します。索引が付いておらず、サーバーのエージェントで実行されているデータベースの場合は、Notes.ini 変数 TEMP_INDEX_MAX_DOC も設定する必要があります。絶対的な最大値は 2,147,483,647 となります。

クロスリファレンス

LotusScript NotesDatabase クラスの Search メソッド

式言語の EditSelectByDate @コマンド


関連項目