Top results of cross-Engine investigations with Finder (classic)

Overview

Investigations that return a specified number of top objects, which are ordered according to a particular criterion, may yield surprising results when targeting multiple Engines simultaneously.

Learn how these top investigations are executed in Cross-Engine contexts to avoid misunderstandings.

Individual execution of top investigations

When targeting multiple Engines, a top investigation first executes on each Engine individually and then aggregates the results. For instance, suppose that you are looking for the top 4 domains ordered by the highest number of visiting devices across two Engines.

Engine 1Engine 1Engine 2Engine 2

Domain

Number of Devices

Domain

Number of Devices

community.nexthink.com

300

community.nexthink.com

350

docs.nexthink.com

200

www.nexthink.com

150

www.nexthink.com

150

docs.nexthink.com

50

design.nexthink.com

50

design.nexthink.com

40

The Cross-Engine investigation returns the total number of devices by adding the results in both Engines.

DomainNumber of Devices

community.nexthink.com

650

www.nexthink.com

300

docs.nexthink.com

250

design.nexthink.com

90

Aggregation of different top results

However, imagine that you repeat the same investigation, but you only ask for the top two domains with the highest number of visiting devices. In this case, the individual execution on each Engine returns a different list of domains:

Engine 1Engine 1Engine 2Engine 2

Domain

Number of Devices

Domain

Number of Devices

community.nexthink.com

300

community.nexthink.com

350

docs.nexthink.com

200

www.nexthink.com

150

Results beyond the second domain are lost. Thus, the aggregation of results ignores anything after the second position and the Cross-Engine investigation returns the following:

DomainNumber of Devices

community.nexthink.com

650

docs.nexthink.com

200

While we might expect to find the domain www.nexthink.com in second place with 300 devices, as in the previous top four investigations, we instead see that docs.nexthink.com comes in second place with 200 devices because the aggregation is ignoring the values beyond the second place in both Engines. Keep this behavior in mind when writing Cross-Engine top investigations with aggregates that are added up.

Last updated