Opencms-search.xml

From OpenCms Wiki
Jump to: navigation, search

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>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox