algolia / algoliasearch-netlify

Official Algolia Plugin for Netlify. Index your website to Algolia when deploying your project to Netlify with the Algolia Crawler
https://www.algolia.com/doc/tools/crawler/netlify-plugin/quick-start/
261 stars 10 forks source link

Option to don't overwrite new crawler code in online editor #292

Open odorisioe opened 3 years ago

odorisioe commented 3 years ago

On every deploy, the plugin overwrites the code in the online editor and I would like to keep it to customise the recordExtractor. I tried disabled = true in the netlify.toml file but it doesn't trigger the reindex and seems like the rest API is not available for the Netlify crawlers.

What options do I have to do not overwrite the code in the online editor and run the index?

new Crawler({
  appId: "...",
  apiKey: "...",
   ...
})

Thank you

sbellone commented 3 years ago

Hi, the Netlify plugin doesn't give access to the online editor, so you can't customize the recordExtractor. You also don't have access to the REST API indeed. Those features are currently reserved to the customers that subscribe to the full Crawler add-on.

If you have a special use-case that is not covered by the current extraction strategy of the plugin, you can expose it here and we will study it.