2.9. Searching and Indexing

Searching and Indexing is provided by Apache Lucene (http://lucene.apache.org/).
By default, the search index is kept on the local filesystem. This occurs because it provides faster performance. Red Hat does not recommend changing this default setting unless you have a specific requirement to do so.
To configure the location of the search index, modify the repository.xml file's <SearchIndex> element:
<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
	<param name="path" value="${wsp.home}/index"/>
	<param name="extractorPoolSize" value="2"/>
	<param name="supportHighlighting" value="true"/>
</SearchIndex>