The key to producing optimal XHTML documents is specifying the right set of properties – omitting properties that you don’t need, and including the ones that you do. The smaller your XHTML documents are, the smaller your index will be; a smaller index uses less memory and can be searched more quickly than a larger one. Of course, an index that’s missing important data is not very useful, so you need to make tradeoffs based on the needs of your site. This section provides guidelines to help you determine which properties to include as text properties and which ones to include as metadata.

In addition to omitting unnecessary properties, you can reduce the size of your XHTML documents by applying various property value filters to the repository data. For information about these filters and how to use them, see the PropertyValuesFilter section of the Customizing the XHTML Output chapter.

 
loading table of contents...