Skip to content

Indexing (OrchardCore.Indexing)

索引(OrchardCore.Indexing)

The Indexing module provides services to index content items. It does so by storing an append-only log of

索引模块提供索引内容项的服务。它通过存储仅附加日志来实现

content item entries, and providing a service to query this list with a cursor-like interface. An entry can

内容项条目,并提供使用类似游标的界面查询此列表的服务。一个条目可以

be either an Update or a Deletion task. This list of tasks can also be seen as an event store for content items.

可以是“更新”或“删除”任务。此任务列表还可以视为内容项的事件存储。

Other modules can then store their own cursor location for this list, and check for updates and deletions

然后,其他模块可以为此列表存储自己的光标位置,并检查更新和删除

of content items and do custom operations based on these changes.

内容项,并根据这些更改执行自定义操作。