fix sphinx builder query range bug; improve sphinx builder db query performance, to avoid `getmore' command and the 4M useless response