Lucene Index with Dynamic Pages | Community
Skip to main content
Sean-McK
Level 4
April 28, 2021
Solved

Lucene Index with Dynamic Pages

  • April 28, 2021
  • 1 reply
  • 1435 views

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

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Shashi_Mulugu

@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...

1 reply

Shashi_Mulugu
Community Advisor
Shashi_MuluguCommunity AdvisorAccepted solution
Community Advisor
April 28, 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
Sean-McKAuthor
Level 4
April 28, 2021
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.