# Multi-select faceting

**URL:** https://discuss.elastic.co/t/multi-select-faceting/13178
**Category:** Elasticsearch
**Created:** [August 12, 2013, 3:08pm UTC](https://discuss.elastic.co/t/multi-select-faceting/13178 "2013-08-12T15:08:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mattweber](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattweber/32/44940_2.png) [@mattweber](https://discuss.elastic.co/u/mattweber)
#### Post date: [August 12, 2013, 3:08pm UTC](https://discuss.elastic.co/t/multi-select-faceting/13178/1 "2013-08-12T15:08:19Z")

</div>

Hello,

I have created an interactive multi-select faceting example. The example  
itself uses Elastic.js [1] but shows the resulting REST query. This is  
useful for those of you interested in seeing the various filters and facet  
filters required to keep counts accurate as a user selects multiple facet  
values to filter on.

[http://demo.fullscale.co/multiselect/](http://demo.fullscale.co/multiselect/)

Please let me know if you have any questions.

[1] [https://github.com/fullscale/elastic.js](https://github.com/fullscale/elastic.js)

--  
Thanks,  
Matt Weber

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [August 12, 2013, 4:06pm UTC](https://discuss.elastic.co/t/multi-select-faceting/13178/2 "2013-08-12T16:06:30Z")

</div>

Very interesting and clean looking.

IMHO, I would put the filter section before the facets, although it might  
get confusing if there is no filter. It also might be beneficial to  
demonstrate the difference between having mixed attributes: some are  
multi-select and some are not. In other words, when the filter does not  
match the facet filter.

Great work.

--  
Ivan

On Mon, Aug 12, 2013 at 8:08 AM, Matt Weber [matt@mattweber.org](mailto:matt@mattweber.org) wrote:

> Hello,
> 
> I have created an interactive multi-select faceting example. The example  
> itself uses Elastic.js [1] but shows the resulting REST query. This is  
> useful for those of you interested in seeing the various filters and facet  
> filters required to keep counts accurate as a user selects multiple facet  
> values to filter on.
> 
> [The domain name Fullscale.co is for sale | Dan.com](http://demo.fullscale.co/multiselect/)
> 
> Please let me know if you have any questions.
> 
> [1] [GitHub - fullscale/elastic.js: A JavaScript implementation of the elasticsearch Query DSL](https://github.com/fullscale/elastic.js)
> 
> --  
> Thanks,  
> Matt Weber
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![mattweber](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattweber/32/44940_2.png) [@mattweber](https://discuss.elastic.co/u/mattweber)
#### Post date: [August 13, 2013, 4:01pm UTC](https://discuss.elastic.co/t/multi-select-faceting/13178/3 "2013-08-13T16:01:19Z")

</div>

Hey Ivan,

Thanks for the suggestion! I will probably leave this alone and do a  
full-blown search demo showcasing many features of elasticsearch (and  
Elastic.js) such as single and multi-select faceting, highlighting,  
suggestions, paging, instant search, nested or parent/child docs, etc.  
Please let me know if you have any other ideas!

Thanks,  
Matt Weber

On Mon, Aug 12, 2013 at 9:06 AM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> Very interesting and clean looking.
> 
> IMHO, I would put the filter section before the facets, although it might  
> get confusing if there is no filter. It also might be beneficial to  
> demonstrate the difference between having mixed attributes: some are  
> multi-select and some are not. In other words, when the filter does not  
> match the facet filter.
> 
> Great work.
> 
> --  
> Ivan
> 
> On Mon, Aug 12, 2013 at 8:08 AM, Matt Weber [matt@mattweber.org](mailto:matt@mattweber.org) wrote:
> 
> > Hello,
> > 
> > I have created an interactive multi-select faceting example. The example  
> > itself uses Elastic.js [1] but shows the resulting REST query. This is  
> > useful for those of you interested in seeing the various filters and facet  
> > filters required to keep counts accurate as a user selects multiple facet  
> > values to filter on.
> > 
> > [The domain name Fullscale.co is for sale | Dan.com](http://demo.fullscale.co/multiselect/)
> > 
> > Please let me know if you have any questions.
> > 
> > [1] [GitHub - fullscale/elastic.js: A JavaScript implementation of the elasticsearch Query DSL](https://github.com/fullscale/elastic.js)
> > 
> > --  
> > Thanks,  
> > Matt Weber
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![roytmana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roytmana/32/44855_2.png) [@roytmana](https://discuss.elastic.co/u/roytmana)
#### Post date: [August 13, 2013, 5:57pm UTC](https://discuss.elastic.co/t/multi-select-faceting/13178/4 "2013-08-13T17:57:57Z")

</div>

Interesting. I have a pretty extensive search and multiselect faceting/filtering plus charting with some facets not directly supported by ES (or rather combination of es facets ) wit extjs ui  
It is entirely declarative and also supports decoding of codes on which faceting is done...

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![richardwhatever](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richardwhatever/32/2044_2.png) [@richardwhatever](https://discuss.elastic.co/u/richardwhatever)
#### Post date: [October 14, 2013, 6:28pm UTC](https://discuss.elastic.co/t/multi-select-faceting/13178/5 "2013-10-14T18:28:44Z")

</div>

Hey Matt,

Thanks for the great demo.

Have you got any further with the full-blown demo you talked about? Eta?

Thanks!

Richard.

On Tuesday, 13 August 2013 17:01:19 UTC+1, Matt Weber wrote:

> Hey Ivan,
> 
> Thanks for the suggestion! I will probably leave this alone and do a  
> full-blown search demo showcasing many features of elasticsearch (and  
> Elastic.js) such as single and multi-select faceting, highlighting,  
> suggestions, paging, instant search, nested or parent/child docs, etc.  
> Please let me know if you have any other ideas!
> 
> Thanks,  
> Matt Weber
> 
> On Mon, Aug 12, 2013 at 9:06 AM, Ivan Brusic \<[iv...@brusic.com](mailto:iv...@brusic.com)\<javascript:\>
> 
> > wrote:
> 
> > Very interesting and clean looking.
> > 
> > IMHO, I would put the filter section before the facets, although it might  
> > get confusing if there is no filter. It also might be beneficial to  
> > demonstrate the difference between having mixed attributes: some are  
> > multi-select and some are not. In other words, when the filter does not  
> > match the facet filter.
> > 
> > Great work.
> > 
> > --  
> > Ivan
> > 
> > On Mon, Aug 12, 2013 at 8:08 AM, Matt Weber \<[ma...@mattweber.org](mailto:ma...@mattweber.org)\<javascript:\>
> > 
> > > wrote:
> > 
> > > Hello,
> > > 
> > > I have created an interactive multi-select faceting example. The  
> > > example itself uses Elastic.js [1] but shows the resulting REST query.  
> > > This is useful for those of you interested in seeing the various filters  
> > > and facet filters required to keep counts accurate as a user selects  
> > > multiple facet values to filter on.
> > > 
> > > [The domain name Fullscale.co is for sale | Dan.com](http://demo.fullscale.co/multiselect/)
> > > 
> > > Please let me know if you have any questions.
> > > 
> > > [1] [GitHub - fullscale/elastic.js: A JavaScript implementation of the elasticsearch Query DSL](https://github.com/fullscale/elastic.js)
> > > 
> > > --  
> > > Thanks,  
> > > Matt Weber
> > > 
> > > --  
> > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
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, 2:12am UTC](https://discuss.elastic.co/t/multi-select-faceting/13178/6 "2017-07-06T02:12:32Z")

</div>


