public static FacetDisplayNameProvider getFacetDisplayNameProvider(
     final IndexedProperty property) {
   final String name = property.getFacetDisplayNameProvider();
   return name == null
       ? null
       : Registry.getGlobalApplicationContext().getBean(name, FacetDisplayNameProvider.class);
 }
 public static List<ValueRange> getValueRanges(
     final IndexedProperty property, final String qualifier) {
   ValueRangeSet valueRangeSet;
   if (qualifier == null) {
     valueRangeSet = property.getValueRangeSets().get(DEFAULT_RANGE_SET_QUALIFIER);
   } else {
     valueRangeSet = property.getValueRangeSets().get(qualifier);
     if (valueRangeSet == null) {
       valueRangeSet = property.getValueRangeSets().get(DEFAULT_RANGE_SET_QUALIFIER);
     }
   }
   if (valueRangeSet != null) {
     return valueRangeSet.getValueRanges();
   } else {
     return Collections.emptyList();
   }
 }
 public static boolean isRanged(final IndexedProperty property) {
   return !CollectionUtils.isEmpty(property.getValueRangeSets());
 }