Search using "contains" for tags

For example we have serial numbers on our devices and it would be nice to be able to get a query that returns all SN that start with B. Being able to search for not complete matches would be useful.

Thanks. We have an open feature request for this and I will add your +1.

Enabling “contains” queries means building search indices for tags. We can’t support all device tags in an application, so we’ll have to expose a method for defining which device tags (with a maximum number) to index per application.

Until contains queries are supported, you could fetch the devices and filter serial numbers by prefix in a workflow or on your side. If the device set is large, maintaining a small data table of serial prefixes might make those lookups cheaper than scanning every device.