Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1706

Query of type class com.atlassian.user.search.query.MultiTermBooleanQuery is not supported by Crowd

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Low Low
    • None
    • 2.0
    • None

      Confluence does such queries and receives the following error

      2009-09-22 11:42:42,159 ERROR [http-54693-Processor7] [crowd.integration.atlassianuser.CrowdEntityQueryParser] findUsers Query of type class com.atlassian.user.search.query.MultiTermBooleanQuery is not supported by Crowd
       -- referer: http://localhost:54693/confluence/admin/users/dosearchusers.action | url: /confluence/admin/users/dosearchusers.action | userName: admin | action: dosearchusers
      com.atlassian.user.search.query.EntityQueryException: Query of type class com.atlassian.user.search.query.MultiTermBooleanQuery is not supported by Crowd
      	at com.atlassian.crowd.integration.atlassianuser.CrowdEntityQueryParser.ensureAllTermQueries(CrowdEntityQueryParser.java:210)
      	at com.atlassian.crowd.integration.atlassianuser.CrowdEntityQueryParser.searchUsers(CrowdEntityQueryParser.java:228)
      	at com.atlassian.crowd.integration.atlassianuser.CrowdEntityQueryParser.findUsers(CrowdEntityQueryParser.java:303)
      	at com.atlassian.crowd.integration.atlassianuser.CrowdEntityQueryParser.findUsers(CrowdEntityQueryParser.java:126)
      	at com.atlassian.user.impl.delegation.search.query.DelegatingEntityQueryParser.findUsers(DelegatingEntityQueryParser.java:63)
      	at com.atlassian.confluence.user.DefaultSearchEntitiesManager.findUsers(DefaultSearchEntitiesManager.java:145)
      	at com.atlassian.confluence.user.DefaultSearchEntitiesManager.findUsersAsList(DefaultSearchEntitiesManager.java:40)
      	at com.atlassian.confluence.user.actions.SearchUsersAction.doUserSearch(SearchUsersAction.java:134)
      
      

      It would be great if they were supported.

      This is reported in Confluence as CONF-17027

            [CWD-1706] Query of type class com.atlassian.user.search.query.MultiTermBooleanQuery is not supported by Crowd

            As Shihab mentioned, this will become irrelevant with the release of Confluence 3.5, so we're not going to fix this.

            David O'Flynn [Atlassian] added a comment - As Shihab mentioned, this will become irrelevant with the release of Confluence 3.5, so we're not going to fix this.

            shihab added a comment -

            Confluence 3.5 will connect to Crowd in a different way entirely so this issue may be irrelevant going forward.

            shihab added a comment - Confluence 3.5 will connect to Crowd in a different way entirely so this issue may be irrelevant going forward.

            Hi Jeff,

            It'll be fixed with the release of Confluence 3.4 & Crowd 2.1. Currently targeted for October.

            Hope life is treating you well.

            Cheers,
            Dave.

            David O'Flynn [Atlassian] added a comment - Hi Jeff, It'll be fixed with the release of Confluence 3.4 & Crowd 2.1. Currently targeted for October. Hope life is treating you well. Cheers, Dave.

            just saw this on our Confluence. Please fix

            Jeff Kirby added a comment - just saw this on our Confluence. Please fix

            shihab added a comment -

            Crowd currently supports MultiTermBooleanQueries that are either:

            • all AND terms
            • all OR terms

            The current implementation does not handle the mixing of ANDs and ORs in a MultiTermBooleanQuery.

            There is no reason we can't support this since the internals of Crowd v2.0+ allows for arbitrary multi-term boolean queries. We just need to expose the API to the client libraries.

            shihab added a comment - Crowd currently supports MultiTermBooleanQueries that are either: all AND terms all OR terms The current implementation does not handle the mixing of ANDs and ORs in a MultiTermBooleanQuery. There is no reason we can't support this since the internals of Crowd v2.0+ allows for arbitrary multi-term boolean queries. We just need to expose the API to the client libraries.

            Don Willis added a comment -

            It uses a combination of AND and OR queries.

            Don Willis added a comment - It uses a combination of AND and OR queries.

              Unassigned Unassigned
              don.willis@atlassian.com Don Willis
              Affected customers:
              1 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: