callback functions

callback functions added for Query to Text Index