
Choosing the Right WooCommerce Fields for Vespa
Start with a search contract A WooCommerce product object contains far more information than most search experiences need. Before creating a Vespa schema, define which fields support each user-facing capability: Search: product names, descriptions, SKUs, brands, and relevant attributes. Filtering: categories, stock status, price, rating, brand, size, colour, and other faceted values. Ranking: popularity, sales volume, rating, recency, margin, and inventory signals. Display: the product title, URL, image, prices, availability, and selected merchandising data. This separation prevents a common implementation problem: treating every WooCommerce property as both searchable text and a filterable field. In Vespa, field type and indexing mode affect memory usage, query behavior, ranking, and update cost. Separate searchable text from exact-match data Fields intended for natural-language queries should generally be indexed as












































