Help > Web Development > Object Reference > Object Reference > ISYSIndexer > RemoveDocument Method
<a name="kanchor440"></a>ISYSIndexer:RemoveDocument Method
Remove the specified document from the index.

Syntax
[VBScript]
sub ISYSIndexer.RemoveDocument(_
  string Filename_ 
)
[C#]
void IISYSIndexer.RemoveDocument(
  string Filename
);
[ColdFusion/Java]
void IISYSIndexer.RemoveDocument(
  java.lang.String Filename
) throws ComException;
Parameters
FilenameThe name of the file you wish to be removed from the index

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