Skip to content

Instantly share code, notes, and snippets.

@lipusz
Last active October 4, 2019 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lipusz/a07c4acd3f92724f233be0ecc31f410f to your computer and use it in GitHub Desktop.
Save lipusz/a07c4acd3f92724f233be0ecc31f410f to your computer and use it in GitHub Desktop.
Liferay Portal & DXP 7.2 - Search Bar widget search queries for Elasticsearch
// Keyword: dxp
// Result Rankings:
// - 2 Web Content articles pinned & reorderd
// - 1 Web Content article hidden
{
"from":0,
"size":20,
"query":{
"bool":{
"must_not":[
{
"ids":{
"type":[
],
"values":[
"com.liferay.journal.model.JournalArticle_PORTLET_34978"
]
}
}
],
"should":[
{
"ids":{
"type":[
],
"values":[
"com.liferay.journal.model.JournalArticle_PORTLET_34950"
],
"boost":20000.0
}
},
{
"ids":{
"type":[
],
"values":[
"com.liferay.journal.model.JournalArticle_PORTLET_34903"
],
"boost":10000.0
}
},
{
"bool":{
"must":[
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"bool":{
"must":[
{
"match":{
"comments":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"comments":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"comments":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"properties":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"url":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"url":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"url":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"assetCategoryTitles_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"assetCategoryTitles_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"assetCategoryTitles_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"assetTagNames_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"assetTagNames_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"assetTagNames_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"ddmContent":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"ddmContent":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"ddmContent":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"extension":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"extension":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"extension":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"fileEntryTypeId":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"fileEntryTypeId":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"fileEntryTypeId":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"path":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"city":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"city":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"city":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"country":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"country":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"country":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"emailAddress":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"firstName":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"firstName":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"firstName":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"fullName":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"fullName":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"fullName":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"jobTitle":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"jobTitle":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"jobTitle":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"lastName":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"lastName":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"lastName":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"middleName":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"middleName":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"middleName":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"region":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"region":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"region":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"screenName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"street":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"street":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"street":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"zip":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"zip":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"zip":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"subtitle":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"subtitle":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"subtitle":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"ddmContent_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"ddmContent_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"ddmContent_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"ddmContent_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"ddmContent_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"ddmContent_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"articleId":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"articleId":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"articleId":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"classPK":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"classPK":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"classPK":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_zh_CN":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_zh_CN":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_zh_CN":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_fi_FI":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_fi_FI":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_fi_FI":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_ca_ES":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_ca_ES":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_ca_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_de_DE":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_de_DE":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_de_DE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_hu_HU":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_hu_HU":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_hu_HU":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_pt_BR":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_pt_BR":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_pt_BR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_es_ES":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_es_ES":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_es_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_ar_SA":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_ar_SA":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_ar_SA":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_sv_SE":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_sv_SE":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_sv_SE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_nl_NL":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_nl_NL":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_nl_NL":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_fr_FR":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_fr_FR":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_fr_FR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_ja_JP":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_ja_JP":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_ja_JP":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_ja_JP":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_ja_JP":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_ja_JP":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_fr_FR":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_fr_FR":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_fr_FR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_fi_FI":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_fi_FI":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_fi_FI":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_ca_ES":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_ca_ES":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_ca_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_de_DE":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_de_DE":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_de_DE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_hu_HU":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_hu_HU":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_hu_HU":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_ar_SA":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_ar_SA":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_ar_SA":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_pt_BR":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_pt_BR":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_pt_BR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_zh_CN":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_zh_CN":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_zh_CN":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_es_ES":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_es_ES":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_es_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_nl_NL":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_nl_NL":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_nl_NL":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_sv_SE":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_sv_SE":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_sv_SE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"entryClassPK":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"entryClassPK":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"entryClassPK":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_es_ES":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_es_ES":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_es_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_ar_SA":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_ar_SA":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_ar_SA":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_nl_NL":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_nl_NL":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_nl_NL":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_zh_CN":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_zh_CN":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_zh_CN":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_ja_JP":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_ja_JP":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_ja_JP":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_pt_BR":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_pt_BR":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_pt_BR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_sv_SE":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_sv_SE":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_sv_SE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_fi_FI":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_fi_FI":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_fi_FI":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_ca_ES":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_ca_ES":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_ca_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_de_DE":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_de_DE":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_de_DE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_hu_HU":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_hu_HU":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_hu_HU":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_fr_FR":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_fr_FR":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_fr_FR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
}
]
}
}
]
}
}
],
"filter":[
{
"bool":{
"must":[
{
"term":{
"companyId":{
"value":"20101"
}
}
},
{
"bool":{
"must":[
{
"terms":{
"groupId":[
"20124"
]
}
},
{
"terms":{
"scopeGroupId":[
"20124"
]
}
}
]
}
},
{
"bool":{
"should":[
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.wiki.model.WikiPage"
}
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.document.library.kernel.model.DLFileEntry"
}
}
},
{
"term":{
"hidden":{
"value":"false"
}
}
},
{
"term":{
"hidden":{
"value":"false"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.portal.kernel.model.User"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
}
],
"must_not":[
{
"term":{
"defaultUser":{
"value":"true"
}
}
},
{
"term":{
"defaultUser":{
"value":"true"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.blogs.model.BlogsEntry"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.dynamic.data.mapping.model.DDMFormInstanceRecord"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.document.library.kernel.model.DLFolder"
}
}
},
{
"term":{
"hidden":{
"value":"false"
}
}
},
{
"term":{
"hidden":{
"value":"false"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.portal.kernel.model.Layout"
}
}
},
{
"terms":{
"type":[
"content"
]
}
},
{
"terms":{
"type":[
"content"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.dynamic.data.lists.model.DDLRecord"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
},
{
"term":{
"recordSetScope":{
"value":"0"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
},
{
"term":{
"recordSetScope":{
"value":"0"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.journal.model.JournalArticle"
}
}
},
{
"term":{
"head":{
"value":"true"
}
}
},
{
"terms":{
"status":[
"0"
]
}
}
],
"should":[
{
"range":{
"expirationDate":{
"from":"20191004150848",
"to":null,
"include_lower":false,
"include_upper":false,
"format":"yyyyMMddHHmmss"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.journal.model.JournalFolder"
}
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.message.boards.model.MBMessage"
}
}
},
{
"term":{
"discussion":{
"value":"false"
}
}
},
{
"term":{
"discussion":{
"value":"false"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.calendar.model.CalendarBooking"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.knowledge.base.model.KBArticle"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
},
"explain":true,
"stored_fields":"*",
"track_scores":true,
"aggregations":{
"com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet":{
"terms":{
"field":"assetCategoryIds",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"com_liferay_portal_search_web_folder_facet_portlet_FolderFacetPortlet":{
"terms":{
"field":"folderId",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet":{
"terms":{
"field":"entryClassName",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"com_liferay_portal_search_web_tag_facet_portlet_TagFacetPortlet":{
"terms":{
"field":"assetTagNames.raw",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"modified":{
"range":{
"field":"modified",
"ranges":[
{
"key":"[20191004140848 TO 20191004150848]",
"from":"20191004140848",
"to":"20191004150848"
},
{
"key":"[20191003150848 TO 20191004150848]",
"from":"20191003150848",
"to":"20191004150848"
},
{
"key":"[20190927150848 TO 20191004150848]",
"from":"20190927150848",
"to":"20191004150848"
},
{
"key":"[20190904150848 TO 20191004150848]",
"from":"20190904150848",
"to":"20191004150848"
},
{
"key":"[20181004150848 TO 20191004150848]",
"from":"20181004150848",
"to":"20191004150848"
}
],
"keyed":false
}
},
"com_liferay_portal_search_web_user_facet_portlet_UserFacetPortlet":{
"terms":{
"field":"userName",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"com_liferay_portal_search_web_site_facet_portlet_SiteFacetPortlet":{
"terms":{
"field":"groupId",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
}
},
"highlight":{
"pre_tags":[
"<liferay-hl>"
],
"post_tags":[
"</liferay-hl>"
],
"require_field_match":true,
"fields":{
"content_zh_CN":{
"fragment_size":80,
"number_of_fragments":3
},
"title_es_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"description_ja_JP":{
"fragment_size":80,
"number_of_fragments":3
},
"content_fi_FI":{
"fragment_size":80,
"number_of_fragments":3
},
"description_fr_FR":{
"fragment_size":80,
"number_of_fragments":3
},
"description":{
"fragment_size":80,
"number_of_fragments":3
},
"description_ca_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"description_de_DE":{
"fragment_size":80,
"number_of_fragments":3
},
"description_hu_HU":{
"fragment_size":80,
"number_of_fragments":3
},
"title_ar_SA":{
"fragment_size":80,
"number_of_fragments":3
},
"description_ar_SA":{
"fragment_size":80,
"number_of_fragments":3
},
"title":{
"fragment_size":80,
"number_of_fragments":3
},
"title_nl_NL":{
"fragment_size":80,
"number_of_fragments":3
},
"content":{
"fragment_size":80,
"number_of_fragments":3
},
"description_pt_BR":{
"fragment_size":80,
"number_of_fragments":3
},
"title_ja_JP":{
"fragment_size":80,
"number_of_fragments":3
},
"content_sv_SE":{
"fragment_size":80,
"number_of_fragments":3
},
"description_es_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"title_pt_BR":{
"fragment_size":80,
"number_of_fragments":3
},
"content_fr_FR":{
"fragment_size":80,
"number_of_fragments":3
},
"title_fi_FI":{
"fragment_size":80,
"number_of_fragments":3
},
"description_nl_NL":{
"fragment_size":80,
"number_of_fragments":3
},
"title_ca_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"content_en_US":{
"fragment_size":80,
"number_of_fragments":3
},
"assetCategoryTitles":{
"fragment_size":80,
"number_of_fragments":3
},
"content_ca_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"content_de_DE":{
"fragment_size":80,
"number_of_fragments":3
},
"content_hu_HU":{
"fragment_size":80,
"number_of_fragments":3
},
"description_fi_FI":{
"fragment_size":80,
"number_of_fragments":3
},
"fullName":{
"fragment_size":80,
"number_of_fragments":3
},
"content_pt_BR":{
"fragment_size":80,
"number_of_fragments":3
},
"content_es_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"content_ar_SA":{
"fragment_size":80,
"number_of_fragments":3
},
"title_zh_CN":{
"fragment_size":80,
"number_of_fragments":3
},
"description_zh_CN":{
"fragment_size":80,
"number_of_fragments":3
},
"content_nl_NL":{
"fragment_size":80,
"number_of_fragments":3
},
"title_sv_SE":{
"fragment_size":80,
"number_of_fragments":3
},
"content_ja_JP":{
"fragment_size":80,
"number_of_fragments":3
},
"description_en_US":{
"fragment_size":80,
"number_of_fragments":3
},
"description_sv_SE":{
"fragment_size":80,
"number_of_fragments":3
},
"title_en_US":{
"fragment_size":80,
"number_of_fragments":3
},
"title_de_DE":{
"fragment_size":80,
"number_of_fragments":3
},
"title_hu_HU":{
"fragment_size":80,
"number_of_fragments":3
},
"title_fr_FR":{
"fragment_size":80,
"number_of_fragments":3
}
}
}
}
// Keyword: dxp
{
"from":0,
"size":20,
"query":{
"bool":{
"must":[
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"bool":{
"must":[
{
"match":{
"comments":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"comments":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"comments":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"properties":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"url":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"url":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"url":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"assetCategoryTitles_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"assetCategoryTitles_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"assetCategoryTitles_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"assetTagNames_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"assetTagNames_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"assetTagNames_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"ddmContent":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"ddmContent":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"ddmContent":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"extension":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"extension":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"extension":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"fileEntryTypeId":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"fileEntryTypeId":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"fileEntryTypeId":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"path":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"city":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"city":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"city":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"country":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"country":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"country":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"emailAddress":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"firstName":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"firstName":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"firstName":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"fullName":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"fullName":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"fullName":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"jobTitle":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"jobTitle":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"jobTitle":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"lastName":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"lastName":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"lastName":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"middleName":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"middleName":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"middleName":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"region":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"region":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"region":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"screenName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"street":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"street":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"street":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"zip":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"zip":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"zip":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"subtitle":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"subtitle":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"subtitle":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"ddmContent_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"ddmContent_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"ddmContent_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"ddmContent_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"ddmContent_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"ddmContent_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"articleId":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"articleId":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"articleId":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"classPK":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"classPK":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"classPK":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_zh_CN":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_zh_CN":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_zh_CN":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_fi_FI":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_fi_FI":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_fi_FI":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_ca_ES":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_ca_ES":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_ca_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_de_DE":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_de_DE":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_de_DE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_hu_HU":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_hu_HU":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_hu_HU":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_pt_BR":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_pt_BR":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_pt_BR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_es_ES":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_es_ES":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_es_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_ar_SA":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_ar_SA":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_ar_SA":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_sv_SE":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_sv_SE":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_sv_SE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_nl_NL":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_nl_NL":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_nl_NL":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_fr_FR":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_fr_FR":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_fr_FR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_ja_JP":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_ja_JP":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_ja_JP":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_ja_JP":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_ja_JP":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_ja_JP":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_fr_FR":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_fr_FR":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_fr_FR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_fi_FI":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_fi_FI":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_fi_FI":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_ca_ES":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_ca_ES":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_ca_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_de_DE":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_de_DE":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_de_DE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_hu_HU":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_hu_HU":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_hu_HU":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_ar_SA":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_ar_SA":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_ar_SA":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_pt_BR":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_pt_BR":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_pt_BR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_zh_CN":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_zh_CN":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_zh_CN":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_es_ES":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_es_ES":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_es_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_nl_NL":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_nl_NL":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_nl_NL":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_sv_SE":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_sv_SE":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_sv_SE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"entryClassPK":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"entryClassPK":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"entryClassPK":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_es_ES":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_es_ES":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_es_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_ar_SA":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_ar_SA":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_ar_SA":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_nl_NL":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_nl_NL":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_nl_NL":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_zh_CN":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_zh_CN":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_zh_CN":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_ja_JP":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_ja_JP":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_ja_JP":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_pt_BR":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_pt_BR":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_pt_BR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_sv_SE":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_sv_SE":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_sv_SE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_fi_FI":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_fi_FI":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_fi_FI":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_ca_ES":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_ca_ES":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_ca_ES":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_de_DE":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_de_DE":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_de_DE":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_hu_HU":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_hu_HU":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_hu_HU":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_fr_FR":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_fr_FR":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_fr_FR":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description_en_US":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title_en_US":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title_en_US":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title_en_US":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"content":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"content":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"content":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"match":{
"description":{
"query":"dxp"
}
}
}
],
"should":[
{
"match_phrase":{
"description":{
"query":"dxp",
"slop":50
}
}
},
{
"match_phrase":{
"description":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"must":[
{
"bool":{
"should":[
{
"match":{
"title":{
"query":"dxp"
}
}
},
{
"match_phrase_prefix":{
"title":{
"query":"dxp"
}
}
}
]
}
}
],
"should":[
{
"match_phrase":{
"title":{
"query":"dxp",
"boost":2.0
}
}
}
]
}
},
{
"bool":{
"should":[
{
"wildcard":{
"userName":{
"wildcard":"*dxp*"
}
}
}
]
}
}
]
}
}
]
}
}
],
"filter":[
{
"bool":{
"must":[
{
"term":{
"companyId":{
"value":"20101"
}
}
},
{
"bool":{
"must":[
{
"terms":{
"groupId":[
"20124"
]
}
},
{
"terms":{
"scopeGroupId":[
"20124"
]
}
}
]
}
},
{
"bool":{
"should":[
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.wiki.model.WikiPage"
}
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.document.library.kernel.model.DLFileEntry"
}
}
},
{
"term":{
"hidden":{
"value":"false"
}
}
},
{
"term":{
"hidden":{
"value":"false"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.portal.kernel.model.User"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
}
],
"must_not":[
{
"term":{
"defaultUser":{
"value":"true"
}
}
},
{
"term":{
"defaultUser":{
"value":"true"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.blogs.model.BlogsEntry"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.dynamic.data.mapping.model.DDMFormInstanceRecord"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.document.library.kernel.model.DLFolder"
}
}
},
{
"term":{
"hidden":{
"value":"false"
}
}
},
{
"term":{
"hidden":{
"value":"false"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.portal.kernel.model.Layout"
}
}
},
{
"terms":{
"type":[
"content"
]
}
},
{
"terms":{
"type":[
"content"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.dynamic.data.lists.model.DDLRecord"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
},
{
"term":{
"recordSetScope":{
"value":"0"
}
}
},
{
"term":{
"status":{
"value":"0"
}
}
},
{
"term":{
"recordSetScope":{
"value":"0"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.journal.model.JournalArticle"
}
}
},
{
"term":{
"head":{
"value":"true"
}
}
},
{
"terms":{
"status":[
"0"
]
}
}
],
"should":[
{
"range":{
"expirationDate":{
"from":"20191004150423",
"to":null,
"include_lower":false,
"include_upper":false,
"format":"yyyyMMddHHmmss"
}
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.journal.model.JournalFolder"
}
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.message.boards.model.MBMessage"
}
}
},
{
"term":{
"discussion":{
"value":"false"
}
}
},
{
"term":{
"discussion":{
"value":"false"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.calendar.model.CalendarBooking"
}
}
},
{
"terms":{
"status":[
"0"
]
}
},
{
"terms":{
"status":[
"0"
]
}
}
]
}
},
{
"bool":{
"must":[
{
"term":{
"entryClassName":{
"value":"com.liferay.knowledge.base.model.KBArticle"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
},
"explain":true,
"stored_fields":"*",
"track_scores":true,
"aggregations":{
"com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet":{
"terms":{
"field":"assetCategoryIds",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"com_liferay_portal_search_web_folder_facet_portlet_FolderFacetPortlet":{
"terms":{
"field":"folderId",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet":{
"terms":{
"field":"entryClassName",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"com_liferay_portal_search_web_tag_facet_portlet_TagFacetPortlet":{
"terms":{
"field":"assetTagNames.raw",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"modified":{
"range":{
"field":"modified",
"ranges":[
{
"key":"[20191004140423 TO 20191004150423]",
"from":"20191004140423",
"to":"20191004150423"
},
{
"key":"[20191003150423 TO 20191004150423]",
"from":"20191003150423",
"to":"20191004150423"
},
{
"key":"[20190927150423 TO 20191004150423]",
"from":"20190927150423",
"to":"20191004150423"
},
{
"key":"[20190904150423 TO 20191004150423]",
"from":"20190904150423",
"to":"20191004150423"
},
{
"key":"[20181004150423 TO 20191004150423]",
"from":"20181004150423",
"to":"20191004150423"
}
],
"keyed":false
}
},
"com_liferay_portal_search_web_user_facet_portlet_UserFacetPortlet":{
"terms":{
"field":"userName",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
},
"com_liferay_portal_search_web_site_facet_portlet_SiteFacetPortlet":{
"terms":{
"field":"groupId",
"size":10,
"min_doc_count":1,
"shard_min_doc_count":0,
"show_term_doc_count_error":false,
"order":[
{
"_count":"desc"
},
{
"_key":"asc"
}
]
}
}
},
"highlight":{
"pre_tags":[
"<liferay-hl>"
],
"post_tags":[
"</liferay-hl>"
],
"require_field_match":true,
"fields":{
"content_zh_CN":{
"fragment_size":80,
"number_of_fragments":3
},
"title_es_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"description_ja_JP":{
"fragment_size":80,
"number_of_fragments":3
},
"content_fi_FI":{
"fragment_size":80,
"number_of_fragments":3
},
"description_fr_FR":{
"fragment_size":80,
"number_of_fragments":3
},
"description":{
"fragment_size":80,
"number_of_fragments":3
},
"description_ca_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"description_de_DE":{
"fragment_size":80,
"number_of_fragments":3
},
"description_hu_HU":{
"fragment_size":80,
"number_of_fragments":3
},
"title_ar_SA":{
"fragment_size":80,
"number_of_fragments":3
},
"description_ar_SA":{
"fragment_size":80,
"number_of_fragments":3
},
"title":{
"fragment_size":80,
"number_of_fragments":3
},
"title_nl_NL":{
"fragment_size":80,
"number_of_fragments":3
},
"content":{
"fragment_size":80,
"number_of_fragments":3
},
"description_pt_BR":{
"fragment_size":80,
"number_of_fragments":3
},
"title_ja_JP":{
"fragment_size":80,
"number_of_fragments":3
},
"content_sv_SE":{
"fragment_size":80,
"number_of_fragments":3
},
"description_es_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"title_pt_BR":{
"fragment_size":80,
"number_of_fragments":3
},
"content_fr_FR":{
"fragment_size":80,
"number_of_fragments":3
},
"title_fi_FI":{
"fragment_size":80,
"number_of_fragments":3
},
"description_nl_NL":{
"fragment_size":80,
"number_of_fragments":3
},
"title_ca_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"content_en_US":{
"fragment_size":80,
"number_of_fragments":3
},
"assetCategoryTitles":{
"fragment_size":80,
"number_of_fragments":3
},
"content_ca_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"content_de_DE":{
"fragment_size":80,
"number_of_fragments":3
},
"content_hu_HU":{
"fragment_size":80,
"number_of_fragments":3
},
"description_fi_FI":{
"fragment_size":80,
"number_of_fragments":3
},
"fullName":{
"fragment_size":80,
"number_of_fragments":3
},
"content_pt_BR":{
"fragment_size":80,
"number_of_fragments":3
},
"content_es_ES":{
"fragment_size":80,
"number_of_fragments":3
},
"content_ar_SA":{
"fragment_size":80,
"number_of_fragments":3
},
"title_zh_CN":{
"fragment_size":80,
"number_of_fragments":3
},
"description_zh_CN":{
"fragment_size":80,
"number_of_fragments":3
},
"content_nl_NL":{
"fragment_size":80,
"number_of_fragments":3
},
"title_sv_SE":{
"fragment_size":80,
"number_of_fragments":3
},
"content_ja_JP":{
"fragment_size":80,
"number_of_fragments":3
},
"description_en_US":{
"fragment_size":80,
"number_of_fragments":3
},
"description_sv_SE":{
"fragment_size":80,
"number_of_fragments":3
},
"title_en_US":{
"fragment_size":80,
"number_of_fragments":3
},
"title_de_DE":{
"fragment_size":80,
"number_of_fragments":3
},
"title_hu_HU":{
"fragment_size":80,
"number_of_fragments":3
},
"title_fr_FR":{
"fragment_size":80,
"number_of_fragments":3
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment