json-fs-query
    Preparing search index...

    Function updateIndex

    • Add a single entry file to the index that backs one of a record's keys, creating the index file (and its __indexes/{record} directory) the first time a value is indexed. Keys with no lookup (multi-field keys are not indexed here) are left untouched.

      Parameters

      • path: string = ''
      • key: keyDefinition = null
      • value: any = undefined
      • fileName: string = ''

      Returns Promise<indexEntry[]>