Offset parameter - Search Index - GAE - Legacy bundled with Python3 not working since December 2024

Hi our community,

I’m using Python 3 with legacy bundled in my project so I can access Search index of Google App Engine from my application.
It’s working as normal.

However, starting from 14th December, 2024, I have seen that the Search index not working with offset parameter anymore (I have no changes for it).

Other parameters like limit, sort_options are still working as expected. Really weird!!!

search.Query(
    query_string=query,
    options=search.QueryOptions(
        offset=offset,
        limit=limit,
        sort_options=search.SortOptions(
            expressions=[
                search.SortExpression(
                    expression=expression,
                    direction=direction
                )
            ]
        )
    ),
)

We have observed that only App Engine with region: europe-west2 was impacted and had the issue.
The other region like us-central is still OK.

Do you know how to deal with it?

Thanks,

Following…

1 Like

We are also experiencing this issue. The offset does not work in region asia-northeast1, but works in us-central. We switch to cursor implementation to bypass this error.

1 Like

Hi all,

Hm, somehow the issue is resolved and Search index is working with offset parameter now.

Regards,