Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The example below shows a database record which stores an email, along with which fields can be added as facets within the item.

titlesenderrecipienttimestampbodyattachments
Congratulations!John SmithDavid Green2016-08-12T09:15:44Hey David, Just heard the good news! Congratulations on the promotion. Best, Johnnone

Title

Body

Added as Facets

In general, the reason for adding these additional fields as facets, is to allow a user to search and find other documents which share similar attributes, such as (in this example)

...

Within a squirro project, facets can be created and configured from the Facets Page of the project. To get to the facets page, click on "Data" in the top bar, then select "Facets" in the column at the left.

Image RemovedImage Added

From this page, facets can be both created and configured manually. To create a new facet, select the blue "Add Facet" button in the top right of the facets page. On this page, the main properties of the new facet can be set. These properties include:

...

Toggling whether a facet is visible or not can be done through the UI from the data → facets screen. 

Image RemovedImage Added

Unchecking the box "Visible" will remove the facet from the search screen, and will no longer make the facet available for use in widgets. Additional properties can be modified by clicking the edit button at the right side of each facet listed

...

The screenshots below show the difference between facets with no display names set, and the same facets with display names set.Image Removed                                                   Image Removed

Image Added

Image Added

Group

Facets can be placed into groups for organizational purposes. On the search screen, each facet within the group will appear nested within the group name.

Image RemovedImage Added

Searchable

Making a facet searchable enables full text search of the facet values. 

...

The screenshots below show the difference between having the typeahead setting enabled and disabled for a facet "Companies".Typeahead EnabledImage Removed           Typeahead DisabledImage Removed

Image Added

Image Added

Enabling typeahead requires that the facet also be searchable.

...