query building in discovery service

I’m Working on discovery service in that I need to get the documents which is positive for a specific entity I created a query it is not working fine — filter(entities.text:anusha).term(docSentiment.type:positive,count:1)–
In the tool it is working fine individually as two queries:
1)enriched_text.docSentiment.type:positive
2)enriched_text.entities.text:anusha

but how can I write the query structure using both in single query. can anyone help me out with this.

Related:

Leave a Reply