You can:
- either add the attribute to your records in Magento and then add those attributes to be indexed as usual
- or if you need access to specific attributes that aren’t available in the collection data you can follow this guide to customize you extension and add custom data to your index