How to enable search-indexing on versions


How is it possible to search for versions?


Per default, versions that reside in the virtually mounted /jcr:system tree are not indexed thus not searchable. If you want to be able to search for versions as well, you need to enable the search-index in the repository.xml of CRX. The <SearchIndex> configuration block needs to be added as a child element of <Repository>:

   <SearchIndex class=""> 
      <param name="path" value="${rep.home}/repository/index"/> 
      <param name="queryClass" value=""/> 
      <param name="respectDocumentOrder" value="false"/> 

Applies to



קבל עזרה במהירות ובקלות

משתמש חדש?