intra-mart Accel Platform 配置文件参考 第26版2020-08-01

搜索结果模板

总览

IM-ContentsSearch for Accel Platform与搜索结果模板相关的设置。
在本文档中,以下面的配置文件为例描述说明。
  • contentssearch-template-config_imbox.xml
模块 IM-ContentsSearch核心库
格式化文件(xsd) WEB-INF /模式/ contentssearch-template-config.xsd
设定位置 WEB-INF / conf / contentssearch-template-config / {任意文件名} .xml

<?xml版本=“ 1.0”编码=“ UTF-8”?> <contentssearch-template-config xmlns = “ http:// intra-mart .co.jp / system / contentssearch / web / config / contentssearch-template- config“ xmlns:xsi = ” http://www.w3.org/2001/XMLSchema-instance“ xsi:schemaLocation = ” http:// intra-mart .co.jp / system / contentssearch / web / config / contentssearch- template-config ../../schema/contentssearch-template-config.xsd“ > <template-pages> <template-page type = ” imbox“ sort-key = ” 3“ > <type-display-key> CAP .Z.IWP.CONTENTSSEARCH.IMBOX.CONTENTS.TYPE </ type-display-key> </ template-page> <template-page type = “ broadcast” sort-key = “ 1” > <parent-type> imbox <type-display-key> CAP.Z.IWP.CONTENTSSEARCH.IMBOX.BROADCASTMESSAGE.CONTENTS.TYPE </类型-显示键> <template-path> im_contents_search /template/imbox/broadcast_message_template.jssp </ template-path> <require-dynamic-fields> <field type = “ string” > create_thread_user </ field> <field type = “ string_mlt” > Reply_user </ field> <field type = “ string_mlt” > tag_name </字段> </ require-dynamic-fields> </ template-page> <template-page type = “ companybox” sort-key = “ 2” > <parent-type> imbox </父级-type> <type-display-key> CAP.Z.IWP.CONTENTSSEARCH.IMBOX.COMPANYBOX.CONTENTS.TYPE </ type-display-key> <template-path> im_contents_search / template / imbox / company_message_template.jssp </ template > -path> <require-dynamic-fields> <field type = “ string” > create_thread_user </ field> <field type = “ string_mlt” > Reply_user </ field> <field type = “ string_mlt” > tag_name </ field> < / require-dynamic-fields> </ template-page> <template-page type = “ groupbox” sort-key = “ 3” > <parent-type> imbox </ parent-type> <type-display-key> CAP.Z.IWP.CONTENTSSEARCH.IMBOX.GROUPBOX.CONTENTS.TYPE </ type-display-key> <template-path> im_contents_search / template / imbox / group_message_template.jssp </ template-path> <require-dynamic-fields> <field type = “ string” > create_thread_user </ field> <field type = “ string_mlt” > Reply_user </ field> <field type = “ string_mlt” > tag_name </ field> </ require-dynamic-fields> </ template-page> <template-page type = “ directmessagebox” sort-key = “ 5” > <parent-type> imbox </ parent-type> <type-display-键> CAP.Z.IWP.CONTENTSSEARCH.IMBOX.DIRECTMESSAGEBOX.CONTENTS.TYPE </类型-显示键> <template-path> im_contents_search / template / imbox / direct_message_template.jssp </ template-path> <require-dynamic-字段> <字段 类型= “字符串” > create_thread_user </字段> <字段 类型= “字符串_mlt” > destination_user </字段> </ require-dynamic-fields> </ template-page> </ template-pages> </ contentssearch-template-config>

参考资料

搜索结果模板设置

标签名称 模板页面
搜索结果模板根标记。
详细内容设置在从属标签中进行。

[设定项目 ]

<contentssearch-template-config> <templates-pages> .... </ template-pages> </ contentssearch-template-config>

必填项目
多种设定 ×
父标签 contentssearch-template-config

搜索结果模板设置

标签名称 模板页面
为每种内容类别设置搜索结果模板。
详细内容设置在从属标签中进行。

[设定项目 ]

<contentssearch-template-config> <template-pages> <template-page type = “ broadcast” sort-key = “ 1” > .... </ template-page> </ template-pages> </ contentssearch-template -config>

必填项目
多种设定
父标签 模板页面

[属性]

属性名称 说明 必填项 默认值
类型
指定内容类别。
可以指定的唯一值是string
排序键
指定过滤条件中显示的内容类别的排序顺序。
可以指定的唯一值是int
× 2147483647

设置父内容类别

标签名称 父母型
设置父内容类别。
可以指定的唯一值是string

[设定项目 ]

<contentssearch-template-config> <template-pages> <template-page type = “ broadcast” sort-key = “ 1” > <parent-type> imbox </ parent-type> .... </ template-page > </ template-pages> </ contentssearch-template-config>

必填项目 ×
多种设定 ×
父标签 模板页面

设置内容类别显示的属性键

标签名称 类型显示键
表示在优化条件下显示的内容类别的显示属性键。
可以指定的唯一值是string

[设定项目 ]

<contentssearch-template-config> <template-pages> <template-page type = “广播” sort-key = “ 1” > <type-display-key> CAP.Z.IWP.CONTENTSSEARCH.IMBOX.BROADCASTMESSAGE.CONTENTS。 TYPE </ type-display-key> .... </ template-page> </ template-pages> </ contentssearch-template-config>

必填项目
多种设定 ×
父标签 模板页面

模板画面路径设置

标签名称 模板路径
指定实现搜索结果模板屏幕的路径。
可以指定的唯一值是string

[设定项目 ]

<contentssearch-template-config> <template-pages> <template-page type = “ broadcast” sort-key = “ 1” > <template-path> im_contents_search / template / imbox / broadcast_message_template.jssp </ template-path> 。 ... </ template-page> </ template-pages> </ contentssearch-template-config>

必填项目 ×
多种设定 ×
父标签 模板页面

动态字段一览表设置

标签名称 需求动态场
设置搜索结果模板使用的动态字段的一览表 。
详细内容设置在从属标签中进行。

[设定项目 ]

<contentssearch-template-config> <template-pages> <template-page type = “广播” sort-key = “ 1” > .... <require-dynamic-fields> .... </ require-dynamic-字段> .... </模板页面> </模板页面> </ contentssearch-template-config>

必填项目 ×
多种设定 ×
父标签 模板页面

动态字段设置

标签名称
设置搜索结果模板使用的动态字段。

[设定项目 ]

<contentssearch-template-config> <template-pages> <template-page type = “ broadcast” sort-key = “ 1” > .... <require-dynamic-fields> <field type = “ string” > create_thread_user < / field> </ require-dynamic-fields> .... </ template-page> </ template-pages> </ contentssearch-template-config>

必填项目
多种设定
父标签 需求动态场

[属性]

属性名称 说明 必填项 默认值
类型
指定字段的数据类型 。
可指定的值如下。
字符串string_mltintint_mlt
longlong_mltdatedate_mlt
布尔boolean_mltmorphmorph_mlt
ngramngram_mlt空格whitespace_mlt