# Anyway to only return unique content based off a field?

**URL:** <https://discuss.elastic.co/t/anyway-to-only-return-unique-content-based-off-a-field/14980>\
**Category:** Elasticsearch\
**Created:** [December 20, 2013, 9:28pm UTC](https://discuss.elastic.co/t/anyway-to-only-return-unique-content-based-off-a-field/14980 "2013-12-20T21:28:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Detzel](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@Ryan\_Detzel](https://discuss.elastic.co/u/Ryan_Detzel)\
**Post date:** [December 20, 2013, 9:28pm UTC](https://discuss.elastic.co/t/anyway-to-only-return-unique-content-based-off-a-field/14980/1 "2013-12-20T21:28:31Z")

</div>

I have question/answer documents and I want to index them all since they  
belong to different owners but when a search is done I only want to show  
unique questions. Is there a way to do this with ES? If not what's a clever  
way to do this on the client?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d8715266-45c3-45ef-8c55-1ef18da8a62d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d8715266-45c3-45ef-8c55-1ef18da8a62d%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:59am UTC](https://discuss.elastic.co/t/anyway-to-only-return-unique-content-based-off-a-field/14980/2 "2017-07-06T01:59:51Z")

</div>


