azure Cognitive serach break single record to multiple record while inserting in Indexer.

Somnath Shukla 411 Reputation points
2021-06-20T11:50:14.057+00:00

I am reading a pdf file content and using cognitive search i am splitting the record. and from each record i am getting the entity and key phrases. I want to create single record in indexer for sub article.
write the issue i am facing let say thee are 3 sub article on the page. there is no way i can find which key phrase/sentiment is from which sub ariticle?
I want to create 3 entry but it creates single entry.
Let say page has 3 sub srticle.
sub article1
sub article2
sub article3.

after running the indexer i will get a single entry

filename, [sentimment1,sentimment2, sentimment3], [people1,people2, people3] [sub article1,sub article2,sub article3]

I want 3 entry
filename, [sentimment1], [people1] [sub article1,]
filename, [sentimment2, ], [,people2, ] [sub article2,]
filename, [sentimment3], [ people3] [sub article3]

[JsonPropertyName("organizations")]
[SearchableField(AnalyzerName = LexicalAnalyzerName.Values.EnLucene, IsFilterable = true, IsFacetable = true)]
public string[] Organizations { get; set; }

    [JsonPropertyName("keyPhrases")]
    [SearchableField(AnalyzerName = LexicalAnalyzerName.Values.EnLucene, IsFilterable = true, IsFacetable = true)]
    public string[] KeyPhrases { get; set; }

    [JsonPropertyName("locations")]
    [SearchableField(AnalyzerName = LexicalAnalyzerName.Values.EnLucene, IsFilterable = true, IsFacetable = true)]
    public string[] Locations { get; set; }

    [SearchableField]
    [JsonPropertyName("review")]
    public string[] Review { get; set; }

    [SearchableField]
    [JsonPropertyName("textItems")]
    public string[] TextItems { get; set; }
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.
834 questions
{count} votes