Re:PostgreSQL as Schemaless Database [pdf]
by kiwidrew on Sunday March 31, 2013 @04:15AM
(#5468077)
One approach to expression indexes on JSON would be a multicolumn index. Column A is the path, e.g. "foo.bar[2].baz" and column B is the value at that path... of course you'd need to use GIN -- which as mentioned already is slow to build -- since one row would map to multiple index entries. But this ought to be a fairly workable approach.
[ Parent
| on HN ]
There are no comments on this comment yet.