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

Lucene Index with Dynamic Pages

Avatar

Avatar
Validate 1
Level 2
Sean-McK
Level 2

Likes

8 likes

Total Posts

50 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 2
Sean-McK
Level 2

Likes

8 likes

Total Posts

50 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
Sean-McK
Level 2

28-04-2021

Hey All,

 

I am trying to figure out the best way to add dynamic pages to the lucene index. For example, I have dynamic news pages using selector's like press-release.pressrelease1.html and release.pressrelease2.html, the press-release page in AEM is the only page that gets indexed with Lucene so when you do a search it won't find either page. I know you can do solr and crawl and then be able to search and get back both pages, but is there a way to either extend the indexer and add those "pages" to the index so it will return the values in the search? Or, when I do an oak search I can do a lucene search and add the dynamic pages to the search?

 

Sean

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

200 likes

Total Posts

264 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

200 likes

Total Posts

264 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile
Shashi_Mulugu
MVP

28-04-2021

@Sean-McK As you say Dynamic pages, where do the content for your dynamic pages come from.. are they stored in aem or stored elsewhere... mostly the intention behind dynamic pages be like dynamic content while rendering pages as well in search...

Sean-McK
Hey Sashi, thanks for your reply so I am doing a couple of things..... 1) The content is a content fragment and I do have a index that covers all of the search via content fragments and pages still not optimal 2) CIF...so I have product pages and the PDP page is pulling information out of Magento. So lets say I want to search on "shirt", I want to return results for every product that is a shirt and any other content that is shirt. Currently it does a magento search then a AEM lucene search. If there was a way for me to add the shirt information from Magento into lucene then I can do 1 search with all the bonuses of Lucene and index manipulation.
Shashi_Mulugu
I don't think it will be optimal if we bring all search here.. as in future another system may come and AEM may not your Enterprise search engine.. so I would recommend setting up a dedicated Search Engine and take it from that as a single search
Sean-McK
yeah I think the best solution is absolutely a solr or similar search index, but if the customer doesn't want to incur the additional cost of me setting up solr and have another VM I was wondering if it is possible. It must be possible to extend index update and add the correct information

Answers (0)