如何为扩展名为“ bdm_kesearchindexer_flux”的助焊剂元素建立索引?

时间:2019-07-17 15:45:13

标签: typo3 flux

我已经从github下载了针对我的自定义助焊剂元素的索引器。问题在于“ pi_flexform”列的内容不可索引。 [链接到索引器:https://github.com/BenjaminBeck/bdm_kesearchindexer_flux] 我将ke_search用作页面上搜索查询的主要扩展

开箱即用的扩展名没有获得通量CType,因此我在TypesFluidcontent类的构造函数中注释掉了两行,并在Backend中手动编写了所需的CType。现在我有一个问题,“ pi_flexform”的内容无法索引(标题和其他内容可以索引)。

//the code I changed
public function __construct($pObj) {
    // $fluidContentTypes = FluxHelper::getFluxContentTypes();
    // $pObj->indexerConfig['contenttypes'] = implode(',',$fluidContentTypes);
    parent::__construct($pObj);
}

尽管有所有问题,但存在异常。我有10篇文章,其中两篇已索引“ pi_flexform” 0_o 因此,当我尝试从这两个页面之一中查找关键字时,ke_search效果很好

0 个答案:

没有答案
相关问题