anchor.diff:      init/1,
       manage_schema/2,
       observe_search_query/2,
  -    observe_acl_is_allowed/2
  +    observe_acl_is_allowed/2,
  +    observe_elasticsearch_fields/3
   ]).
   
   %% @doc Linked data property mappings
  
positive.code: observe_search_query(#search_query{}, _Context) ->
      undefined.
  
  
  observe_acl_is_allowed(
      #acl_is_allowed{
  
negative.code:     Index = mod_ginger_adlib_elasticsearch:index(Context),
      Mapping = beeldenzoeker_elasticsearch_mapping:default_mapping(),
      
      erlastic_search:create_index(Index),
  
      %% Update all Elasticsearch types that are currently enabled
      [{ok, _} = erlastic_search:put_mapping(Index, Type, Mapping) || Type
          <- mod_ginger_adlib_elasticsearch:types(Context)],
      ok.
  