Wrong search results with Chinese labels

Hi everybody,

One of our customers is experiencing a weird search issue in their Chinese department. I broke the issue down to the most simple case: one page has the label 其他产品 (other products) and one has the label 产品信息 (product information). When I do a label search like labelText:其他产品 both pages are found:

screen-pocketsearch.png

Does anyone have a clue why this happens?

Regards, Felix [Scandio]

2 answers

1 accepted

1 vote
Accepted answer
Stephen Deutsch Community Champion Aug 04, 2015

Hi Felix,

Taking a look at the documentation for the tokenizer for Lucene that deals with CJK characters, it seems like it splits up the characters into two-character bundles:

https://lucene.apache.org/core/3_5_0/api/all/org/apache/lucene/analysis/cjk/CJKTokenizer.html

That would explain why it matches the two characters for "product" in both strings.

Hi Stephen,

Yes, we already solved this issue with Atlassian support. It actually works if you put the strings in double quotes. I'll accept your answer wink.

Regards, Felix

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

947 views 13 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you