docs: private int determineJCRPropertyTypeForFacet( String facetValue,
                                                    int defaultPropertyType ) {
          switch (defaultPropertyType) {
              case PropertyType.LONG: {
                  try {
                      Long.valueOf(facetValue);
                      return PropertyType.LONG;
                  } catch (NumberFormatException e) {
                      return PropertyType.DECIMAL;
                  }
              }
              default: {
                  return defaultPropertyType;
              }
          }
      }