modify getfulltext api. use docids.