Indexing task data not available for querying quickly

Hi

I have seen issue where indexing task’s data isn’t available for querying right at the time of task start.

Data becomes available for querying when pending segment gets created for the task running.
I am not aware why pending segment creation takes so much time(approx 90 mintes to 120 minutes) after indexing task starts.

Anybody aware of the issue, please help.

What kind of indexing task are you running?