/** Retrieve the updated keyword search lists from the XML loader */
    private void updateKeywords() {
      KeywordSearchListsXML loader = KeywordSearchListsXML.getCurrent();

      keywords.clear();
      keywordToList.clear();

      for (String name : keywordLists) {
        KeywordSearchList list = loader.getList(name);
        for (Keyword k : list.getKeywords()) {
          keywords.add(k);
          keywordToList.put(k.getQuery(), list);
        }
      }
    }
  /** Initialize the keyword search lists from the XML loader */
  private void initKeywords() {
    KeywordSearchListsXML loader = KeywordSearchListsXML.getCurrent();

    keywords.clear();
    keywordLists.clear();
    keywordToList.clear();

    for (KeywordSearchList list : loader.getListsL()) {
      String listName = list.getName();
      if (list.getUseForIngest()) {
        keywordLists.add(listName);
      }
      for (Keyword keyword : list.getKeywords()) {
        keywords.add(keyword);
        keywordToList.put(keyword.getQuery(), list);
      }
    }
  }