Search Fields (Video)

Choose where Site Search looks for matches, then add a field and compare the results.

Video 1 of 6 · 3 min 25 sec

The examples use a fictional university health website. Your field names, content and results will differ.

Show TranscriptHide Transcript

Transcript

Opening

In this video, we’ll choose which information SearchStax uses when people search your website. We’ll start with a search that’s missing a useful page, add one search field, and check the difference.

Search the Website

Here’s our fictional university health website. Let’s search for travel vaccinations. Right now, we get one result: Transit Access. But International Health is missing. We want visitors to find that page with this search too.

Understand Fields

To understand why it’s missing, let’s look at how SearchStax uses information about a page.

A field holds one kind of information about a page. For example, the title field contains International Health. The page’s service-name field contains Travel Vaccinations.

Separate the Three Controls

Now let’s see how fields fit into three different search controls.

Search Fields chooses where SearchStax looks for a match. Ranking helps decide which matching results appear first. Results Fields chooses the information available to show in each result.

Open Search Fields

For our missing page, we’ll work in Search Fields. Let’s open that setting.

In Site Search, open Configurations, then Search Fields. Our search currently uses title, description, and content.

The service-name field is already under Available Fields; it just isn’t selected for search.

Refresh the Field List

A quick tip while we’re here. Our service-name field is already listed. If you don’t see the field you’re looking for, try refreshing the list with Reload Schema.

It’s the small refresh icon beside Available Fields. Click it to refresh the list.

Compare Field Types

Now let’s look at the kind of field we’re choosing. There are two types worth understanding here: Text and String.

Text breaks values into words that people can search for, such as words within a service name. String keeps each value together, which is useful for exact matching and filters, such as a complete category label.

Select the Field

Back in our example, the service-name field is a Text field. The Field Type dropdown is already set to Text, so we can find it under Available Fields.

Click the service-name field to add it. It now appears in Search Fields, below title, description, and content.

Publish the Change

The field is now selected. Next, we’ll publish the change for the search experience we’re configuring.

If you’d like to keep working, use Save Draft and publish later. We’re ready to make this change, so click Publish.

If you use multiple profiles, you can choose which ones to update. This demo updates Main Profile. For our setup, we’ll just confirm Publish.

Check the Result

The change is published. Let’s repeat the same search and see what visitors can find now.

We now have two results: Transit Access is still first, and International Health appears second.

People can now find that page using words in its service-name field, without us changing the page’s content. Its position can still vary with your other search settings.

Apply the Takeaway

For your own site, choose fields that contain the words your visitors are likely to use, publish your changes, and try a few realistic searches.

Visit the Help Center

For more help with Search Fields, visit the SearchStax Help Center at support.searchstax.com.

Download Transcript (.txt) · Watch in Loom

What to Take Away

  • Search Fields determines which page fields Site Search checks for query matches.
  • Text fields break values into searchable words; String fields keep each value together for exact matching and filters.
  • Adding a field can make a page findable without changing its content, while its position can still vary with other search settings.

Learn More

For configuration details, read Search Fields.

Articles in this section