ref #8011 Adapt to cdmlib change of Pair to MapEntry
ref #8011 Implement experimental occurence facet search