hw_GetObjectByQuery — Search object
Searches for objects on the whole server and returns an array of object ids.
The connection identifier.
The query will only work with indexed attributes.
The maximum number of matches is limited to max_hits. If max_hits is set to -1 the maximum number of matches is unlimited.
Returns an array of object ids.