vishwajeet_hol
11 years agoExpert
Getting different tag count.
Hi,
I am getting different count for tag_count_1 and tag_count_2 ?
Input :
<#assign tagsArr = rest("/tagging/tags/top?page_size=5").tags />
<#list tagsArr.tag as tagList>
<#assign tag_count_1 = tagList.mixin.cloud.weight/>
<#assign tag_name = "${tagList.text}" />
<#assign tag_count_2 =rest( "/search/messages/count?f=tags&q=${tag_name?url}&collapse_discussion=false").value />
${tag_count_1}
${tag_count_2}<br>
</#list>
Ouput:
1169 1171 786 786 679 680 563 668 468 469
Why tag count is different ?
Please let me know the reason behind this.
Thanks,
Vishwajeet