Skip to content

Search and filter resources with Lucene Builder

Filter infrastructure resources using a guided, no-code interface or write Lucene queries directly. The search bar in Infrastructure Explorer supports two modes: Builder for structured, chip-based filtering and Lucene for raw query syntax. Switch between modes depending on your workflow.

Search modes

Infrastructure Explorer provides two search modes, accessible via the Builder and Lucene tabs at the top of the search bar.

Builder mode

Build filters visually using structured chips. Each chip represents a condition in the format field operator value. Select a field, choose an operator, and pick one or more values from a dropdown.

Builder mode is designed for users who want to filter resources without writing Lucene syntax. The interface guides you through field selection, operator choice, and value picking.

Infrastructure Explorer Builder mode showing multiple filter chips combined with AND

Lucene mode

Write Lucene queries directly in the search bar. Lucene mode supports autocomplete for field names and values.

Infrastructure Explorer showing Builder and Lucene tabs with the Lucene query search bar

Use Lucene mode for complex queries that require nested conditions, regex, or operators not available in Builder mode.

Build a filter in Builder mode

Add a filter chip

  1. Select the search bar and start typing. A list of matching fields appears.
  2. Select a field, for example, Name, Resource Category, Type, Status, Cloud, Region, Service, Environment, or Team.
  3. Select an operator.

    String operators:

    OperatorDescription
    equalMatches the exact value
    not equalExcludes the exact value
    containsMatches values containing the text
    does not containExcludes values containing the text

    Numerical operators:

    OperatorDescription
    equalMatches the exact number
    not equalExcludes the exact number
    greater thanMatches values above the number
    greater than or equalMatches values at or above the number
    less thanMatches values below the number
    less than or equalMatches values at or below the number
  4. Select one or more values from the dropdown, or type a custom value.

When you select multiple values for a single field, they are combined with OR within the chip. For example, Type = Pods, Deployments matches resources of either type.

Add free text

Type any text without selecting a field to create a free text chip. Free text searches across all fields of the resource. For example, typing metrics-sharder matches any resource containing that text in any field.

Combine conditions with AND / OR

Use the AND/OR toggle to control how chips are combined. All conditions use the same operator—you cannot mix AND and OR in Builder mode.

  • AND (match all): Resources must match every chip
  • OR (match any): Resources must match at least one chip

Edit or remove chips

Select any chip to edit its field, operator, or values. Select the X on a chip to remove it.

Switch between Builder and Lucene

  • Builder to Lucene: Select Lucene to convert your Builder chips to the equivalent Lucene query automatically.
  • Lucene to Builder: Select Builder to switch back. If your Lucene query uses syntax not supported in Builder mode (nested conditions, parentheses, or mixed operators), the switch is disabled.

Keyboard shortcuts

ShortcutAction
/Focus search
Shift+Alt+LSwitch to Lucene mode
Shift+Alt+BSwitch to Builder mode
Shift+Alt+ASet to AND
Shift+Alt+OSet to OR
EnterSubmit query
BackspaceRemove last chip
Shift+Alt+BackspaceRemove last chip (in search)
Shift+Alt+DRemove all chips
Space or Enter on a chipOpen chip values
Move between chips

Share a filtered view

Filters and search mode are reflected in the URL. Copy the URL to share the same filtered view with another user. The recipient sees the same filters, search mode, and results.

Limitations

  • Builder mode does not support nested conditions or parentheses. Use Lucene mode for complex queries.
  • All chips in Builder mode use the same logical operator (AND or OR). You cannot mix operators.
  • Switching from Lucene to Builder is disabled when the query uses nested conditions, parentheses, or mixed operators.