Help > Web Development > Object Reference > Object Reference > ISYSIndexer > AddDocument Method
<a name="kanchor435"></a>ISYSIndexer:AddDocument Method
Add the specified document to the index.

Syntax
[VBScript]
sub ISYSIndexer.AddDocument(_
  string Filename_ 
)
[C#]
void IISYSIndexer.AddDocument(
  string Filename
);
[ColdFusion/Java]
void IISYSIndexer.AddDocument(
  java.lang.String Filename
) throws ComException;
Parameters
FilenameFile name of the document to add

Examples
[VBScript]
<% set indexer = Application("ISYSIndex").Indexer indexer.AddDocument(Request("filename")) %>