add full-text search api endpoint