Add textsearch API method