if (!uidFieldName) {
      throw Error('js-search requires a uid field name constructor parameter');
    }
Constructor.
@param uidFieldName Field containing values that uniquely identify search documents; this field's values are used
                    to ensure that a search result set does not contain duplicate objects.