In ElasticSearch I've documents following the structure of an example document given below:
{
"ProductType": "TV",
"Manufacturer": "XYZ",
"Model": "XYZ-52-TV",
"ProductDocumentationTopic": "DeviceSpecifications",
"Content": "Lorem ipsum screen size = 10 Minim eu laborum ex veniam et ut commodo ullamco culpa irure ad nulla veniam et irure deserunt eiusmod nostrud"
}
I'm trying to search Content
value only within an exact specific product.
The product will be identified by exactly matching values for ProductType
,Manufacturer
,Model
, and ProductDocumentationTopic
.
Hence, following the given example above, how can I search for the Content
within "DeviceSpecifications" documentation of a "XYZ-52-TV" model TV manufactured by "XYZ"?
Please guide with an appropriate ElasticSearch query.