搜索最近创建的文件夹不会产生任何结果(Searching for recently created folders yields no result)

编程入门 行业动态 更新时间:2024-10-21 19:50:29
搜索最近创建的文件夹不会产生任何结果(Searching for recently created folders yields no result)

我可以通过v2 API在我的Box帐户的根目录中成功创建一个文件夹。 但是,如果我立即发出搜索请求,我就没有结果。 如果我等待一段时间(可能是20分钟),然后发出搜索请求,则返回我创建的文件夹。

Box方面是否有一些缓存? 如果是这样,有没有办法通过API无效缓存或一些解决方法?

谢谢!

I am able to successfully create a folder within the root of my Box account via the v2 API. However, if I immediately issue a search request for it, I get no results. If I wait for some period of time (maybe 20 mins) and then issue the search request, the folder I created is returned.

Is there some cacheing going on on the Box side? If so, is there a way to invalidate the cache via the API or some workaround for this?

Thanks!

最满意答案

发生了什么是文件的后台后端处理。 就像一个新的网站不会出现在Google搜索中,直到Google有时间“了解”新网站,Box的搜索引擎必须处理该文件并将内容的文本版本添加到Box搜索引擎。 确切地说,添加需要多长时间取决于很多变量,包括文件的大小和格式。

如果您将大型文档上传到Box然后尝试立即预览,您会看到几乎相同的行为。 Box熄灭并将您的文件转换为可预览的格式。 除了预览的情况,Box网站会给你一些反馈,说“生成预览”。 搜索栏不会告诉您“向搜索索引添加新文件”。

这主要是因为Box更重要的是获取您的文件并确保我们安全地存储它并让您知道Box有它。 几毫秒后,我们开始处理您的文件以进行全文搜索以及我们所做的所有其他处理。

What is going on is background backend processing of your file. Just like a new website won't show up in a google search until Google has time to 'learn' about the new website, Box's search engine has to process the file and add the text version of the contents to the Box search engine. Exactly how long it takes to be added depends on a lot of variables, including the size and format of the file.

You'll see pretty much the same behavior if you upload a large document to Box and then try to preview it immediately. Box goes off and does some magic to convert your file to a previewable format. Except in the case of the preview, the Box website gives you a little bit of feedback saying "Generating preview." The search bar doesn't tell you "adding new files to search index."

This is mostly because it is more important for Box to get your file and make sure we store it safely and let you know that Box has it. A few milliseconds later on we start working on processing your file for full text search and all the other processing that we do.

更多推荐

本文发布于:2023-08-05 07:19:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1428876.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   Searching   created   result   yields

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!