Skip to main content

xSuite Helix - Help

Indexes

Indexe_1_Ebene_klein.png

In the tab Indexes, you can view and edit indexes of archives. Search filters, hit lists, and query forms for archive indexes can all be defined here.

You can create an archive index when creating an archive in the Archives window (check box Create index for this archive).

Indexes allow searching in full text and fields of archival documents.

Editing a standard index

  1. In the Indexes window, open the standard index (prefix sys_) you wish to use by clicking on the respective row in the table.

    ➣ The ArchiveIndex: {Index name} window will open.

    Indexe_2_Ebene_exempl__Capture_Rechnungen_klein.png
  2. In the Hit list pane, add one or more hit lists.

    For more information, see Adding a hit list.

  3. In the Query forms pane, add one or more query forms.

    If you do not add a query form, the fields of the hit list will be used for the search form.

    For more information, see Adding a query form.

  4. If necessary, activate highlighting of hits in the document attachments, using the toggle button Highlight attachments.

  5. In the action menu, click the option Set permissions and define access permissions.

    Select from the following types of authorization:

    Authorization

    Description

    Read

    Unrestricted read rights to the index.

    Write

    Authorization to create and edit archive documents

    Delete

    Authorization to delete archive documents via the index.

    Query

    Authorization to search within the index.

    Admin

    Administration rights to the index.

  6. To set search filters for the index, click the option Set search filter in the action menu.

    For more information, see Setting search filters.

  7. Click Save.

Editing a new index

  1. In the Indexes window, open a new index (prefix cst_) by clicking on the respective row in the table.

    ➣ The ArchiveIndex: {Index name} window will open.

    Indexe_2_Ebene_cst_Index_Bearbeitung.png
  2. In the field Localization key, alter the index name to be displayed.

  3. In the field Force thumbnail size (px), set the size of the previews, in pixels.

    The default value is 128.

  4. In the dropdown list Activate Suggestions, select one of the following entries:

    • None: Lists of suggestions are disabled for this index.

    • All: Lists of proposals are activated for fields of this index that have the data type Suggestion.

  5. In the Hit list pane, add one or more hit lists.

    For more information, see Adding a hit list.

  6. In the Query forms pane, add one or more query forms.

    If you do not add a query form, the fields of the hit list will be used for the search form.

    For more information, see Adding a query form.

  7. If necessary, activate highlighting of hits in the document attachments, using the toggle button Highlight attachments.

  8. In the action menu, click the option Set permissions and define access permissions.

    Select from the following types of authorization:

    Authorization

    Description

    Read

    Unrestricted read rights to the index.

    Write

    Authorization to create and edit archive documents

    Delete

    Authorization to delete archive documents via the index.

    Query

    Authorization to search within the index.

    Admin

    Administration rights to the index.

  9. To set search filters for the index, click the option Set search filter in the action menu.

    For more information, see Setting search filters.

  10. Click Save.

    Notice

    To delete an index that has been saved, click Delete.

Adding a hit list

  1. In the Hit list pane, click the button 2019-08-01_13-58-00.png Add.

    ➣ The Edit hit list dialog box will open.

    Indexe_2_Ebene_dialog_trefferliste.png
  2. In the Name field, enter the technical name of the hit list.

  3. In the field Localization key, enter the localization key for the hit-list name to be displayed.

  4. In the field Aggregation field, enter the name of the field (FieldName@DocumentType) to be used for aggregation. In the field Aggregation size, set the maximum size of the aggregation.

    Notice

    An aggregation shows how many and which documents contain identical field content.

    The user can view aggregations in the Categories section of the archive client.

    beschriftung_helix_aggregationsfelder_archive.png
  5. In the field Tree column count, set the number of levels to be displayed for the user in the tree hierarchy of the archive client.

    Note

    Please note that a maximum of 50 entries are displayed on each level of the tree hierarchy.

  6. If necessary, use the toggle button Order by modification time to activate document sorting according to date of change.

  7. Select the document class for the hitlist.

  8. Add the hit list to the pane Fields.

    For more information, see Hit list - Adding a field.

  9. Click Apply.

    ➤ The hit list will be added.

