Hello CF_Harsha,
Thanks for reaching out!
It is an expected behavior that you are getting different results while using different from and size using search query. The search results returned by the Microsoft Search API are based on the data available at the time of the search query. If the underlying data changes between different paginated requests, such as new documents being added or existing documents being updated or deleted, the search results may be different on subsequent pages.
Please refer to the documentation for more details.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".