I´m having a problem when searching for multiple user attributes and I don´t want them all to be required. Example: I want to display all users containing query text "developers" in either in attribute "title" OR in attribute "profession".
Is there a way to set the criteria to Required=false like in PropertyCriteria?
I´m having a problem when searching for multiple user attributes and I don´t want them all to be required. Example: I want to display all users containing query text "developers" in either in attribute "title" OR in attribute "profession".
Is there a way to set the criteria to Required=false like in PropertyCriteria?
Example:
StringCriterion criteria = new StringCriterion();
criteria.Value = queryText;
criteria.WildCardType = WildCardType.Both;
criteria.Required = false;
attributeQuery[attribute] = criteria;