If you have basic string properties on your page, you can add indexes like this:
<indexRules jcr:primaryType="nt:unstructured">
<cq:PageContent jcr:primaryType="nt:unstructured">
<properties jcr:primaryType="nt:unstructured">
<bonusId
jcr:primaryType="nt:unstructured"
name="bonusId"
propertyIndex="{Boolean}true"
type="String"/>
The problem is when you have a page property which is an array of strings. How does one create an index for this? What is "type" in this case?