Closed kennybuc closed 7 years ago
@kevklam Did you have got a chance to reproduce the same issue?
Hi, The search function relies on a server side index that gets populated asynchronously, so there is some delay between files being uploaded and being searchable.
From: kennybuc notifications@github.com Sent: Sunday, July 2, 2017 11:27:26 PM To: OneDrive/onedrive-sdk-ios Cc: Kevin Lam; Mention Subject: Re: [OneDrive/onedrive-sdk-ios] searchWithQ not working in Obj-C (#174)
@kevklamhttps://github.com/kevklam Did you have got a chance to reproduce the same issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/OneDrive/onedrive-sdk-ios/issues/174#issuecomment-312559787, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQG4qrvDTESTBt8HsXVecOyGLyTMCAEpks5sKInNgaJpZM4OHRHy.
I integrated OneDrive SDK for iOS to my Obj-C project. Everything seems working fine but search function.
[[self.odClient.root searchWithQ:@".privacy.txt"] request]
The search function does not work immediately after I uploaded a file, ".privacy.txt". It then works after few mins. And sometimes search response is empty array but this rarely happens.
If anybody has experienced this kind of issue, please help me.
Thanks!