Some facet enhancements ideas

As upcoming ES version will have new faceting implementation what are your
favorite enhancements to existing facets of new facet types?

Here are mine:

  • multi-filter and multi-filter-stats - calculate count or stats for each
    of multiple filters supplied in the facet config
  • Make terms-stats facet support aggregates (count, total etc) for missing
    and other categories the way terms facet does
  • Make terms facet to return all terms when size=0 like terms_stats does
  • support terms and terms_stats faceting on multiple fields (like SQL group
    by field1, field2)
  • Make terms, stats, terms_stats facet to support calculation for multiple
    fields

Alex

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

My hopes are just for a simple refactor, no new types needed (for me).

Right now, there is a lot of boilerplate code required if you want to
create a new facet with several types (string, int, etc.). I can create my
own facet types, but I would like to create them once and not have to
refactor them if there is a top-level refactoring.

Would like to translate some Lucene collectors I have over to Elasticsearch.

Cheers,

Ivan

On Mon, Mar 25, 2013 at 1:55 PM, AlexR roytmana@gmail.com wrote:

As upcoming ES version will have new faceting implementation what are your
favorite enhancements to existing facets of new facet types?

Here are mine:

  • multi-filter and multi-filter-stats - calculate count or stats for each
    of multiple filters supplied in the facet config
  • Make terms-stats facet support aggregates (count, total etc) for missing
    and other categories the way terms facet does
  • Make terms facet to return all terms when size=0 like terms_stats does
  • support terms and terms_stats faceting on multiple fields (like SQL
    group by field1, field2)
  • Make terms, stats, terms_stats facet to support calculation for multiple
    fields

Alex

--
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.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.