@adobe/contentlake-shared-search-index
v1.0.0
Published
Wrapper for using Algolia Search Index JS API
Downloads
11
Maintainers
Keywords
Readme
Content Lake Shared - Search Index
Wrapper for using Algolia Search Index JS API
This is one of the Content Lake Shared libraries.
Status
Usage
Install using:
npm install @adobe/contentlake-shared-search-index
Use with:
import { SearchIndex } from '@adobe/contentlake-shared-search-index';
const searchIndex = new SearchIndex(context, companyId);
saveResult = await searchIndex.save({
file: '234.jpg',
sourceName: 'file-2.jpg',
tags: ['animal', 'cat']
});