modified fulltext api to insuit backend