Uploaded image for project: 'Central AI/Rovo'
  1. Central AI/Rovo
  2. AI-356

CQL Searching with Operator Throws Error

    XMLWordPrintable

Details

    • Severity 3 - Minor

    Description

      Problem Description

      When searching only with Operator, the following error is thrown:

       java.lang.IllegalArgumentException: INVALID_SYNTAX_CANNOT_PARSE: Syntax Error, cannot parse ===:
          at com.atlassian.confluence.search.v2.lucene.mapper.AbstractTextFieldQueryMapper.tryParse(AbstractTextFieldQueryMapper.java:24)
      
      caused by: INVALID_SYNTAX_CANNOT_PARSE: Syntax Error, cannot parse ===:
          at org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser.generateParseException(StandardSyntaxParser.java:1054) 
      

      Steps to Reproduce the error

      On Confluence search column, type in === and hit enter

      Expected Behavior

      Confluence searches as text for any title that contains the symbol.

      Actual Behavior

      Redirected to a page where Oops - an error has occurred message is seen with the stack trace below:

       java.lang.IllegalArgumentException: INVALID_SYNTAX_CANNOT_PARSE: Syntax Error, cannot parse ===:
          at com.atlassian.confluence.search.v2.lucene.mapper.AbstractTextFieldQueryMapper.tryParse(AbstractTextFieldQueryMapper.java:24)
      
      caused by: INVALID_SYNTAX_CANNOT_PARSE: Syntax Error, cannot parse ===:
          at org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParser.generateParseException(StandardSyntaxParser.java:1054) 
      

      Additional Information

      It also happened to other operations, such as AND AND AND and similar pattern, sometimes it does not redirect the page, however the error message is similar.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rgee Richie Gee (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: