Skip to content

Inconsistency in definition of SearchResult->"@search.captions" #13847

Open
@Mohit-Chakraborty

Description

@Mohit-Chakraborty

The spec defines SearchResult.Captions property as a dictionary.

        "@search.captions": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/CaptionResult"
            }
          },

However, the response has it as an array of CaptionResult objects -

      "@search.captions": [
        {
          "text": "Arcadia Resort & Restaurant. The largest year-round resort in the area offering more of everything for your vacation – at the best value! What can you enjoy while at the resort, aside from the mile-long sandy beaches of the lake? Check out our activities sure to excite both young and young-at-heart guests.",
          "highlights": null
        }
      ],

The documentation that shows the response Json also clarifies that.

Metadata

Metadata

Assignees

Labels

SearchService AttentionWorkflow: This issue is responsible by Azure service team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions