# Aggregate types

**URL:** <https://discuss.elastic.co/t/aggregate-types/18265>\
**Category:** Elasticsearch\
**Created:** [June 23, 2014, 3:00pm UTC](https://discuss.elastic.co/t/aggregate-types/18265 "2014-06-23T15:00:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin\_Cuthbert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benjamin_cuthbert/32/1468_2.png) [@Benjamin\_Cuthbert](https://discuss.elastic.co/u/Benjamin_Cuthbert)\
**Post date:** [June 23, 2014, 3:00pm UTC](https://discuss.elastic.co/t/aggregate-types/18265/1 "2014-06-23T15:00:46Z")

</div>

All

We have a single index with type twos called orders and quotes. We want to  
be able to match the orders against quotes using the columns called order:  
quoteid and quotes:quoteid and then only shows orders where a field is set  
to a certain value. Can this be done? Are there examples of this?

--  
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/a7bce1fd-4d59-48be-8e2b-2b9b4fbd6611%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a7bce1fd-4d59-48be-8e2b-2b9b4fbd6611%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:20am UTC](https://discuss.elastic.co/t/aggregate-types/18265/2 "2017-07-06T01:20:32Z")

</div>

Closed on July 6, 2017, 1:20am UTC


