Slackbot
06/03/2025, 3:06 PMAditya Verma
06/03/2025, 3:07 PM{
"facet": false,
"index": false,
"infix": false,
"locale": "",
"name": "options",
"optional": true,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "object"
},
{
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "options.shade",
"optional": true,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "string"
},
{
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "options.color",
"optional": true,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "string"
},
{
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "options.volume",
"optional": true,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "string"
},
{
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "options.size",
"optional": true,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "string"
}
Sample document -
{
"available": false,
"brandId": "67dab128304dfe15b3244ec2",
"brandName": "Desi Minimals",
"categoryId": "670014c073fb1b5ab9355639",
"categoryName": "Fashion",
"compareAtPrice": 1890,
"description": "<p dir=\"ltr\"><strong>Timeless design, all-day ease.<br></strong><span>Crafted from soft cotton twill. Designed with a straight-leg cut, functional side and back pockets, and a clean, versatile look that works everywhere.</span></p>\n<p dir=\"ltr\"><strong>Material —</strong><span>100% Cotton</span><span><br></span><strong>Fit —</strong><span> Relaxed/Straight Fit</span></p>\n<p dir=\"ltr\"><span>The male model's height is </span><strong>6'1\"</strong><span> and he's wearing size </span><strong>Medium.</strong></p>",
"externalProductId": "7778922397854",
"externalVariantId": "43568843653278",
"featuredImage": "https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3853.jpg?v=1732342176",
"handle": "muted-green-relaxed-chinos",
"id": "683ed4d17455531dd6dc1853-683ed4d17455531dd6dc1862",
"images": [
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3864.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3853.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3868.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3856_5a222832-024f-4df7-a8e3-7f078920c37d.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3861.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3849.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3863.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3854.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3867.jpg?v=1732342176"
],
"normalisationConfidence": 0.9,
"normalisedTags": {
"Gender": [
"Men"
],
"Material/Fabric": [
"Cotton"
],
"Print Type": [
"Solid"
],
"Style Type": [
"Casual"
]
},
"options": {
"color": "Muted Green",
"size": "X-Large - 36",
"style": "Straight Fit"
},
"price": 1890,
"productId": "683ed4d17455531dd6dc1853",
"productTitle": "Classic Relaxed Chinos — Muted Green",
"productType": "Trousers",
"publishedAt": "2024-04-14T16:01:28+05:30",
"publishedAtEpoch": 1748961063353,
"shopifyProductId": 7778922397854,
"shopifyVariantId": 43568843653278,
"sku": "W8D5P38XL",
"subCategory": "Bottoms",
"tags": [],
"title": "X-Large - 36 / Muted Green / Straight Fit",
"updatedAt": "2025-06-03T14:31:03.353417182",
"updatedAtEpoch": 1748961063353,
"variantId": "683ed4d17455531dd6dc1862",
"vendor": "Desi Minimals",
"visualOptionId": "7778922397854-muted-green-straight-fit"
}Alan Martini
06/03/2025, 3:21 PMAditya Verma
06/03/2025, 3:27 PMfacet_counts": [
{
"counts": [],
"field_name": "options.size",
"sampled": false,
"stats": {
"total_values": 0
}
},
{
"counts": [],
"field_name": "options.color",
"sampled": false,
"stats": {
"total_values": 0
}
},
{
"counts": [
{
"count": 104,
"highlighted": "Oversized T-Shirt",
"value": "Oversized T-Shirt"
},
{
"count": 49,
"highlighted": "Trousers",
"value": "Trousers"
},
{
"count": 35,
"highlighted": "Crop Tops",
"value": "Crop Tops"
},
{
"count": 24,
"highlighted": "Polo",
"value": "Polo"
},
{
"count": 12,
"highlighted": "Sweatshirts",
"value": "Sweatshirts"
},
{
"count": 12,
"highlighted": "Regular T-Shirt",
"value": "Regular T-Shirt"
},
{
"count": 3,
"highlighted": "Hair Accessories",
"value": "Hair Accessories"
},
{
"count": 2,
"highlighted": "Bags",
"value": "Bags"
}
],
"field_name": "productType",
"sampled": false,
"stats": {
"total_values": 8
}
}
]
so my productType is correctly faceted. I'm seeing correct result but I'm getting nothing in options.size and options.colorFanis Tharropoulos
06/03/2025, 3:28 PMFanis Tharropoulos
06/03/2025, 3:29 PMfacet_return_parent is what will fix this issueAditya Verma
06/03/2025, 3:30 PMAditya Verma
06/03/2025, 3:31 PM{
"document": {
"available": false,
"brandId": "67dab128304dfe15b3244ec2",
"brandName": "Desi Minimals",
"categoryId": "670014c073fb1b5ab9355639",
"categoryName": "Fashion",
"compareAtPrice": 1890.0,
"description": "<p dir=\"ltr\"><strong>Timeless design, all-day ease.<br></strong><span>Crafted from soft cotton twill. Designed with a straight-leg cut, functional side and back pockets, and a clean, versatile look that works everywhere.</span></p>\n<p dir=\"ltr\"><strong>Material —</strong><span>100% Cotton</span><span><br></span><strong>Fit —</strong><span> Relaxed/Straight Fit</span></p>\n<p dir=\"ltr\"><span>The male model's height is </span><strong>6'1\"</strong><span> and he's wearing size </span><strong>Medium.</strong></p>",
"externalProductId": "7778922397854",
"externalVariantId": "43568843653278",
"featuredImage": "https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3853.jpg?v=1732342176",
"handle": "muted-green-relaxed-chinos",
"id": "683ed4d17455531dd6dc1853-683ed4d17455531dd6dc1862",
"images": [
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3864.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3853.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3868.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3856_5a222832-024f-4df7-a8e3-7f078920c37d.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3861.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3849.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3863.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3854.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3867.jpg?v=1732342176"
],
"normalisationConfidence": 0.9,
"normalisedTags": {
"Gender": [
"Men"
],
"Material/Fabric": [
"Cotton"
],
"Print Type": [
"Solid"
],
"Style Type": [
"Casual"
]
},
"options": {
"color": "Muted Green",
"size": "X-Large - 36",
"style": "Straight Fit"
},
"price": 1890.0,
"productId": "683ed4d17455531dd6dc1853",
"productTitle": "Classic Relaxed Chinos — Muted Green",
"productType": "Trousers",
"publishedAt": "2024-04-14T16:01:28+05:30",
"publishedAtEpoch": 1748961063353,
"shopifyProductId": 7778922397854,
"shopifyVariantId": 43568843653278,
"sku": "W8D5P38XL",
"subCategory": "Bottoms",
"tags": [],
"title": "X-Large - 36 / Muted Green / Straight Fit",
"updatedAt": "2025-06-03T14:31:03.353417182",
"updatedAtEpoch": 1748961063353,
"variantId": "683ed4d17455531dd6dc1862",
"vendor": "Desi Minimals",
"visualOptionId": "7778922397854-muted-green-straight-fit"
},
"highlight": {},
"highlights": [],
"text_match": 100,
"text_match_info": {
"best_field_score": "0",
"best_field_weight": 12,
"fields_matched": 4,
"num_tokens_dropped": 1,
"score": "100",
"tokens_matched": 0,
"typo_prefix_score": 255
}
},
{
"document": {
"available": false,
"brandId": "67dab128304dfe15b3244ec2",
"brandName": "Desi Minimals",
"categoryId": "670014c073fb1b5ab9355639",
"categoryName": "Fashion",
"compareAtPrice": 1890.0,
"description": "<p dir=\"ltr\"><strong>Timeless design, all-day ease.<br></strong><span>Crafted from soft cotton twill. Designed with a straight-leg cut, functional side and back pockets, and a clean, versatile look that works everywhere.</span></p>\n<p dir=\"ltr\"><strong>Material —</strong><span>100% Cotton</span><span><br></span><strong>Fit —</strong><span> Relaxed/Straight Fit</span></p>\n<p dir=\"ltr\"><span>The male model's height is </span><strong>6'1\"</strong><span> and he's wearing size </span><strong>Medium.</strong></p>",
"externalProductId": "7778922397854",
"externalVariantId": "43568843620510",
"featuredImage": "https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3853.jpg?v=1732342176",
"handle": "muted-green-relaxed-chinos",
"id": "683ed4d17455531dd6dc1853-683ed4d17455531dd6dc1861",
"images": [
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3864.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3853.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3868.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3856_5a222832-024f-4df7-a8e3-7f078920c37d.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3861.jpg?v=1732342176",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3849.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3863.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3854.jpg?v=1732342175",
"https://cdn.shopify.com/s/files/1/0266/3943/3802/files/DSC_3867.jpg?v=1732342176"
],
"normalisationConfidence": 0.9,
"normalisedTags": {
"Gender": [
"Men"
],
"Material/Fabric": [
"Cotton"
],
"Print Type": [
"Solid"
],
"Style Type": [
"Casual"
]
},
"options": {
"color": "Muted Green",
"size": "Large - 34",
"style": "Straight Fit"
},
"price": 1890.0,
"productId": "683ed4d17455531dd6dc1853",
"productTitle": "Classic Relaxed Chinos — Muted Green",
"productType": "Trousers",
"publishedAt": "2024-04-14T16:01:28+05:30",
"publishedAtEpoch": 1748961063353,
"shopifyProductId": 7778922397854,
"shopifyVariantId": 43568843620510,
"sku": "W8D5P38L",
"subCategory": "Bottoms",
"tags": [],
"title": "Large - 34 / Muted Green / Straight Fit",
"updatedAt": "2025-06-03T14:31:03.353411057",
"updatedAtEpoch": 1748961063353,
"variantId": "683ed4d17455531dd6dc1861",
"vendor": "Desi Minimals",
"visualOptionId": "7778922397854-muted-green-straight-fit"
},
"highlight": {},
"highlights": [],
"text_match": 100,
"text_match_info": {
"best_field_score": "0",
"best_field_weight": 12,
"fields_matched": 4,
"num_tokens_dropped": 1,
"score": "100",
"tokens_matched": 0,
"typo_prefix_score": 255
}
}Alan Martini
06/03/2025, 3:45 PMAditya Verma
06/03/2025, 3:52 PMAlan Martini
06/03/2025, 3:52 PMAditya Verma
06/03/2025, 5:06 PMAlan Martini
06/03/2025, 5:07 PMAlan Martini
06/03/2025, 7:43 PM{
"facet": false,
"index": false,
"infix": false,
"locale": "",
"name": "options",
"optional": true,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "object"
},
{
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "size",
"optional": true,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "string"
},
{
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "color",
"optional": true,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "string"
},Alan Martini
06/03/2025, 7:44 PMAlan Martini
06/03/2025, 7:45 PMfacet: true and options.<field>Aditya Verma
06/04/2025, 9:11 AM