Go Headless

/

Velo
Articles
API Overview
Getting Started
Tutorials
Velo Package Readmes
Release Notes

Velo-Only APIs
About Velo-Only APIs and the SDK
$w
$widget
wix-animations-frontend
wix-configs-backend
wix-http-functions
wix-realtime-backend
wix-application
wix-editor
wix-widget

APIs
About Velo APIs and the SDK
wix-activity-counters.v2
wix-analytics.v2
wix-auth
wix-billing.v2
wix-billing-backend
wix-blog-backend
Introduction
"Categories" Collection Fields
"Posts" Collection Fields
"Tags" Collection Fields
Blog Schema for Wix Search
Categories
DraftPosts
Events
Posts
Tags
wix-bookings-frontend
wix-bookings.v1
wix-bookings.v2
wix-bookings-backend
wix-business-tools.v2
wix-cache-backend
wix-captcha.v2
wix-captcha-backend
wix-chat-backend
wix-comments.v2
wix-crm-frontend
wix-crm.v2
wix-crm-backend
wix-dashboard
wix-dashboard-management.v2
wix-data
wix-data.v2
wix-ecom.v2
wix-ecom-frontend
wix-ecom-backend
wix-email-marketing.v2
wix-events-frontend
wix-events.v2
wix-events-backend
wix-fetch
wix-forms.v2
wix-forum.v2
wix-forum-backend
wix-groups.v2
wix-groups-backend
wix-inbox.v2
wix-location-frontend
wix-loyalty.v2
wix-marketing-backend
wix-marketing.v2
wix-marketing-tags.v2
wix-media-backend
wix-media.v2
wix-members-frontend
wix-members.v2
wix-members-backend
wix-mobile
wix-multilingual.v2
wix-navigate-mobile
wix-pay-frontend
wix-pay-backend
wix-payment-provider-backend
wix-pricing-plans-frontend
wix-pricing-plans.v2
wix-pricing-plans-backend
wix-pro-gallery-backend
wix-realtime-frontend
wix-reviews.v2
wix-restaurants.v2
wix-search
wix-secrets-backend
wix-secrets-backend.v2
wix-seo-frontend
wix-site-frontend
wix-site-backend
wix-storage-frontend
wix-storage-mobile
wix-stores.v2
wix-stores-frontend
wix-stores-backend
wix-table-reservations.v2
wix-tags.v1
wix-urls.v2
wix-web-module
wix-window-frontend
wix-site-plugins.v1

Events & Service Plugins
About Events & Service Plugins and the SDK
Activity Counters
Automations
Billing
Bookings
Business Tools
Comments
CRM
Data
eCommerce
Email Marketing
Forms
Forum
Groups
Inbox
Loyalty
Marketing
Marketing Tags
Media
Members
Pricing Plans
Payments
Pro-Gallery
Routers
Site Monitoring
Stores
Table Reservations
Wix Events

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

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:

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: Description 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?