Implementing Vespa search for WooCommerce – Part 1

Table of Contents

How to map your WooCommerce search to a Vespa architecture?

Vespa is a highly modular big data engine, with many concepts: tenant, application package, zone, instance, deployment, service, schema.

And many more.

A first investigation of the documentation leads us to map WPSOLR search indices to application packages’ schemas.

Here is the reasoning:

1. Vespa Cloud’s tenant can be used to model a project (customer, site, …)

2. Each tenant can host several application packages

3. Each application package can host several schemas

4. WPSOLR will automatically deploy a default application package, with a root schema and a child schema.

5. The virtual root schema contains all predefined field settings, but no data. It can only be modified by WPSOLR.

6. The child schema will inherit the root schema. It can only be modified by the admin. It is used for indexing and searching data.

7. When new fields are to be indexed, WPSOLR will redeploy the root schema, and only the root schema.

8. All other application package files are not updated nor deployed by WPSOLR, leaving the owner with full customizations possibilities.


#vespa #wpsolr #aisearch #vectorsearch

Read more related content