Inventory -> Groups page via filter "Members : IP address" lists all the groups as expected.VMware NSX
NSX Global Search relies on search index. It searches for strings existing within the object's definition/attributes. Whereas, filtering groups by "Members : IP address" in Inventory -> Groups page relies on realization/policy.
Let's say there is a Virtual Machine named "mint" with an IP address "172.16.10.200".
One group is created with name linux and Virtual Machine "mint" is added as a member using the following steps:
Create another group with name linux-explicit-ip-member and add IP address 172.16.10.200 as member using the following steps:
When View members is selected for group named linux (where Virtual Machine was added as a member), both the Virtual machine and realized IP address are visible as members:
When View members is selected for group named linux-explicit-ip-member, only the IP address is visible as member:
When Groups are filtered using the filter "Members : IP address", both the groups are visible in results as this filter relies on realization i.e. it'll show the groups where IP address are realized from Virtual machine and IP address which is direct member of the group.
However, as NSX Global search searches for strings existing within the object's definition/attributes, it only shows group linux-explicit-ip-member because IP address was explicitly added as a member and does not show the other group linux because IP address was realized as a member inside the group.
This is an expected behavior.
To list the groups where IP address is an explicit member and realized member, utilize the filter "Members : IP address" in Inventory -> Groups page.