protected void extractSearchableAttributes(final SecurityContext securityContext, final Class type, final HttpServletRequest request, final Query query) throws FrameworkException {
if (type != null && request != null && !request.getParameterMap().isEmpty()) {
final ConfigurationProvider conf = Services.getInstance().getConfigurationProvider();
final List<PropertyKey> searchKeys = new LinkedList<>();
for (final String name : request.getParameterMap().keySet()) {
final PropertyKey key = conf.getPropertyKeyForJSONName(type, getFirstPartOfString(name));
if (key != null) {
if (key.isSearchable()) {
// add to list of searchable keys