Defining search indexes
You use search indexes to define different sets of content to be searched, using the internal search of your website. To configure your website’s internal search, you must first define a search index, then drop the Search and Search results widget somewhere on your website.
You create search indexes in one of the following ways:
- Open the Search indexes page by clicking Administration » Search indexes.
- On Search indexes page perform one of the following:
- If you have not created any search indexes, the system displays the following in the center of the screen:
- If you have already created one or more indexes, the system displays a list all created indexes and the following button in the toolbar of Search indexes page:
- Click Create a search index.
The Create a search index page appears.
- In Name input field, enter the name of the search index.
- In Scope section, you select which content will be indexes.
For example, you can create a search index that contains all news. When a user enters a search word, it will be applied to all news items on your website.
You can index the following:
- News items
- Events
- Blog Posts
- Content Items
- Static HTML in pages
The system searches the HTML of pages.
- When you select a content type for indexing, you must choose the default page that this type is published on. To do this, click Change button of the respective content type.
- When you are finished, click Create this search index.