add index for Char,add reIndex function for filter