Hello,
Would it be possible to create documents not out of pages but out of a list of components? We currently use AEM for our sites and the client would like to index a list of individual FAQ components as a document each so that the users may get results linking to specific questions.
Would something like this work?
<div data-swiftype-index="true" class="${component.block}__title" data-subcategory="${component.alias}" id="${component.questionID}">
<button aria-expanded="false" class="${component.block}__button">
<div data-sly-test="${properties.question}"
data-swiftype-name="faqQuestion"
data-swiftype-type="string"
aria-controls="${component.questionID}-panel"> ${properties.question}
</div>
</button>
</div>
Thanks.