AddPatternJSON adds the given pattern (as a map) to the index.
(ctx *Context, m map[string]interface{}, id string)
source not stored for this graph (policy: none)