LOG.debug("Getting all Tags from index");
LOG.info("Getting all Tags from index");
    public List getAllTags() throws IOException     {        List tags = new ArrayList();               if ( IndexReader.indexExists(indexDir) ) {                      IndexReader reader = null;           try {               LOG.debug("Getting all Tags from index");                              reader = getReader();               TermEnum terms = reader.terms(new Term(Entry.TAGS, ""));                              while ( Entry.TAGS.equals( terms.term().field() ) ) {                   tags.add( terms.term().text() );                       if ( !terms.next() )                       break;               }                                     } finally {               if ( reader != null )                   reader.close();           }       }       return tags;    }