by ralusek · 10y ago · 0 comments
Is it like JSONB in Postgres with GIN indexing available?
The optimizer will match JSON expressions to virtual columns w/indexes. So that means you can keep your queries in this form and have them indexed:
EXPLAIN SELECT * FROM features WHERE feature->"$.properties.STREET" = 'MARKET'\G
But to expand your question, there are two FRs we are looking at:
1) Inverted (aka FULLTEXT) indexes on JSON documents 2) Multi-value indexes