observe_search_query/2

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

Type:

first

Return:

#search_sql_term{}, [], or undefined

#search_query{} properties:

  • name: union

  • args: union

  • offsetlimit: tuple

  • unknown: unknown

  • search: union

See also

Custom search, Search

Edit on GitHub

observe_postback_notify/2 Other notifications observe_activity_send/2

Referred by

Custom search

Implement a custom search by observing the search_query notification in your module. Imagine you want to search cookies…