OneDrive / onedrive-sdk-ios

OneDrive SDK for iOS
https://dev.onedrive.com
Other
101 stars 88 forks source link

searchWithQ not working in Obj-C #174

Closed kennybuc closed 7 years ago

kennybuc commented 7 years ago

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!

kennybuc commented 7 years ago

@kevklam Did you have got a chance to reproduce the same issue?

kevklam commented 7 years ago

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.