Skip to content
Zotonic
  • Start
  • Guides
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Notifications
  • Reference
  • Backend developer
  • Search and discovery
  • Notification
  • Transform
  • Text

observe_search_query_normalize_value/2

Normalize a search value for queries and indexing. An example is the normalization of texts by transliteration and removal of accents. Defaults for text values to z_string:normalize/1.

Type:

first

Return:

any() or undefined

#search_query_normalize_value{} properties:

  • term: binary or undefined
  • type :: atom
  • value: any

Edit on GitHub

Related documentation

Notifications

observe_custom_pivot/2

Add custom pivot fields to a resource’s search index (map) Result is a single tuple or list of tuples {pivotname, props} , where…

Notifications

observe_media_upload_preprocess/2

Notification to translate or map a file after upload, before insertion into the database Used in mod_video to queue movies for conversion…

Notifications

observe_search_query/2

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

Notifications

observe_session_context/3

Refresh the context or request process for the given request or action

Notifications

observe_pivot_rsc_data/3

Fold over the resource props map to extend/remove data to be pivoted

Notifications

observe_rsc_pivot_done/2

Signal that a resource pivot has been done.

Notifications

observe_pivot_update/3

Pivot just before a m_rsc_update update. Used to pivot fields before the pivot itself.

Notifications

observe_user_context/3

Set #context fields depending on the user and/or the preferences of the user.

Notifications

observe_auth_options_update/3

Update the given (accumulator) authentication options with the request options.

GitHub © 2026 Zotonic