Query Generation properties

  • Release version: Zurich
  • Updated February 3, 2026
  • 4 minutes to read
  • The properties included with Query Generation apply to segments. They define whether the record or indicator that is the basis for a segment has been recently used or changed.

    These properties are available for Query Generation.
    Note:
    To open the System Properties [sys_properties] table, enter sys_properties.list in the navigation filter.
    Table 1. Properties for Query Generation
    Property Description

    sn_query_gen.hidden_insights.groupby.min_fields

    The target number of group-by fields for extended analysis in AI Data Explorer. These group-by fields are taken from the default list view of the relevant table. When this list view contains fewer eligible fields than the property value, the system looks for more eligible fields on the table to try to reach this count.
    • Type: Integer
    • Default value: 5
    • Location: System Property [sys_properties] table
    • Learn more: Extended analysis
    sn_query_gen.segment_enabled When set to true, segments are created and used. When false, no segments are created, and all existing segments are excluded from AI Data Explorer search results. During the next Sync Segments Job, all segments are deactivated.

    sn_query_gen.segments.disable.filter

    When set to true, excludes all segments from sys_filter from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table.

    sn_query_gen.segments.disable.manual_segment

    When set to true, excludes all segments from sn_query_gen_segment_table_config (manual segments) from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table.

    Note:
    The ability to disable manual segments is intended for testing and troubleshooting purposes.

    sn_query_gen.segments.disable.pa_cubes

    When set to true, excludes all segments from indicator sources (pa_cubes) from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table.

    sn_query_gen.segments.disable.report

    When set to true, excludes all segments from sys_reports from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table.

    sn_query_gen.segments.disable.report_sources

    When set to true, excludes all segments from sys_report_source from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table.

    sn_query_gen.segments.disable.sys_app_module

    When set to true, excludes all segments from sys_app_module from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table.

    sn_query_gen.segments.ais_batch_fetch_enabled

    When set to true, enables batch AIS search where manual and automated segments are searched separately for better coverage. When disabled, manual and automated segments compete for the same result slots.
    sn_query_gen.segments.indicator.inactivity_threshold_multiplier Applies a multiplier to how long ago an indicator value can have changed for that indicator to be "recently changed." The [Query Generation] Sync Segments job deactivates segments based on indicators that have not recently changed. The value that is multiplied differs by indicator frequency (see Segments in the Query Generation semantic layer).
    sn_query_gen.segments.manual_segment_scale_factor Multiplier applied to manual segments to give them a different weight than automatic segments when segments are scored.
    sn_query_gen.segments_match_threshold Minimum semantic similarity score that a segment must meet to qualify to be chosen.
    sn_query_gen.segments.max_filter_length The maximum number of characters a segment can contain. Segments of greater length are removed.

    sn_query_gen.segments.reports.last_viewed_threshold_days

    Defines how many days ago a report can have run for that report to be considered "recently run." The [Query Generation] Sync Segments job deactivates segments based on reports that have not run recently. It also deactivates report sources whose reports have not run recently.
    sn_query_gen.segments_search_limit The maximum number of results that can be requested from AI Search per search for segments.
    sn_query_gen.segments_result_limit The maximum number of segments that AI Search can return after filtering.