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 @コマンド


関連項目