You can specify how documents of a certain document type will be indexed in Site Manager -> Development -> Document types -> Edit () a doctype -> Search fields tab.
In the top part of the tab, you can specify how documents of this type will be displayed in search results:
• | Title field - specifies which field will be used as the title of the result item |
• | Content field - specifies which field will be used for the content extract of the result item |
• | Image field - specifies which field will be used for the image of the result item |
• | Date field - specifies which field will be used for the date and time displayed with the result item |
Lines of the table in the bottom part of the page represent document fields defined on the Fields tab, while columns define the following:
• | Content - if checked, content of the field will be indexed and searchable the standard way |
• | Searchable - if checked, content of the field will be searchable in format <field code name>:<searched phrase>, which searches only through the fields and not through the other fields |
• | Tokenized - indicates if the content of the field should be processed by the analyzer when indexing; the general rule is to use this for Content fields and not for Searchable fields |
• | Custom search name - relevant for Searchable fields; substitutes field code name in the <field code name>:<searched phrase> expression; if entered, the original code name can't be used |
Similar settings are available for E-commerce SKUs. The settings can be done in Site Manager -> Development -> System tables -> Edit () Ecommerce - SKU -> Search fields tab. In this case, only the following settings are available:
• | Content - if checked, content of the field will be indexed and searchable the standard way |
• | Searchable - if checked, content of the field will be searchable in format <field code name>:<searched phrase>, which searches only through the fields and not through the other fields |
• | Tokenized - indicates if the content of the field should be processed by the analyzer when indexing; the general rule is to use this for Content fields and not for Searchable fields |
|
Important!
It is highly recommended that you do not modify settings of other than your custom fields. In case that you modified the settings for some of the default fields, the functionality of searching through SKUs may get broken.
|
Page url: http://devnet.kentico.com/docs/devguide/index.html?smart_search_document_settings.htm