diff --git a/loterre-resolvers/v1/compile.ini b/loterre-resolvers/v1/compile.ini new file mode 100644 index 0000000..4655ecb --- /dev/null +++ b/loterre-resolvers/v1/compile.ini @@ -0,0 +1,40 @@ +[use] +plugin = basics +plugin = analytics +plugin = storage + +# build the reverse index +[cast] +location = env('location') +domain = env('loterreID').prepend('loterre-').append('concepts') + +[replace] +path = id +value = get('rdf$about') +# select all keys and remove duplicates to avoid ambiguities +path = value +value = get('indexKeys') + +# create a entry for all keys +[exploding] + +# invert id & value because of [exploding] which works only by value (not by id) +[replace] +path = id +value = get('value') +path = value +value = get('id') + +[debug] +text = INDEX + +[save] +location = env('location') +domain = env('loterreID').prepend('loterre-').append('indexes') +path = id + +[pop] + +[replace] +path = state +value = compile