Opencms-search.xml
From OpenCms Wiki
(Difference between revisions)
Line 2: | Line 2: | ||
===Example opencms-search xml=== | ===Example opencms-search xml=== | ||
− | |||
<indexsource> | <indexsource> | ||
Line 22: | Line 21: | ||
</indexsource> | </indexsource> | ||
</indexsource> | </indexsource> | ||
+ | |||
+ | [[Category:Configuration Files]] |
Latest revision as of 17:17, 4 July 2011
The search configuration is done in WEB-INF/config/opencms-search.xml. The configuration is specified in the following XML format:
Example opencms-search xml
<indexsource> <name>source1</name> <indexer class="org.opencms.search.CmsVfsIndexer" /> <resources> <resource>/sites/default/</resource> </resources> <documenttypes-indexed> <name>xmlpage</name> <name>page</name> <name>text</name> <name>pdf</name> <name>msword</name> <name>msexcel</name> <name>image</name> <name>generic</name> </documenttypes-indexed> </indexsource> </indexsource>