!--a11y-->
Creating an Index 
Index services have been configured in your system. These can be services for TREX indexes that were contained in the delivery, or index services implemented for other search engines.
You are in the Index Administration iView.
...
1. Choose Create.
The New Index screen appears.
2. Enter the required data.
Field |
Description |
ID (obligatory) |
Unique ID
|
Name |
Meaningful name This name is displayed in the search options (choose Display Indexes).
|
Group |
An index group includes several indexes. This name is displayed in the search options. For more information, see Index Groups.
|
Crawler Parameters |
The crawler parameters that you select are valid by default for all data sources for this index. However, you can override this setting for individual data sources. Crawler parameters are defined in the configuration of Content Management (see Crawlers and Crawler Parameters).
|
Service (obligatory) |
Select an index service. By default, you have the choice between a pure search index, a pure classification index, or a combined search and classification index.
|
What to Index |
Specifies which items are to be indexed. ● Only documents (items that are not folders) ● Only folders ● All items You cannot change this setting after saving an index.
You index folders so that they can be included in searches. Folders whose properties match the search term can be displayed in the results list. Folders are not classified in taxonomies. The system indexes folders by their properties, not their content. However, you can enter a content specification for a folder in the Description property.
|
Custom Properties |
See table below.
|
Custom Properties
Property Name |
Permitted Values |
Comments |
fuzziness |
Number between 0 and 1 |
Specifies the degree of fuzziness for the fuzzy search. The smaller the value, the more fuzzy the search. The system creates this property with a default value when you create a TREX search index or search and classification index.
|
IndexInternalLinks |
true or false |
If you set this property to true, the system also indexes internal links. In this case, the links properties are indexed, but not the link target.
|
searchhidden |
true or false |
You can use this additional property to avoid the indexed documents being displayed in the search results list. You require this additional property when configuring an index for sponsored links (see Configuration of the Sponsored Links Function).
|
indexContentOfExternalLink |
true or false |
The target objects of external links are not indexed by default. If you set this property to true, the system indexes not only the link properties for external links but also the content of the target object. This means that users can find these external links when they search for terms contained in the content of the target objects. Since indexes without assigned data sources are not taken into account by default during searches, you should add the showWithoutDatasource custom property with the value true.
|
showWithoutDatasource |
true or false |
In the standard search, the system searches only in indexes to which at least one data source is assigned. The advanced search displays only indexes to which at least one data source is assigned. If you set this value to true, the index is searched in the standard search and displayed in the advanced search if even no data source is assigned to it.
|
QueryExtender |
Path to the Java class |
You can use this property to link the user’s search query with another search query that you have defined in a Java class. The user's search query and the search query in the class are linked using AND. Your Java class must be derived from the following class: com.sapportals.wcm.service. You can find an example in Extending the Search Query. |
3. Choose New Index.
The system creates the index. You can now assign data sources to the index.