CMS 10.6 InSite Search Custom Setting Examples


Review the name/value pair examples in the following table to apply custom settings in your InSite Search implementation that suit your needs.

See CMS 10.6 Managing Custom Settings for details about applying custom settings.

Important
Since these options affect index-time boost score calculations, you need to delete and then re-index your published content when either 1) the feature is first enabled, or 2) any adjustment is made to the configuration for this feature.

For this reason, we recommend you test your configuration in a staging environment prior to implementing changes in production environments. Also, be careful not to create conflicts when using the documentLocations option, which includes paths to binary documents such as PDFs and MS Word.

NameValue TypeDefault ValueExample Value(s)Description
IndexingControlFieldString-empty-NoIndex

Value equals the element name to look for on a page in order to determine if to keep the page in the search index.

Expected value: NoIndex Checkbox element, which is a common element found in the SEO group for most Page Schemas.

The CMS checks for the value equal to true; otherwise, it will fall back to false. If the state is changed for NoIndex and the page is published, then the Indexer log shows page either being added or deleted from the index.

Note
Be aware that the CMS will only look for the first instance of the defined element value on the page. If there are multiple elements with the same name, which is unlikely, it will ignore all other instances and only look at the first returned value.
documentComponentsString-empty-BinaryDocument, BlockValue equals Schema Root Name, which is to be included in content indexing. Multiple components should be comma-separated.
documentLocationsString-empty-documents,code/documentation,qa/instructions/processesPath to documents such as PDFs and MS Word.
Note
If this documentLocations custom setting is not configured or if its value field is empty, then the indexer falls back to legacy document indexing where all files in documents folder are indexed.
OnlyIndexSearchablesStringfalsetrue|falseBoolean value, which tells the indexer to only index fields (elements) marked with the Searchable attribute.
IFilterTimeOutInteger3040Number in seconds for the indexer to wait for response when indexing Documents (iFilter).
IncludeComponentContentInPageStringfalsetrue|falseWhen component content has been included in page(s), this setting re-indexes pages when the component has changed. Query matches return the xID of the parent page (not the component). By default, schema names, "Site Control", and "Section Control" are omitted from search.
Note
To exclude other component types from search, see Configuring Search Schemas.
ExcludeDocumentExtensions*String-empty-xml,css,jsIf there are file types residing within Assets that you do not want to include in your search results, you can configure this setting to define file type extensions that will not be indexed.
ExcludeDocumentPaths*String-empty-IntranetDocs,MyDocs\Private,Do\Not\IndexIf there are specific folders within your Assets path that you do not wish to be returned as search results, you can set the ExcludeDocumentPaths Custom Setting to prevent these sub-folders from being indexed.
EnabledDepthBoostFactorStringtruetrue|falseThe setting for Depth Indexing Boost Factor. True means pages closer to site root receives a higher score. This setting only applies to pages, not document assets.
DocumentIndexingBoostInteger0.251.0The setting for Document Indexing Boost value should be 0 to 2. (Higher values are not recommended because this would push all documents to top in returned results.) This setting controls the positions of documents in search results. Default value (0.25) allows pages to show up before documents in general.
  • When IgnoreLengthNorm equals true then set DocumentIndexingBoost equal to or less than 0.25 to place documents below pages.
  • When IgnoreLengthNorm equals false then set DocumentIndexingBoost equal to 1.0 to place documents below pages.
Note
If you enabled IgnoreLengthNorm, which is set in Search.config, then you may find that document assets score much higher than pages depending on your asset tree structure. Setting DocumentIndexBoost will help to ensure that documents are not among the first returned results.