Skip to content

Synchronize Schema products and content with Algolia Search

License

Notifications You must be signed in to change notification settings

schemaio/schema-algolia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schema + Algolia

Easiest way to import and index Schema products and content into Algolia.

Getting Started

  • Clone this repository
  • Create .env file and set your Schema Client ID and Key
SCHEMA_CLIENT_ID=my-client-id
SCHEMA_CLIENT_KEY=my-client-key
ALGOLIA_APP_ID=my-app-id
ALGOLIA_API_KEY=my-api-key
ALGOLIA_PREFIX=schema_ // will result in indexes like `schema_products`
ALGOLIA_INDEXES=products,pages,blogs // comma separated list of models to index
  • Run nvm install (make sure you have nvm installed)
  • Run npm install

Sync with Algolia

Import new and update existing search indexes according to the environment configuration described above.

npm run sync

Refine Search Attributes

Login to the Algolia dashboard to customize your search attributes and preferences on a per index basis. See the Algolia Docs for more information.

Support

Need help with this package? Visit us in Slack at https://slack.schema.io

Contributing

Pull requests are welcome.

License

MIT

About

Synchronize Schema products and content with Algolia Search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published