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"
:
Notes 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:
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
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
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 of the post.
Type: String
Can search the content of this field: Yes
Can facet: No
Can sort: No
Can filter: No
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
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
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
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
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
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