I will use a local version of the indexwriter here...