Forum Discussion
PaoloT
10 years agoLithium Alumni (Retired)
Hi dustin
have you tried retrieving the weighted sum directly
SELECT kudos.sum(weight) FROM messages WHERE message.id = '100'
So the freemarker would be
<#assign response = rest("2.0","/search?q=" + "SELECT kudos.sum(weight) FROM messages WHERE id = '100'"?url).data.items /> ${response[0].kudos.sum.weight}
Hope it helps
Related Content
- 11 months ago
- 2 years ago
- 4 years ago