This integration programmatically inserts custom module classes and their configuration into the Xperience solution on startup (see AlgoliaModuleInstaller.cs
).
To remove this configuration and the added database tables perform one of the following sets of changes to your solution:
-
Remove the
Kentico.Xperience.Algolia
NuGet package from the solution -
Remove any code references to the package and recompile your solution
-
If you are using Xperience's Continuous Integration (CI), delete the files with the paths from your CI repository folder:
\App_Data\CIRepository\@global\cms.class\kenticoalgolia.*\**
\App_Data\CIRepository\@global\cms.class\kentico.xperience.algolia\**
\App_Data\CIRepository\@global\kenticoalgolia.*\**
-
Run a CI restore, which will clean up the database tables and
CMS_Class
records.
If you are not using CI run the following SQL after removing the NuGet package from the solution:
drop table KenticoAlgolia_AlgoliaContentTypeItem
drop table KenticoAlgolia_AlgoliaIncludedPathItem
drop table KenticoAlgolia_AlgoliaIndexLanguageItem
drop table KenticoAlgolia_AlgoliaIndexItem
delete
FROM [dbo].[CMS_Class] where ClassName like 'kenticoalgolia%'
delete
from [CMS_Resource] where ResourceName = 'CMS.Integration.Algolia'