ExportXMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Component/s: None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CSHARP-6241 Ready for Work
      JAVA-6322 Ready for Work
      INTPYTHON-1117 Backlog
      PHPLIB-1957 Ready for Work
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CSHARP-6241 Ready for Work JAVA-6322 Ready for Work INTPYTHON-1117 Backlog PHPLIB-1957 Ready for Work

      Summary

      $search facet lacks the ability to

      1. Generate facets over multiple fields
      2. Perform non-count aggregations such as min/max/avg/sum

      This results in having to use $group after $search, which is very inefficient.

      New Syntax here: https://docs.google.com/document/d/1OcbFT7mu_RAV4461nCMZZoSQZvy4EikRXtcjfVZ-64Q/edit?tab=t.wyioaawyxzcc#heading=h.35mpqh7ze5qn 

      Motivation

      Who is the affected end user? Developers building search applications must rely on $group after $search and cannot achieve the performance they need.

      Who are the stakeholders?

      How does this affect the end user?

      Customers have to use inefficient workarounds that are resource-heavy, resulting in needing to scale up their cluster (using $group for aggregations and/or issuing several sub-queries for each facet field combination) 

      How likely is it that this problem or use case will occur?

      Highly likely for 30% of $search customers.

      If the problem does occur, what are the consequences and how severe are they?

      Performance

      Is this issue urgent?

      Search Aggregations launch at NYC .local 2026 (Sept 30, 2026). Support for Builders is a nice-to-have, and can be a fast follow. Work is expected to complete mid-August and available for local testing. 

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      Unsure

      Acceptance Criteria

      Builders can use language-native methods to construct $search queries with the new facet functionality.

            Assignee:
            Unassigned
            Reporter:
            Amy Jian
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: