I have a scenario where different applications are sending different fields for the same purpose which is making getting the aggregates/query data difficult and resulting in Big query.
Here is one of the field which specifies the file path.
For example:
- App 1 -> Sending "FilePath" as the file path
- App 2 -> Sending "CurrentFilePath" as the file path
- App 3 -> Sending "ItemPath" as the file path
As you can see the above Apps are sending 3 different fields for the file path. Is there a way I can populate an extra field "FilePath" for App2 and App3 documents on ingestion, so that single query on field "FilePath" and aggregation on "FilePath" can work.
NOTE: When I search for documents with field "FilePath", I want to get the complete document with all properties including "FilePath" for all the apps.
I would really appreciate if someone can help me here.