Hi, I have this response from searching another f...
# community-help
c
Hi, I have this response from searching another field then returning a different field:
Copy code
[{'document': {'thread_id': 1}}, {'document': {'thread_id': 1}}, {'document': {'thread_id': 2}}, {'document': {'thread_id': 3}}]
Is there like a parameter/way where it will only return distinct
thread_id
? so it won't return duplicates It should only return
Copy code
[{'document': {'thread_id': 1}}, {'document': {'thread_id': 2}}, {'document': {'thread_id': 3}}]