private void addName(String name,SearchIndexEntryType type){
  index.add(new SearchIndexEntry(name,type.getEntityType(),name,3000 + type.getMinorScore()));
  if (name.indexOf(" ") > -1) {
    addDescription(name,name,type,2000);
  }
}

private void addName ( String name , SearchIndexEntryType type ) { index . add ( new SearchIndexEntry ( name , type . getEntityType ( ) , name , 3000 + type . getMinorScore ( ) ) ) ; if ( name . indexOf ( " " ) > - 1 ) { addDescription ( name , name , type , 2000 ) ; } }
adds the search index entries for a name variable
