--- title: "Restrictions" slug: "core-i-search-restriction" updated: 2026-05-19T09:33:41Z published: 2026-05-19T09:33:57Z canonical: "docs.lobstersoftware.com/core-i-search-restriction" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Restrictions The [Search API](/v1/docs/en/common-search-api) supports various types of [Restrictions](/v1/docs/en/core-i-search-restriction), all of which belong to the interface class "Search restriction" (`ISearchJunction`): - [Simple property restriction](/v1/docs/en/core-simple-property-search) - [Field restriction](/v1/docs/en/core-property-search) - [Sub search](/v1/docs/en/core-sub-search) - [Search junction](/v1/docs/en/core-search-junction) Each *restriction type* determines a Boolean return value (`true`/`false`) according to a specific characteristic in order to determine whether a certain "candidate" (an entity instance or tuple line to be evaluated in the context of the search) has "passed" the rule formulated as a restriction or not. The data model of different classes refers to the interface class "Search restriction" to enable the configuration of [Restrictions](/v1/docs/en/core-i-search-restriction): - All [Search types](/v1/docs/en/core-abstract-search) in the context of the [Search API](/v1/docs/en/common-search-api) allow the definition of [Restrictions](/v1/docs/en/core-i-search-restriction): - Each "search" provides for the definition of one restriction in the "Where" condition (`where`) property, which can, however, contain quite complex logic due to the cascading use of the [Search junction](/v1/docs/en/core-search-junction). - [Joins](/v1/docs/en/core-abstract-join) can be used in all [Search types](/v1/docs/en/core-abstract-search) and via the [Chained projection](/v1/docs/en/core-chained-projection) to integrate the data of entities into a "search", the assignment of which is typically governed by a restriction defined by the "On" condition (`on`) property. - The [Subsearch projection](/v1/docs/en/core-sub-select-projection) also defines the access to data of a subset of instances of a specific entity type based on the *restriction* defined for the "Where" condition (`where`) property. - Other classes that imply the execution of a search or require other "filtering" of search results also use [Restrictions](/v1/docs/en/core-i-search-restriction), for example: - For [Custom overviews](/v1/docs/en/administration-designer-client-preferences-overview), a "Search restriction" in the "Restriction" (`restriction`) property can control which subset of the instances of the entity type to be displayed appear in the overview. - [Custom overviews](/v1/docs/en/administration-designer-client-preferences-overview) also always offer a data grid for which conditional *row formatting* can be defined on the basis of [Restrictions](/v1/docs/en/core-i-search-restriction) (see [Row formatting in datagrids](/v1/docs/en/datagrid-row-formatter)). - If a "Search" object is passed to the [Open view (Action)](/v1/docs/en/core-open-view-actor)) event action when an overview is opened, then a "Where" condition defined in it applies as a *restriction* for the opened overview. - Last but not least, the [Search junction](/v1/docs/en/core-search-junction) and [Sub search](/v1/docs/en/core-sub-search) *restriction types* provide for the configuration of [Restrictions](/v1/docs/en/core-i-search-restriction) in their definition.