sql server全文索引延迟
更新 sql server 中的全文索引存在延迟。
所以它引发了一些问题。
我需要知道全文索引处理的最后一个项目,以便我可以在搜索中找到它。
我怎样才能获得sql server中全文索引处理的最后一项主键id。
there is a delay in updating the full text index in sql server.
so it raises some problems.
I need to know the last item processed by full text index so i could find it in a search.
how can i get the last item primary key id processed by full text index in sql server.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不认为在任何地方都可以保证索引将以任何特定顺序(例如 PK 或聚集索引)构建/填充。
如果您需要知道特定行已添加到索引中,我唯一能想到做的事情(除了等待所有索引活动停止之外)就是将唯一值存储在另一列中,然后继续查询索引直到出现该行的唯一值。
I don't believe that there's a guarantee anywhere that the index will be built/populated in any specific order (e.g. PK or clustered index).
If you need to know that a specific row has been added to the index, the only thing I can think to do (other than waiting for all indexing activity to cease) is to store unique values in another column, and then keep querying the index until the unique value for your row appears.
返回插入同一范围内标识列的最后一个标识值。
http://msdn.microsoft.com/en-us/library/ms190315.aspx
Returns the last identity value inserted into an identity column in the same scope.
http://msdn.microsoft.com/en-us/library/ms190315.aspx