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

18-06-2019

Hello.

Firstly, thanks for your response.

My goal is to have the OOTB Suggester service return only suggestions from my project instead of all the projects from the server.

For that, I've tried about configuring the aforementioned cqPageLucene, but maybe I am going in this the wrong way?

That being said, i think i should only fine tune an existing index and have it search only under my content.

Server instance has two projects:

- project1

- project2

I want it to search for cqPage suggestions only from project1.