How to remove inner list id from result in elastic search

I have product list into elastic.

My product entity is as below
Id,Name, AssociateProductIds

Now I have to remove AssociateProductIds from result. What query I have to write?

Id Name AssociateProductIds
1 Apple 64 2,3
2 Apple 128 1,3
3 Apple 556 1,2

When user search products then I need only 1product relavant to result criteria not all this above product. All above product is connected with each other.

Is it possible to show your query and an example doc?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.