This article describes the Wix Forum fields you can search and aggregate on a site.
To search or aggregate Wix Forum content on a site, set the search API documentType
parameter to FORUM_CONTENT
.
Description: Document type that was searched. In this case, FORUM_CONTENT
.
Type: String
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: Post or comment ID.
Type: String
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: Post title.
Type: String
Can search the content of this field: Yes
Can facet: No
Can sort: No
Can filter: in, eq, ne, gt, ge, lt, le
Description: Text of the post or comment.
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. For comments, the URL points to the location of the comment on your post page.
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 image.
Type: String
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: Indicates whether the document is a post or a comment. Value can be "POST" or "COMMENT".
Type: String
Can search the content of this field: No
Can facet: Yes
Can sort: No
Can filter: eq, ne
Description: ID of the post the comment is associated with. Only relevant for comments.
Type: String
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Unique ID of the site visitor who posted the post or comment.
Type: String
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: ID of the category associated with the post.
Type: String
Can search the content of this field: No
Can facet: Yes
Can sort: No
Can filter: in, eq, ne, gt, ge, lt, le
Description: 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: Date and time of the last action performed on the post or comment.
Type: Date
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Number of likes the post or comment received.
Type: Number
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Number of views the post received.
Type: Number
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Number of comments the post received.
Type: Number
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Title of the post. Only relevant for posts.
Type: String
Can search the content of this field: Yes
Can facet: No
Can sort: No
Can filter: No
Description: Title of the category.
Type: String
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: ID of the parent comment.
Type: String
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Date and time the comment or post was created.
Type: Date
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: eq, ne, gt, ge, lt, le
Description: Number of upvotes on the comment.
Type: Number
Can search the content of this field: No
Can facet: No
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Number of downvotes on the comment.
Type: Number
Can search the content of this field: No
Can facet: No
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Number of upvotes minus the number of downvotes.
Type: Number
Can search the content of this field: No
Can facet: No
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Date and time the comment or post was last edited.
Type: Date
Can search the content of this field: No
Can facet: No
Can sort: Yes
Can filter: eq, ne, gt, ge, lt, le
Description: Users mentioned in the post.
Type: Array of strings
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: IDs of the marked comments for the post (selected by forum admin or site owner).
Type: Array of Strings
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: Whether the comment is marked.
Type: Boolean
Can search the content of this field: No
Can facet: No
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le
Description: Defines what interaction may be applied on the comment.
Type: String
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: Images from the post content.
Type: Nested
Can search the content of this field: No
Can filter: No
Nested fields:
Description: WixMedia image ID (nested under images
).
Type: String
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: URL of the image (nested under images
).
Type: String
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: Original height of the image (nested under images
).
Type: Number
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: Original width of the image (nested under images
).
Type: Number
Can search the content of this field: No
Can facet: No
Can sort: No
Can filter: No
Description: Number of reactions.
Type: Number
Can search the content of this field: No
Can facet: Yes
Can sort: Yes
Can filter: hasSome, hasAll, eq, ne, gt, gte, lt, lte, exists
Description: Type of post.
Type: String
Can search the content of this field: No
Can facet: No
Can sort: Yes
Can filter: in, eq, ne, gt, ge, lt, le