Sketch thrift client/server for the index