class BaseEditorSearchIndex implements EditorSearchIndex<T> {

    @Override
    public void close() {
        results = new ArrayList<>();
        currentTerm = "";
        currentResult = null;
        triggerOnSearchPerformedCommand();
        triggerSearchClosedCommand();
    }

}