新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Search Api Problem

新規投稿

コメント

6件のコメント

  • mwiller

     According to the Search API documentation"Newly added or changed items are indexed and available via Box search in less than 10 minutes in most cases. The current service load determines the index time and it may take more than 10 minutes in some cases."  So, after moving the files it may take some time before those changes are reflected in the search results.

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

    It means if we are using search api to fetch files then on 2nd iteration we should apply timeout of 10 minutes to get the right count or to fetch different set of files ?

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

     As noted in the documentation snippet I posted, the indexing delay isn't deterministic, and may be longer or shorter than 10 minutes.  So, a 10-minute timeout will likely help, but isn't guaranteed to produce exactly the results you're looking for.

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

    Actually applying timeout is not a good approach . Is there any such api to check whether the indexing of search api has been done or not  or other alternate to determine the indexing time?  or any workaround to tackle this indexing problem through any api ?

     

    Can we maximize the limit to fetch files around 1000 files or beyond that through search api ?

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

     Unfortunately, there is no such API for determining when indexing has been performed.  Per the Search API documentation, the maximum number of results that can be fetched per Search API call (by setting the `limit` query parameter) is 200.

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

    Thanks   for answering to my queries !!

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

サインインしてコメントを残してください。