Search API does not return any files

新規投稿

コメント

4件のコメント

  • Priyajeet

    Search indexing takes about 10-15min after you upload.

    Assuming you just uploaded the file, maybe wait a bit and try?

    -1
    コメントアクション パーマリンク
  • dh33

    The file has been in my account since the day I signed up. Thanks for the suggestion though.

    0
    コメントアクション パーマリンク
  • davejagoda一

    Priyajeet wrote: "Search indexing takes about 10-15min after you upload."

     

    Is this documented somewhere? Is there a way to force the index to update immediately?

     

    Scenario: one program creates a new folder, another program wants to find it using the new folder's name.

     

    Workaround 1: have the first program remember the folder ID that was created and inform the second program.

     

    Workaround 2: second program lists out all folders and looks for a matching name

     

    Workaround 3: second program waits 15 minutes before searching

     

    Thoughts?

    0
    コメントアクション パーマリンク
  • Brent

     The 10-minute delay is documented as part of the Search API endpoint reference. There is no option to force the index as this is a backend service that runs across all content stored in Box. The solutions you've suggested are feasible to workaround this limitation.

    0
    コメントアクション パーマリンク

投稿コメントは受け付けていません。