(Following Part 2)
The coding of index CRUD operations for Vespa is now complete. One can create a new index, update an index, and remove an index, from the WPSOLR admin.
It was quite interesting:
– Check that the application is deployed already. If not, deploy its zip
– Create the new index’s schema file with a modified services.xml ( add the document element to the content’s documents elements of the downloaded services.xml)
– Remove the deleted index’s schema file, but also remove the document element to the content’s documents elements of the downloaded services.xml. Also add a temporary validation-overrides.xml to authorise the schema removal.
– Prepare and activate within a new session to deploy the new/updated/deleted application/schema
#vespa #wpsolr #aisearch #vectorsearch #woocommerce #wordpress