SearchAsh.Source.Info (search_ash v0.1.0)

Copy Markdown View Source

Read a resource's searchable do … end configuration.

Summary

Functions

Archived resolver: nil, an attribute name (truthiness), or a record -> boolean.

:remove or :archive — index behaviour when the source is destroyed.

Functions

archived(resource)

Archived resolver: nil, an attribute name (truthiness), or a record -> boolean.

fields(resource)

index(resource)

label_field(resource)

language_attribute(resource)

on_destroy(resource)

:remove or :archive — index behaviour when the source is destroyed.

source_type(resource)