Opencms-search.xml

From OpenCms Wiki
Revision as of 17:17, 4 July 2011 by Ben (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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