As described here, starting with ModeShape 4.0.0.Final you can optimize JCR queries by defining one or more indexes, each belonging to a specific index provider. ModeShape provides several different index providers out of the box:
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 12:10:03 UTC, last content change 2016-01-11 07:00:51 UTC.