Thanks Steve. I agree that the site: query is not working in an appropriate manner. But I have noticed that the pages indexed by google are showing up in SERP with site: query .
I have checked new GSC and found that few pages are not indexed for my website, when I searched these pages in Google using "info:" query, it appears.
It concluded that the pages which are not indexed by Google will not appear for "site:" query but can appear for "info:" query.
site: Indexed by Google
info: Known by Google
Moreover, making root file available to bot makes structure search friendly but what if we don't make this file available to bot? Will my other dynamic pages get affected which are generated through this file?
Please advice.
Thanks