generate indri PRF query