We have been using Azure Search for a number of years and it has been working well. I just became aware of the new complex data types, and am very interested in implementing them. I can find good examples of how to create the index, but my challenge is with how to implement the indexer.
We use indexers to our SQL Server database, with the integrated change detection enabled to update our indexes automatically when we run the indexer. For this to work, the datasource must point to a table.
For our current implementation, we have flattened our data to place several multi-value fields into lists so that they can be brought into the index. It would be awesome if we could avoid having to do this flattening.
As an example, let's assume we are indexing song data, and that data includes a SongID, Title, AuthorIDs and AuthorNames. The source data comes from a Song table and an Author table, both of which include a SongID. Our current flattened table contains entries such as:
SongID: S9182
Title: My awesome new song
AuthorIDs: ["A12345","A67890"]
AuthorNames: ["John Smith","Sally Smith"]
Any pointers on how I could accomplish this? My only thought is to have multiple indexers. One for the base information, and others for each complex data type. But that does not seem very elegant.
Thanks!