cleanup working dir
set fulltext keys for search