Hi,
Probably pretty simple really. I need to return all objects that have a category applied.
Category has 1 field, a required text field.
This just produces null results:
where1=Attr_78057_2:*
Thanks,
Adam
First, ensure that your region names are always encased in double quotation marks.
So it should be… “Attr_78057_2”:*
Secondly, this will only return results if at least one item in the system has the category applied AND an attribute value was specified AND that item has been indexed.
There is a DCategory region that could also be used to search for items with a particular category applied, by the category’s DataID, regardless of whether or not attribute values were specified.
Do you mean OTDCategory? When I search for the absense of a category using this OTDCategory:not 1234 I get the expected results (documents without a category with dataid 1234). But when I search for docs with this category using OTDCategory:1234 I do NOT get the expected results - I get all docs with ANY category.