I was playing around with the ootb search components in SXA and I got some results so yes, it's working. But now I wanted to know what was all included in the searchable content (apparently computed in a SxaContent field) and noticed that content from a reusable RT field was included. Cool. When I update the RT value, the index seems to follow as I can find my new content. But when I add the RT to another page, that page is not found as well. So now I have 2 (related, so bundled) questions:
- What is included in the "searchable content" of a page in a default sxa setup? And can this be customized? And do I need to do something in a custom component to add (or remove) the data in the search results?
- How is the index updated? As mentioned, I noticed that a reusable data item change seemed to affect the pages the component was on, which is cool. But when adding a component to a page, that extra text was not found in the index. So, how does the index know what to update and is it possible that some data might be missed?