fromJson

Takes an JSON-encoded index definition and turns it into a SearchIndex.

Return

the instantiated index.

Parameters

json

the encoded JSON index definition.