本文介绍了更新文件似乎无法更新indexableText的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从一系列测试中,似乎indexableText只能设置一次。一旦设置,后续更新将被忽略。这是我试过并观察到的结果...
- 用indexableText插入一个新文件。搜索工作。
- 插入一个没有indexableText的新文件。然后用
some indexableText更新文件。搜索工作。 - 用indexableText插入一个新文件。然后用一些
不同的indexableText更新文件。搜索失败,即。搜索旧的
文本会返回文件,但用新文本搜索不会。 useContentAsIndexableText = false并且更新全部返回200.
Bug?
解决方案,答案是......
不同步(警察专辑应该制作的专辑)。
似乎文档的初始索引几乎立即发生。然而,重新编制索引的更改需要几分钟时间(在我的具体实例中大约为5)。
有人。
From a series of tests, it seems that indexableText can only be set once. Once set, subsequent updates are ignored.
Here is what I've tried and observed...
- Insert a new file with indexableText. Search works.
- Insert a new file without indexableText. Then update the file withsome indexableText. Search works.
- Insert a new file with indexableText. Then update the file with somedifferent indexableText. Search fails, ie. searching for the oldtext returns the file, but searching with the new text doesn't.
In all cases, useContentAsIndexableText=false and the updates all return 200.
Bug?
解决方案and the answer is ...
asynchronicity (the album The Police should have made).
It seems that the initial indexing of a document happens almost instantly. However re-indexing changes takes a few minutes (around 5 in my specific instance).
hth somebody.
这篇关于更新文件似乎无法更新indexableText的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!