--- title: "Grouping" slug: "grouping-2" tags: ["Install and Get Started", "NDR 4.x", "Customer", "Network Security"] updated: 2026-11-17T09:22:39Z published: 2026-11-17T09:22:39Z canonical: "docs.trellix.com/grouping-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Grouping Use parentheses to group clauses to form sub-queries. This can be very useful if you want to control the Boolean logic for a query. To search for documents with a **doc_values_type** of either **pxflow** or **http** and contain the text **CLOSED**, type the following query in the Query Bar using the same steps defined in the [Entering Queries](/network-and-platform/docs/entering-queries-2) section: ![Grouping Search01.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-6ff1edc4-4281-1caf-c5b0-51a72584b548(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A50%3A29Z&se=2026-11-19T13%3A50%3A29Z&sr=c&sp=r&sig=VygA%2FRBTBhl%2F4GmaZrCqLXRUZV%2FIcrBuN%2BaNLl7vCrw%3D)