Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Query Builder doesn't give results specifically on the Chinese site

Avatar

Avatar
Validate 1
Level 1
chinthakasuse
Level 1

Likes

2 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
chinthakasuse
Level 1

Likes

2 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
chinthakasuse
Level 1

15-01-2020

Hi All, I kindly need a help if someone has any idea. I have recently worked on search implementation for a multi site setup. It is working fine on all languages ( arabic, french, japanese) except specifically on chinese. I have used Query builder API along with Lucene indexing. I debugged but the query won't give any result on any query with chinese characters. I have tested on http://localhost:4502/libs/cq/search/content/querydebug.html . 

 

If you have any idea to overcome this issue please let me know. It would be greatly appreciated.

AEM 6.5 Search

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back
Level 2
amogh-personal
Level 2

Likes

11 likes

Total Posts

10 posts

Correct Reply

5 solutions
Top badges earned
Give Back
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Give Back
Level 2
amogh-personal
Level 2

Likes

11 likes

Total Posts

10 posts

Correct Reply

5 solutions
Top badges earned
Give Back
Boost 5
Boost 3
Boost 10
Boost 1
View profile
amogh-personal
Level 2

25-01-2020

AEM by default support most of the language search with query builder API. So make sure you are reading the search team in request parameter using UTF-8 format.

Thanks,
Amogh

Answers (2)

Answers (2)

Avatar

Avatar
Give Back
Level 2
Basavaraj_K
Level 2

Likes

5 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Give Back
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Give Back
Level 2
Basavaraj_K
Level 2

Likes

5 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Give Back
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
Basavaraj_K
Level 2

18-01-2020

Hello,

I had same issue with Chines(zh),Japines(ja),Korean(ki) languages, As you know these are differs from other languages representation.

For time being I have fixed this by targeting the languages and changing the querybuilder API parameters as below.

 

parms.put("property", "key");

parms.put("property.value","%"+value+"%");

parms.put("property.operation", "like");

 

You can try out this for time being if it fulfills your requirements.

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,282 likes

Total Posts

3,156 posts

Correct Reply

891 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,282 likes

Total Posts

3,156 posts

Correct Reply

891 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

16-01-2020