Github user ustcweizhou commented on the issue:
    @Ashadeepa I just tested it. It seems it is not working as I expected if 
username and keyword are both set.
    I suggest to use the following
            sb.and("username", sb.entity().getUsername(), SearchCriteria.Op.EQ);
            sb.and("keyword", sb.entity().getUsername(), 
            if (keyword!= null) {
                 sc.setParameters("keyword",  "%" + keyword + "%");

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to