These are chat archives for collectiveaccess/support

Aug 2017
Aug 30 2017 12:10
Hi, I have a question about how to get specific hits when making a search via rest api call. I am trying to find an object with its idno, however multiple results are returned, containing related objects. For example i am trying to find an object with the call: service.php/find/ca_objects?q=ca_objects.idno:'CRKC.2000.0001', more then one objects are returned. What additional information should i add to get only the required object? Thanks.
Aug 30 2017 13:40
You should make sure your indexing isn't operating on related objects. If you are indexing the idno of objects against objects via ca_objects_x_objects then a search on idno will provide both the actual one as well as related; and the two will be indistinguishable.