changed indexes for searching in directory