【发布时间】:2020-11-06 08:23:55
【问题描述】:
I have a test case in endeca in which I have to drop record if a particular word is present in one Url attribute of a record.
E.g: URL: www.abc.com/tree/temp/circle/hello/....
I need to check if word "temp" is present in url attribute then that record should be dropped from getting indexed. I am using below code in Record Manipulator but seems some issue because of which it is not working
<EXPRESSION LABEL="" NAME="REMOVE" TYPE="VOID" URL="">
<EXPRESSION LABEL="" NAME="IF" TYPE="VOID" URL="">
<EXPRESSION LABEL="" NAME="MATH" TYPE="INTEGER" URL="">
<EXPRNODE NAME="TYPE" VALUE="STRING"/>
<EXPRNODE NAME="OPERATOR" VALUE="CMP_SUBSTR"/>
<EXPRESSION LABEL="" NAME="IDENTITY" TYPE="PROPERTY" URL="">
<EXPRNODE NAME="PROP_NAME" VALUE="URL"/>
</EXPRESSION>
<EXPRESSION LABEL="" NAME="CONST" TYPE="STRING" URL="">
<EXPRNODE NAME="VALUE" VALUE="temp"/>
</EXPRESSION>
</EXPRESSION>
<EXPRESSION LABEL="" NAME="REMOVE_RECORD" TYPE="VOID" URL=""/>
</EXPRESSION>
</EXPRESSION>
</EXPRESSION>
记录仍显示在索引中。帮助我了解我在哪里弄错了。为什么它不起作用?
【问题讨论】:
标签: endeca