support other log search feature and add test for it