Home > Blockchain >  How to return average value - Azure Cognitive search or Semantic search query
How to return average value - Azure Cognitive search or Semantic search query

Time:06-28

How to use semantic search(or querytype=simple) and return average of a field. For example, I have a sample enter image description here

enter image description here

CodePudding user response:

Semantic search will only return verbatim statements from your index. It cannot calculate the average from tabular data. See documentation for Returning a semantic answer:

A semantic answer is a substructure of a semantic query response. It consists of one or more verbatim passages from a search document, formulated as an answer to a query that looks like a question. To return an answer, phrases or sentences must exist in a search document that have the language characteristics of an answer, and the query itself must be posed as a question.

  • Related