Skip to content

Plugin Updated: Search


12 August 2021

11:32:18 GMT+0000

When working on a new index version it is often useful to be able to run a search against the inactive version before making it active.

This change introduces support for vip_search_<indexable>_version query parameter. Using this will let the user choose against which version of index is query ran.

As an example in a scenario where we have version 1 – active we can search against version 2 by visiting:

https://my.site.com/?s=<search-term>&&vip_search_post_version=2

The parameter also supports aliases active, next and previous.

https://github.com/Automattic/vip-go-mu-plugins/pull/2340