# observe\_search\_query/2

Source: https://zotonic.com/docs/1982/observe_search_query-2

URI: https://zotonic.com/id/1982

Language: en



Map a custom search term to a `#search_sql_term{}` record.

Type:

[first](/id/doc_developerguide_notifications#notification-first)

Return:

`#search_sql_term{}`, `[]`, or `undefined`

`#search_query{}` properties:

- name: `union`
- args: `union`
- offsetlimit: `tuple`
- unknown: `unknown`
- search: `union`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1982?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1982?language=en>)
