Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Url: "/product-category/fashion-3/women-fashion-3/?wpsolr_fq[0]=product_cat_str%3AFashion&wpsolr_fq[1]=product_cat_str%3AWomen&wpsolr_fq[2]=product_cat_str%3AWomen%20Bags&wpsolr_fq[3]=product_cat_str%3ATotes"
- Index: "new_index"
- Nb results shown: 20
- Total nb results: 1085
- Speed: 713 ms
- Query: {
- "from": 0,
- "size": 20,
- "_source": [
- "id",
- "PID",
- "type",
- "meta_type_s",
- "title",
- "numcomments",
- "comments",
- "displaydate",
- "displaymodified",
- "*categories_str",
- "author",
- "*post_thumbnail_href_str",
- "*post_href_str",
- "snippet_s"
- ],
- "query": {
- "function_score": {
- "functions": [
- {
- "filter": {
- "match": {
- "product_cat_str": "Smartphones"
- }
- },
- "weight": 3
- },
- {
- "filter": {
- "match": {
- "product_cat_str": "Smartwatch Accessories"
- }
- },
- "weight": 2.5
- },
- {
- "filter": {
- "match": {
- "product_cat_str": "Grocery"
- }
- },
- "weight": 7
- },
- {
- "filter": {
- "match": {
- "product_cat_str": "eggs"
- }
- },
- "weight": 1
- },
- {
- "filter": {
- "match": {
- "product_brand_str": "Hugo Boss"
- }
- },
- "weight": 2
- },
- {
- "filter": {
- "match": {
- "product_brand_str": "Aamrai"
- }
- },
- "weight": 4
- },
- {
- "filter": {
- "match": {
- "product_brand_str": "Del Monte"
- }
- },
- "weight": 3
- },
- {
- "filter": {
- "match": {
- "product_brand_str": "Crest"
- }
- },
- "weight": 3
- },
- {
- "filter": {
- "match": {
- "author": "italist"
- }
- },
- "weight": 3
- }
- ],
- "query": {
- "bool": {
- "must": {
- "query_string": {
- "fields": [
- "title^5",
- "content^2",
- "product_cat_str^10",
- "product_brand_str",
- "author"
- ],
- "query": "(*)",
- "default_operator": "AND"
- }
- },
- "filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must_not": [
- {
- "terms": {
- "post_status_s": [
- "draft",
- "pending",
- "trash",
- "future",
- "private",
- "auto-draft"
- ]
- }
- }
- ]
- }
- },
- {
- "bool": {
- "must": {
- "term": {
- "non_flat_hierarchy_product_cat_str": "Women"
- }
- }
- }
- },
- {
- "bool": {
- "should": [
- {
- "bool": {
- "must_not": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- },
- {
- "bool": {
- "should": [
- {
- "bool": {
- "must_not": [
- {
- "exists": {
- "field": "product_visibility_str"
- }
- }
- ]
- }
- },
- {
- "bool": {
- "must_not": [
- {
- "terms": {
- "product_visibility_str": [
- "exclude-from-catalog"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "bool": {
- "should": [
- {
- "bool": {
- "must_not": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- },
- {
- "terms": {
- "product_stock_str": [
- "y"
- ]
- }
- }
- ]
- }
- },
- {
- "bool": {
- "should": [
- {
- "bool": {
- "must_not": [
- {
- "bool": {
- "must": {
- "exists": {
- "field": "is_excluded_s"
- }
- }
- }
- }
- ]
- }
- },
- {
- "terms": {
- "is_excluded_s": [
- "n"
- ]
- }
- }
- ]
- }
- },
- {
- "bool": {
- "must_not": [
- {
- "terms": {
- "_id": [
- "wpsolr_doc_id_attachment"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- }
- },
- "post_filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- "aggs": {
- "_price_f": {
- "filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- "aggs": {
- "_price_f": {
- "filter": {
- "match_all": {}
- },
- "aggs": {
- "_price_f": {
- "stats": {
- "field": "_price_f"
- }
- }
- }
- }
- }
- },
- "product_brand_str": {
- "filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- "aggs": {
- "product_brand_str": {
- "filter": {
- "match_all": {}
- },
- "aggs": {
- "product_brand_str": {
- "terms": {
- "field": "product_brand_str",
- "size": 20
- }
- }
- }
- }
- }
- },
- "pa_gender_str": {
- "filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- "aggs": {
- "pa_gender_str": {
- "filter": {
- "match_all": {}
- },
- "aggs": {
- "pa_gender_str": {
- "terms": {
- "field": "pa_gender_str",
- "size": 20
- }
- }
- }
- }
- }
- },
- "pa_color_str": {
- "filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- "aggs": {
- "pa_color_str": {
- "filter": {
- "match_all": {}
- },
- "aggs": {
- "pa_color_str": {
- "terms": {
- "field": "pa_color_str",
- "size": 20
- }
- }
- }
- }
- }
- },
- "pa_health-facts_str": {
- "filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- "aggs": {
- "pa_health-facts_str": {
- "filter": {
- "match_all": {}
- },
- "aggs": {
- "pa_health-facts_str": {
- "terms": {
- "field": "pa_health-facts_str",
- "size": 20
- }
- }
- }
- }
- }
- },
- "pa_artisana_str": {
- "filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- "aggs": {
- "pa_artisana_str": {
- "filter": {
- "match_all": {}
- },
- "aggs": {
- "pa_artisana_str": {
- "terms": {
- "field": "pa_artisana_str",
- "size": 20
- }
- }
- }
- }
- }
- },
- "flat_hierarchy_product_cat_str": {
- "filter": {
- "bool": {
- "must": [
- {
- "bool": {
- "must": [
- {
- "terms": {
- "type": [
- "product"
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- "aggs": {
- "flat_hierarchy_product_cat_str": {
- "filter": {
- "match_all": {}
- },
- "aggs": {
- "flat_hierarchy_product_cat_str": {
- "terms": {
- "field": "flat_hierarchy_product_cat_str",
- "size": 20
- }
- }
- }
- }
- }
- }
- }
- }
- "aggregations": {
- "product_brand_str": {
- "doc_count": 1085,
- "product_brand_str": {
- "doc_count": 1085,
- "product_brand_str": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 183,
- "buckets": [
- {
- "key": "Pronovias",
- "doc_count": 121
- },
- {
- "key": "Karl Lagerfeld",
- "doc_count": 71
- },
- {
- "key": "Indietales",
- "doc_count": 66
- },
- {
- "key": "Just Cavalli",
- "doc_count": 51
- },
- {
- "key": "Timberland",
- "doc_count": 45
- },
- {
- "key": "Versace",
- "doc_count": 42
- },
- {
- "key": "SprayGround",
- "doc_count": 35
- },
- {
- "key": "Armani Exchange",
- "doc_count": 33
- },
- {
- "key": "Allure Bridals",
- "doc_count": 31
- },
- {
- "key": "N.E.A.T by Nicky",
- "doc_count": 31
- },
- {
- "key": "New Balance",
- "doc_count": 29
- },
- {
- "key": "Tom Ford",
- "doc_count": 29
- },
- {
- "key": "Nine West",
- "doc_count": 27
- },
- {
- "key": "Tommy Hilfiger",
- "doc_count": 25
- },
- {
- "key": "Salvatore Ferragamo",
- "doc_count": 24
- },
- {
- "key": "St. Patrick",
- "doc_count": 24
- },
- {
- "key": "Rosa Clar\u00e1",
- "doc_count": 21
- },
- {
- "key": "White One",
- "doc_count": 21
- },
- {
- "key": "Carriwell",
- "doc_count": 17
- },
- {
- "key": "C\u00e9line",
- "doc_count": 17
- }
- ]
- }
- }
- },
- "pa_artisana_str": {
- "doc_count": 1085,
- "pa_artisana_str": {
- "doc_count": 1085,
- "pa_artisana_str": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 0,
- "buckets": [
- {
- "key": "Artisana products",
- "doc_count": 24
- }
- ]
- }
- }
- },
- "pa_health-facts_str": {
- "doc_count": 1085,
- "pa_health-facts_str": {
- "doc_count": 1085,
- "pa_health-facts_str": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 0,
- "buckets": []
- }
- }
- },
- "_price_f": {
- "doc_count": 1085,
- "_price_f": {
- "doc_count": 1085,
- "_price_f": {
- "count": 1094,
- "min": 22,
- "max": 89351.8515625,
- "avg": 4021.8725515780543,
- "sum": 4399928.571426392
- }
- }
- },
- "pa_gender_str": {
- "doc_count": 1085,
- "pa_gender_str": {
- "doc_count": 1085,
- "pa_gender_str": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 0,
- "buckets": [
- {
- "key": "Women",
- "doc_count": 79
- }
- ]
- }
- }
- },
- "flat_hierarchy_product_cat_str": {
- "doc_count": 1085,
- "flat_hierarchy_product_cat_str": {
- "doc_count": 1085,
- "flat_hierarchy_product_cat_str": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 306,
- "buckets": [
- {
- "key": "Fashion",
- "doc_count": 1085
- },
- {
- "key": "Fashion->Women",
- "doc_count": 1085
- },
- {
- "key": "Fashion->Women->Women Clothing",
- "doc_count": 580
- },
- {
- "key": "Fashion->Women->Women Clothing->Wedding Dress",
- "doc_count": 245
- },
- {
- "key": "Fashion->Women->Eyewear",
- "doc_count": 196
- },
- {
- "key": "Fashion->Women->Women Bags",
- "doc_count": 182
- },
- {
- "key": "Fashion->Women->Women Clothing->Dresses",
- "doc_count": 137
- },
- {
- "key": "Fashion->Women->Eyewear->Sunglasses",
- "doc_count": 135
- },
- {
- "key": "Fashion->Women->Women Shoes",
- "doc_count": 83
- },
- {
- "key": "Fashion->Women->Women Bags->Totes",
- "doc_count": 66
- },
- {
- "key": "Fashion->Women->Eyewear->Eyeglasses",
- "doc_count": 61
- },
- {
- "key": "Fashion->Women->Women Bags->Cross body bags",
- "doc_count": 40
- },
- {
- "key": "Fashion->Women->Women Bags->Fashion backpacks",
- "doc_count": 32
- },
- {
- "key": "Fashion->Women->Women Shoes->Sneakers",
- "doc_count": 27
- },
- {
- "key": "Fashion->Women->Women Clothing->Sportswear",
- "doc_count": 25
- },
- {
- "key": "Fashion->Women->Women Clothing->Tops",
- "doc_count": 22
- },
- {
- "key": "Fashion->Women->Women Clothing->Jeans",
- "doc_count": 21
- },
- {
- "key": "Fashion->Women->Jewellery",
- "doc_count": 19
- },
- {
- "key": "Fashion->Women->Women Accessories",
- "doc_count": 19
- },
- {
- "key": "Fashion->Women->Women Shoes->Pumps",
- "doc_count": 19
- }
- ]
- }
- }
- },
- "pa_color_str": {
- "doc_count": 1085,
- "pa_color_str": {
- "doc_count": 1085,
- "pa_color_str": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 203,
- "buckets": [
- {
- "key": "White",
- "doc_count": 167
- },
- {
- "key": "Black",
- "doc_count": 109
- },
- {
- "key": "Ivory",
- "doc_count": 30
- },
- {
- "key": "Brown",
- "doc_count": 29
- },
- {
- "key": "Pink",
- "doc_count": 24
- },
- {
- "key": "Blue",
- "doc_count": 23
- },
- {
- "key": "Clear\/Havana",
- "doc_count": 22
- },
- {
- "key": "Natural White",
- "doc_count": 21
- },
- {
- "key": "Red",
- "doc_count": 21
- },
- {
- "key": "Clear\/Black",
- "doc_count": 19
- },
- {
- "key": "Grey\/Black",
- "doc_count": 18
- },
- {
- "key": "Navy Blue",
- "doc_count": 14
- },
- {
- "key": "Beige",
- "doc_count": 12
- },
- {
- "key": "Green",
- "doc_count": 12
- },
- {
- "key": "Silver",
- "doc_count": 12
- },
- {
- "key": "Multicolor",
- "doc_count": 10
- },
- {
- "key": "Nude",
- "doc_count": 10
- },
- {
- "key": "Purple",
- "doc_count": 9
- },
- {
- "key": "Blue\/Silver",
- "doc_count": 8
- },
- {
- "key": "Grey",
- "doc_count": 8
- }
- ]
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement