I have this Liquid template to find items containing the Term value string and it works correctly:
{
"query": {
"bool": {
"must" : {
"term" : { "Content.ContentItem.ContentType" : "Product" }
},
"filter": [
{ "term": { "Content.ContentItem.Published" : "true" }},
{ "wildcard": { "Content.ContentItem.FullText" : "*{{Term}}*" }}
]
}
}
}
My FullText format is customized by:
{{Model.Content.Product.SearchKeywords.Text}} {{Model.Content.Product.Alias.Text}}
which SearchKeywords is a field in Product ContentType.
But I do not know how to find items having specific list of keywords like ["LTB-72-5", "FPS", "LBS"]