Hit list - Adding a field
  1. Click the UUID-ebbeb9ac-32aa-f350-d42d-1e8980e23a99.png button in the Fields pane.

    ➣ The Edit field dialog box will open.

    Indexe_2_Ebene_dialog_felder.png
  2. Execute one of the following steps:

    • In the dropdown list Name, select a field available in the associated document type.

      ➣ The remaining fields of the dialog box will be filled with the information of the selected field.

    • In the Name field, enter the technical name of a field to be created.

  3. In the field Localization key, enter the localization key for the field name to be displayed.

  4. In the dropdown list Field type, select the data type of the field.

    Possible values:

    None

    The data type specified in the document type for the field will be used.

    String

    Any text

    Bool

    Check box for yes/no selection

    Integer

    Long integer (64-bit)

    Date

    Date

    Decimal

    Number with decimal places

    Link

    Link to another document or attachment

  5. In the field Maximum size/length of display, enter the maximum size of the field in the hit list. The default value is 100 characters.

  6. In the dropdown list Sort order, select whether the column will be sorted in the hit list, and if so, how.

  7. Click Apply.

    ➤ The field will be added to the hit list.

Adding a query form

  1. In the Query forms pane, click the button 2019-08-01_13-58-00.png Add.

    ➣ The Edit query form dialog box will open.

    Indexe_2_Ebene_dialog_abfrageformular.png
  2. Specify the technical name of the query form in the Name field.

  3. In the field Localization key, enter the localization key for the query-form name to be displayed.

  4. Add the query form to the Fields fields.

    For more information, see Query form - Adding a field.

  5. Click Apply.

    ➤ The query form will be added.

Query form - Adding a field
  1. Click the UUID-ebbeb9ac-32aa-f350-d42d-1e8980e23a99.png button in the Fields pane.

    ➣ The Edit field dialog box will open.

    Indexe_2_Ebene_abfrageformular_dialog_felder.png
  2. Execute one of the following steps:

    • In the dropdown list Name, select a field available in the associated document type.

      ➣ The remaining fields of the dialog box will be filled with the information of the selected field.

    • In the Name field, enter the technical name of a field to be created.

  3. In the field Localization key, enter the localization key for the field name to be displayed.

  4. In the dropdown list Field type, select the data type of the field.

    Possible values:

    None

    The data type specified in the document type for the field will be used.

    String

    Any text

    Toggle with the button Value lookup as needed to activate display of suggested values for entry in the field.

    Bool

    Check box for yes/no selection

    Integer

    Long integer (64-bit)

    Date

    Date

    Decimal

    Number with decimal places

    Link

    Link to another document or attachment

  5. Click Apply.

    ➤ The field will be added to the query form.

Setting search filters

Notice

Search filters applied to indexes only restrict the view for the roles defined.

Search filters do not affect access permissions for archive documents.

  1. In the action menu, click Set search filter.

    ➣ The Set search filter dialog box will open.

    Indexe_2_Ebene_dialog_suchfilter.png
  2. Click Add.

    ➣ A row will be added to the table.

    Indexe_2_Ebene_dialog_suchfilter_02.png
  3. In the column Role, select a user role and go to the column Filter to define the search filter for this user role.

    The syntax of the filters corresponds to the syntax of an Elasticsearch query. For more information, see Elasticsearch syntax.

  4. In the dropdown list Operator for chaining search filters, select the operators that are to connect the different search filters.

    Possible values:

    • AND: Connects the individual search filters with an "AND".

    • OR: Connects the individual search filters with an "OR".

  5. Click Save.

    ➤ The search filters are now set.

Elasticsearch syntax

Category

Syntax

Example

Fulltext

String and Boolean operators(AND, OR, NOT)

BMW AND (automobile OR motorcycle)

Fields

Fields.DataType_FieldName@DocType

Prefix for the data type:

  • s_ : String

  • d_: Date

  • i_: Integer

  • c_: Decimal

  • b_: Bool

Fields.d_DocumentDate@Customer: The field is called DocumentDate, is a field of type "Date" and is assigned to the document type "Customer".

Field.s_Name: The field is called Name, is a field of type "Text" and is not assigned to any document type.

Field values

Field:Value

Operators: <, >, >=, <=

Fields.s_CompanyCode:DE50: The field is called CompanyCode, it is a field of type "String", and the field value is DE50.

Range

Field:[range1 TO range2]

Fields.i_Count:[0 TO 20]: The field is called Count, it is a field of type "Integer" and the value range is between 0 and 20.

Date and Time

YYYY-mm-DDTHH:MM:ss

2021-06-01T23:00:00: The date is June 1, 2021, and the time is 23:00.