Search - Filters

Starting with Intrexx version 12.0.0

Facets allow you to search a dataset specifically by freely definable categories. Facets can be created in the search configuration within applications or in the "Tools / Search" module. In search configurations, facets are assigned to the data fields whose values are to be used as facets.

The browser will then display buttons that allow you to filter the search results accordingly.

Starting with Intrexx version 12.0.0

The four facet types available are Text, Numeric, Date/Time, and Boolean.

In the browser, you'll then find the appropriate elements—such as buttons—to filter the search results accordingly.

Creating Facets in the "Applications" Module

First, create a search in any application using the "Search" application element. You can find instructions on how to do this here.

You can create facets in the search configuration properties.

If you click in the "Facet" column for a data field, a drop-down list will appear. Facets that have already been created in the application or in the "Tools" module can be selected from this drop-down list and assigned. Clicking "Create Facet" opens a dialog box where you can create the new facet.

Starting with Intrexx version 12.0.0

You can find all the information here.

Create Facets

Enter a language-independent, unique ID for the new facet here.

Title

By double-clicking the corresponding cell in the "Title" column, you can specify for each language how the facets should be entered in the search.

Add a language

Adds a new language to the list.

Delete Language

Removes a language from the list.

Click "OK" to save the changes and close the dialog box.

Manage Facets in the "Tools" Module

Starting with Intrexx version 12.0.0

Starting with Intrexx version 12.0.1

In the "Tools" module, you'll find the settings for search facets when you click "Search" in the left pane.

The right-hand pane lists the IDs of all facets that have been created in search configurations for applications in the portal. The "References" column displays the number of search configurations in which the facet is used.

Add a facet

Creates a new row where a new facet can be entered.

Delete Facet

Removes the currently selected facet from the list.

Copy language

Opens a dialog box where the facet titles can be copied from the source language into a target language.

Copy language

Select the source and target languages here from which the facet titles should be copied.

Click "OK."

Starting with Intrexx version 12.0.0

Starting with Intrexx version 12.0.1

Details

To the left of the list of facets, you'll find the details for the currently selected facet.

Facet

The ID of the currently selected facet is displayed here. This can also be changed.

Please note that the facet mappings in the applications' search configurations will be discarded when facet IDs are changed.

Starting with Intrexx version 12.0.0

Type

Here, you can specify the data type for the facet. You can choose from

  • Text

  • Date/Time

  • Numerical

  • Boolean value

You can find information about the other settings for each facet type here.

"Language" Column

All of the portal's languages are listed here.

"Title" column

Here, you can edit the facet value by double-clicking the corresponding cell. This value or title is used in faceted searches depending on the user's language setting.

Add a language

Opens a dialog box where you can select a language.

Language Selection

You can also find this dialog in the "Applications" module in the configuration of the "Search" element.

Select the language you want here. You can select multiple languages using the CTRL key. Click "OK" to save the changes and close the dialog box.

Starting with Intrexx version 12.0.1

Remove language

Removes the currently selected language from the list.

Apply

Clicking this button saves the settings.

Reset

Clicking this button will discard any changes that have not been saved.

Create a facet

Starting with Intrexx version 12.0.0

Facets can be created from within an application or from the "Tools" module. Here you will find a description of the settings for each facet type.

"Text" type

Facets of the "Text" type are implemented as buttons that, when clicked, filter the search results accordingly. The labels for the individual buttons are provided by the data field to which you have assigned the facet. A separate button is generated for each value in the data field.

Enter a language-independent, unique ID in the facet's properties. A range cannot be defined for this type. The relevant settings are disabled.

In the lower section of the dialog box, you can double-click a cell in the "Title" column to enter a title for each language; this title will then be displayed above the facet buttons.

Add a language

Opens a dialog box where you can select an additional language. The language will then be displayed as an additional line at the bottom.

Delete Language

Removes a language from the list.

Click "OK" to save the changes and close the dialog box.

"Date/Time" type

For facets of the "Date/Time" type, you'll find an input field in the browser where you can enter the desired date directly. Alternatively, you can click the small calendar icon on the right side of the field ( ) to display a small calendar from which you can select the date. Clicking "Filter" applies the facet to the search results.

For facets of the "Date/Time" type, you can define a range in addition to the settings available for facets of the "Text" type. To do this, click "Group Range."

Specify the start or end of a range here. To do this, click in one of the fields or on the triangle icon on the right.

"Group Range" defines the scale of the slider that you can use later in the browser to change the start and end of the range. For example, if you enter "1" and select "Days" as the unit, the start and end dates will shift by one day at a time as you move the slider.

The "Current Date/Time" option allows you to specify a date relative to the current date ("today"). To do this, enter an offset and select the desired time unit. To automatically set today's date as the start of the range, simply leave this input field blank. To set the end of the period to, for example, the remainder of the year, enter "+1" as the offset and select "Year" as the unit.

In the browser, the facet is composed of a field for the start of the section and a field for the end of the section. Both values can be changed as desired. In addition, a slider is available below the fields for adjusting the time period. If you move it to the left, you shift the start of the range; if you move it to the right, you shift the end of the range. Clicking "Filter" applies the facet to the search results.

Using the "Fixed Date" option, you can specify a fixed date—including a time—as the start or end of the range.

"Numeric" type

For facets of the "Numeric" type, you'll see an input field in the browser where you can enter the desired number. Clicking "Filter" applies the facet to the search results.

For facets of the "Numeric" type, you can define a range in addition to the settings available for facets of the "Text" type. To do this, click "Group Range."

Enter a number here for the start and end of the range. "Group Size" is used to group the results.

Once a range is specified, the browser displays a field for the start of the range and a field for the end of the range. Clicking "Filter" narrows down the search results accordingly.

"Boolean" type

For facets of the "Boolean" type, you'll find a drop-down list in the browser from which you can select the desired value.

The settings here correspond to the settings for facets of the "Text" type. A field cannot be grouped with this facet type.

More Information

Settings in the "Tools" module

General Information

Search Configuration in Applications

"Search" Application Element

Additional validation for the site-wide search in the "Design" module