We found that an Item was not returning in searching by the content in its dc:title field because it had been marked private/unpublished. I’m feeling like this is a simplistic question, but is there a GUI way to find any other Items whose dc:title field is marked private? There’s the batch change for steamrolling some set of Items to set the dc:title to public, but I can’t find how to see which, if any Items would get changed and that matters.
I don’t think we have a search on property visibility. It’s not a particularly complex query on the database side, we just haven’t anticipated or seen the use case for having it in the search API.
Our situation might not rise to the level of a satisfactory use case, but I am a little nervous about whether we have (of some 250 people [represented as Items]) others that won’t show up when a site visitor uses the Faceted Browse. It seems like they’ll appear in the Faceted Browse default listing with private metadata, but won’t be returned when someone tries to browse by the metadata field that’s private for that person.
I can see is_public
in the JSON for an Item – is there a way to filter the API down to that level, or is that what you mean by not having it in the search API?
Something like api/items?dcterms:title[0][is_public]=false
(or the same + credentials)?
Yeah the issue is that the data is there but there isn’t code to search against it.
A query in the database to get every private value for a particular property is simple:
select * from value where property_id = 1 and is_public = 0;
(here using 1 as the property_id, the typical dcterms:title property ID)
and you could use that to check for further instances of this issue.