Adjust db_index search count and rename codec_pragma