Go Headless

/

Develop Websites
Get Started
Workspace & Tools
Coding with Velo
Code Tutorials
Wix Editor Elements
Databases
Wix Apps
About Apps Made by Wix
Replace a Wix Business App Page with Your Own Custom Version
Wix App Collections
Querying Wix App Collections
Working with Wix App Collection Fields
Wix Bookings
Wix eCommerce & Stores
Wix Members
Other Apps
Wix Blog
Wix Blog "Categories" Collection Fields
Wix Blog "Posts" Collection Fields
Wix Blog "Tags" Collection Fields
Wix Blog Schema for Wix Search
Wix Events
Wix Forum
Wix Marketing
Wix Media
Wix Pricing Plans
Wix Portfolio
Best Practices

Wix Blog Schema for Wix Search

This article describes the Wix Blog fields you can search, sort, filter, and apply facets to when using the wix-search API.

To search Wix Blog posts on your site, set the search document type as ”Blog/Posts":

Copy

Note: The Blog fields supported by wix-search are not identical to the fields in your site's Blog/Posts collection.

The following fields appear in each matching search result document when searching Wix Blog services:

documentType

Description: Document type that was searched. In this case, “Blog/Posts”.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

_id

Description: The ID of the post.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

title

Description: The title of the post.

Type: String

Can search the content of this field: Yes

Can facet: No

Can sort: No

Can filter: No

description

Description: Text of the post.

Type: String

Can search the content of this field: Yes

Can facet: No

Can sort: No

Can filter: No

url

Description: Relative URL of the post page on your site.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

image

Description: File source of the post’s cover image.

Type: String

Can search the content of this field: No

Can facet: No

Can sort: No

Can filter: No

hashTags

Description: List of hashtags in the post.

Type: Array of Strings

Can search the content of this field: No

Can facet: Yes

Can sort: No

Can filter: hasSome, hasAll

tags

Description: List of tags in the post.

Type: Array of Strings

Can search the content of this field: Yes

Can facet: Yes

Can sort: Yes

Can filter: hasSome, hasAll

tagIds

Description: List of tag IDs in the post.

Type: Array of Strings

Can search the content of this field: No Can facet: Yes

Can sort: Yes Can filter: hasSome, hasAll

publishDate

Description: Date and time the post was originally published.

Type: Date

Can search the content of this field: No

Can facet: No

Can sort: Yes

Can filter: in, eq, ne, gt, ge, lt, le

Did this help?