Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

size limit for searches #907

Open
folkertvanheusden opened this issue Oct 23, 2024 · 1 comment
Open

size limit for searches #907

folkertvanheusden opened this issue Oct 23, 2024 · 1 comment

Comments

@folkertvanheusden
Copy link

Hi,

Using client.search.query_messages(query).execute_query() I'm searching for certain e-mails. By default the number of returned hits is around 20. How can I set that to the maximum allowed by office365? And is there a way of continuing the search of that maximum is reached?

@folkertvanheusden
Copy link
Author

I tried adding it myself (see https://github.com/folkertvanheusden/Office365-REST-Python-Client/tree/907 ) but it does not seem to work, altough the parameters end up in the query:

{'requests': [{'query': {'queryString': 'a'}, 'entityTypes': ['message'], 'sharePointOneDriveOptions': {}, 'rowLimit': 30, 'startRow': 50}]}

(see startRow and rowLimit)

@vgrem vgrem added the bug label Oct 31, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants