Default Index Queries

This is a set of default queries that are run against stations in the NiagaraNetwork, and optionally against the Supervisor’s station (depending on how you have configured the SystemIndexService), during the system indexing process.

You can use these default queries (via the LocalSystemIndexer) to index your local Supervisor station, and/or all stations in the Supervisor’s NiagaraNetwork (via the NiagaraNetworkSystemIndexSource), and populate your System Database. By default, the root component of the station is indexed, as well as entities in all other driver networks, as described here.

Additionally, you can use the default queries (via the NiagaraSystemIndexExport/Import) to push/pull entity data from an individual station into the Supervisor’s SystemDb.

  • station:|slot:/|bql:{asComponent}

    Pulls in the root component of the station, which is required in scoped queries.

  • station:|slot:/|bql:select * from driver:DeviceNetwork where type !=niagaraDriver:NiagaraNetwork

    Pulls in all driver networks (excluding NiagaraNetwork) to index entities in other device networks.

  • station:|slot:/|bql:select * from driver:DeviceFolder where type != niagaraDriver:NiagaraStationFolder

    Pulls in all driver device folders (excluding NiagaraDriver device folders) to index device folders in other networks.

  • station:|slot:/|bql:select * from driver:Device where type !=niagaraDriver:NiagaraStation and type !=niagaraDriver:NiagaraEdgeStation

    Pulls in all devices (excluding NiagaraStations and NiagaraEdgeStations) to index devices in other networks.

  • station:|slot:/|bql:select * from driver:PointFolder where type !=niagaraDriver:NiagaraPointFolder

    Pulls in all driver Point folders (excluding NiagaraDriver point folders) to index point folders in other networks.

  • station:|slot:/|bql:select * from control:ControlPoint where proxyExt.type !=niagaraDriver:NiagaraProxyExt

    Pulls in all control points (excluding Niagara proxy points) to index control points from other networks.

  • station:|slot:/|bql:select * from schedule:AbstractSchedule where type !=niagaraDriver:NiagaraAbstractSchedule

    Pulls in all schedules (excluding Niagara schedules) to index schedules in other networks.