HUE-7756 [dashboard] Add 'other' as facet option

Review Request #12273 - Created Dec. 22, 2017 and updated

Jean-Francois Desjeans Gauthier
hue
master
HUE-7756
hue
jgauthier
commit 39b10c13f609c69330b446418b06966cb7b89408
Author: jdesjean <jgauthier@cloudera.com>
Date:   Fri Dec 22 10:35:56 2017 -0800

    HUE-7756 [dashboard] Add 'other' as facet option

:100644 100644 577f9f5554... 7d2ce23a8d... M	desktop/libs/dashboard/src/dashboard/api.py
:100644 100644 dbe7f5a2a0... 3c802c29c7... M	desktop/libs/dashboard/src/dashboard/models.py
:100644 100644 27f676cc71... bbd31be8f8... M	desktop/libs/dashboard/src/dashboard/static/dashboard/js/search.ko.js
:100644 100644 bef2bc091a... 1499d0da15... M	desktop/libs/dashboard/src/dashboard/templates/common_search.mako
:100644 100644 a3ce6b8f4e... 6801538e23... M	desktop/libs/libsolr/src/libsolr/api.py

In Solr:
a) With text facet
1) Select group by aggregation with a field & select other option
2) Add filter other.
3) Another another value as filter.
2) Remove all filters & add a second facet with group by aggregation with another field.
3) Change the aggregation of second facet to sum.
4) Change the aggregation of second facet to max.

b) With pie facet
Select group by aggregation with a field & select other option

Review request changed

Testing Done:

  +

In Solr:

  + a) With text facet
  + 1) Select group by aggregation with a field & select other option
  + 2) Add filter other.
  + 3) Another another value as filter.
  + 2) Remove all filters & add a second facet with group by aggregation with another field.
  + 3) Change the aggregation of second facet to sum.
  + 4) Change the aggregation of second facet to max.

  +
  +

b) With pie facet

  + Select group by aggregation with a field & select other option

  1. Let's get this one finalized soon, commenting the option now for the next release https://review.cloudera.org/r/12449/diff/1#index_header

  2. 
      
Loading...