Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Customer facing search issue when using operators

Kathryn September 8, 2021

when searching in the public side of our confluence page, the following searches work:

Iphone and android

"Iphone" AND "andoid"

but, if you search Iphone AND android, you receive the following error: 

java.lang.IllegalArgumentException: INVALID_SYNTAX_CANNOT_PARSE: Syntax Error, cannot parse AND:
   

on this error page, in the confluence search, you can look for Intelligence AND android and you will be given results with no error. Has anyone else seen this sort of an issue? 

2 answers

1 accepted

0 votes
Answer accepted
Alexis Robert
Community Champion
September 8, 2021

Hi @Kathryn , 

 

I don't know what version of Confluence you are using, but there were similar bugs submitted previously to Atlassian : https://jira.atlassian.com/browse/CONFSERVER-39548

I would suggest reaching out to support to check if this is an issue from Atlassian, so that they can track this bug : http://getsupport.atlassian.com

You might also want to check on the application server logs if there are any errors when you're recreating this issue.

 

Let me know if this helps, 

 

--Alexis

Kathryn September 13, 2021

Will do, thank you Alexis!

0 votes
Kishan Sharma
Community Champion
September 8, 2021

Hi @Kathryn welcome to the community!

Since AND is a keyword in CQL, I earlier thought it might be causing the error, but that's not the case it seems. I got below results when I searched - 

Iphone and android -> Found pages containing the string.

"Iphone" AND "andoid" -> No results and no errors.

Iphone AND android -> Found pages containing the string.

So it could be a bug as Alexis mentioned and worth raising a ticket with Atlassian Support.

Kathryn September 13, 2021

Thank you Kishan!

Like Kishan Sharma likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events