Can I add a second, limited search field?


#1

I inherited a website that uses Swiftype, so I do not know Swiftype.

We are using Swiftype in a WordPress environment with a search and autocomplete field of all of our content. I have been tasked with creating a video archive with its own search and autocomplete field limited to videos. Can adding a second search and autocomplete field be done using Swiftype? If so, can you point me to documents/tutorials?

I appreciate your help.

Carlos


#2

Hey Carlos!

I’m afraid we don’t have any specific tutorials or documentation for this specific sort of customization, but I believe it can be achieved by customizing the Swiftype plug-in as well as your theme.

One approach would be to assign unique IDs to the respective search inputs and then writing functions that specifically filter the search request depending on which ID is active.

We have some additional documentation here:

For more advanced customizations like this, you might want to consider migrating from the WordPress plug-in and implementing Swiftype Search via our web crawler or developer API.

Feel free to email us from the Support menu of the Swiftype dashboard with questions specifically related to your UTH engine.