Extract terms from Luceneindex (if you want to make a searchword helper)