JAVA/CORBA CLASSES
import lotus.domino.*; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext(); // (Your code goes here) Database db = agentContext.getCurrentDatabase(); if (db.isFTIndexed()) { db.removeFTIndex(); System.out.println("Database index removed"); } else { System.out.println("Database is not indexed"); } } catch(Exception e) { e.printStackTrace(); } } }
See Also