removeIndex method (DominoQuery - Java)

Removes an index (Domino view) that is optimized for DQL query terms. removeIndex is very powerful and can remove production views. Take care in choosing what indexes (views) to remove.

Defined in



public void removeIndex(String name) throws NotesException



String. The name of the index to remove.

Removes a hidden view if you omit the parentheses in the index name and there is no visible view with the same name. For example, if "myview" and "(myview)" exist, "myview" deletes only "myview." But if only "(myview)" exists, "myview" deletes "(myview)". Naming your index views differently than the other views in the database is recommended.

Returned value


Language cross-reference

RemoveIndex method (NotesDominoQuery - LotusScript)