code: protected void addSimpleSearchSetting(CmsXmlContentDefinition contentDef, String name, String value)
      throws CmsXmlException {
  
          if ("false".equalsIgnoreCase(value)) {
              addSearchSetting(contentDef, name, Boolean.FALSE);
          } else if ("true".equalsIgnoreCase(value)) {
              addSearchSetting(contentDef, name, Boolean.TRUE);
          } else {
              StringTemplate template = m_searchTemplateGroup.getInstanceOf(value);
              if ((template != null) && (template.getFormalArgument("name") != null)) {
                  template.setAttribute("name", CmsEncoder.escapeXml(name));
                  String xml = template.toString();
                  try {
                      Document doc = DocumentHelper.parseText(xml);
                      initSearchSettings(doc.getRootElement(), contentDef);
                  } catch (DocumentException e) {
                      LOG.error(e.getLocalizedMessage(), e);
                  }
              }
          }
      }
docs: Adds search settings as defined by 'simple' syntax in fields.<p>
  
  @param contentDef the content definition
  @param name the element name
  @param value the search setting value
  @throws CmsXmlException if something goes wrong