private boolean isIndexable(String term){
  return (term.length() < 30) && (term.length() > 2);
}

private boolean isIndexable ( String term ) { return ( term . length ( ) < 30 ) && ( term . length ( ) > 2 ) ; }
checks a term if it can be processed indexed .
