add dbg info, add query func
integrate fastindexer