Refactor ES framework

* do not limit facet values to integers, but use long
* distinguish integer, long and double field types
* remove unused sub-facets