Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,497
Community Members
 
Community Events
185
Community Groups

Confluence Search behaviour

Kris Dewachter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 28, 2023

Hi,

I'm having some issues with the Confluence search behaviour. This occurs both in the general search and the "live search" widget.

I have a page structure with a number of knowledge base articles (pages). The page titles are constructed as follows:

Main page

  • ABC-1 - this is KB article 1
  • ABC-2 - This is another KB article
  • ....
  • ABC-101 - Some more knowledge on this page
  • ABC-102 - Even more wisdom
  • .....

When a person performs a search on ex. "ABC-1". (a lot of people know the codes by heart), it will suggest a lot of pages, except the correct one (ABC-1). It will suggest ABC-2, 102, 101, .....  but NOT ABC-1

In other cases, when the customer enters ex. ABC-101, then it will find the correct page and even display it on top of the search result.

Does anyone have an insight on the correct behaviour of the Confluence search? I presume that the "-" sign will be causing most of my issues.

Is there any way to reconfigure or tweak the search for better search results?

Best regards,

Kris

 

 

 

3 answers

1 accepted

1 vote
Answer accepted
Kris Dewachter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 03, 2023

After contacting Atlassian Support I found out that there is already a bug ticket registered for this behaviour. 

The issue seems to be caused by Lucene Tokenization, which blocks an exact text search when using some characters like hyphens.

In other words, "-" is treated as the special operator for negation. So, searching for "ABC -1" is the same as searching for "ABC NOT 1".

0 votes
Kris Dewachter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 01, 2023

Hi @Mihai Schwarz ,

Thanks for your reply.

I tried adding the keys (ABC-1) as labels but that did not bring any improvement.

Also, manual re-indexing has been disabled on Cloud.

Best regards,

Kris

0 votes
Mihai Schwarz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 28, 2023

Hi @Kris Dewachter ,

Have you tried adding keywords from the title as labels or simply adding labels to refine the available searches?

Additionally I suggest you should trigger a content indexing (outside of working hours) if you have lots of pages.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events