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

AEM 6.4 OOTB Suggestions index configuring

Avatar

Avatar
Validate 1
Level 1
cristianb256715
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
cristianb256715
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
cristianb256715
Level 1

14-06-2019

Hi! I'm in bit of a dead end, and what i've read in the documentation here has not helped me much.

I'm using the suggester OOTB service to get results, and right now  it's working but it's fetching suggestions from all kinds of different unwanted places.

The server on which this AEM instance will run will host multiple projects, so I need to have it suggest stuff only from my project, "content/myProject1".

It's currently suggesting from "content/myProject1", "content/myProject2", "content/myProject3" and so on.

I've went to oak-index and opened the cq:PageLucene, and I tried the following:

  • added content/myProject1 as an object in multistring queryParams
  • added content/myProject1 in queryParams and includedPaths too
  • added content/myProject2 in excludedPaths

After each change I reindexed and tried again. No matter which route I go on, and for no matter what input I give, i only get an empty array as a response. That can't be right, and i'm not sure what am I doing wrong.

Any tips are greatly appreciated,

Thank you.

View Entire Topic

Avatar

Avatar
Validate 1
Level 1
cristianb256715
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
cristianb256715
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
cristianb256715
Level 1

24-06-2019

I've accepted your answer because it's full of valuable info, even if it's not exactly for my problem.

To solve my problem I ended up writing a custom suggester service that uses a query to create the suggestions.

Thanks!