Versions Compared

Key

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



Excerpt

Facets offer a range of customizations when setting them up. This page describes how to configure and manage facets using the squirro user interface.

If facets are managed by the squirro dataloader, consult the dataloader configuration documentation here

...

Data TypeExampleNotes
string"Squirro"

The default data type for new facets.

Can be used to store any sequence of characters.

int

37

Used for storing numeric values (integer and floating point).

Both facets can be used for performing comparison-based searches ( value >= 10 )

Facets with int or float data types are often treated differently by widgets, and can enable new functionality such as aggregations

float12.955
datetime2016-08-12T11:31:50

Date/time values. Follows Squirro's standard date and time format.

Squirro assumes this to be in UTC time zone.

geo_point"47.37,8.54"Used to store geographic coordinates, format of field is "latitude,longitude"


Note
iconfalse
titleChanging the Facet Type

The data type of a facet can not be changed after the facet is created. This is due to the same reason that prevents deleting of created facets. See Deleting Facets above for how to work around this.

...

  • To format facet values containing dates (and times), Squirro offers three formatting options, defined in the Facets configuration screen.
  • Each option is accompanied with a preview of the resulting formatted value.

The separate page Format Strings documents this Moment datetime format string.