Hi everyone,
I’m having a problem with XWiki v16.10.8 regarding search functionality and included pages.
I have two pages: Page1 and Page2.
Page2 includes content from Page1 using macros like {{display reference=“Page1.WebHome”/}} and/or {{include reference=“Page1.WebHome”/}} (I’ve also tried page instead of reference).
The issue is that when I search for text that is present in Page1 (and thus visually appears on Page2 due to the inclusion), the search results only return Page1. I’d like Page2 to also appear in the search results, as it effectively contains the searched content when viewed.
Is there a way to configure XWiki’s search (or Solr, if that’s the underlying issue) to index the content of included pages as part of the including page’s content? Or am I misunderstanding how the search indexing works with inclusions?
Any help or suggestions would be greatly appreciated!
Thanks!