psvneo / typo3-extension-cb_kesearch_indexer
扩展ke_search,增加了索引'内容块'的可能性
0.9.5
2024-07-17 07:25 UTC
Requires
Requires (Dev)
- psvneo/qa-toolset-t3: ^2.0
README
为使用collections的contentblocks/content-blocks的tpwd/ke_search索引器。
使用集合的内容块将数据存储在外部表中。此扩展可用于索引这些数据。
安装
只需安装。它将与页面/内容索引器挂钩。
composer require psvneo/typo3-extension-cb_kesearch_indexer
配置
在您的“索引器配置”中为页面添加要索引的内容元素的CType。然后在“config/extensions/cb_kesearch_indexer”文件夹中创建一个名为“config.yaml”的YAML文件。
必须为每个使用集合的内容元素在配置中创建一个单独的设置。
YAML模板
version: 1 # version of this config file
content_blocks:
vendor_contentelement: # TYPO3 CType of the content element
-
tt_content_field: custom_field_name # created field in tt_content table
collection_table: custom_table_name # table that is used with the collection
collection_content: # fields that should be added to the ke_search index
- customtitlefield
- customtextfield
重大变更
从版本0.9.5开始,必须使用略有不同的yaml语法。字段“tt_content_field”、“collection_table”和“collection_content”必须按顺序排列。这允许索引多个集合。