The from and size components are used in pagination. They help to divide a large amount of data into several pages, where from is the initial point to start a search and size defines the number of items to be searched.
For example, - If there are 30 items calculated, but we want 15 items first and then remaining.