How to store 2D array of Double data type in Azure search index

Debashis Jena 71 Reputation points
2022-10-28T03:26:15.67+00:00

What Type should we choose to store 2 dimensional array of double data type in Azure search index.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,062 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 26,636 Reputation points Microsoft Employee
    2022-10-28T15:07:47.033+00:00

    @Debashis Jena ,

    You can have Edm.ComplexType with two Edm.Double subfields.

    Edm.ComplexTypeObjects whose properties map to sub-fields that can be of any other supported data type. This enables indexing of structured hierarchical data such as JSON. Objects in a field of type Edm.ComplexType can contain nested objects, but the level of nesting is limited.
    The limits are described in Service limits.

    See:
    Model complex data types in Azure Cognitive Search

    EDM data types used in Azure Cognitive Search indexes and documents

    --

    To benefit the community find the right answers, please do mark the post which was helpful by clicking on Accept Answer’ & ‘Up-Vote’.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.