(get-document-id search)
Creates string that could be used as ElasticSearch document id. Parameter 'search' could be string - will be slugified to replace invalid characters search map - (produced by clibana.search/search) from which its title will be taken and slugified
Creates string that could be used as ElasticSearch document id. Parameter 'search' could be string - will be slugified to replace invalid characters search map - (produced by clibana.search/search) from which its title will be taken and slugified
(search title & decorations)
Construct document describing saved search
Construct document describing saved search
(with-columns col & cols)
Define list of fields that shall be displayed in result.
Define list of fields that shall be displayed in result.
(with-description description)
Give your search some human readable description.
Give your search some human readable description.
(with-index-pattern index-pattern)
Index pattern to be used for searching.
Index pattern to be used for searching.
(with-options & options)
Specify sequence of options to drive shape of the result document.
Specify sequence of options to drive shape of the result document.
(with-query & decorations)
Define query. Use 'clibana.query' for definition.
Define query. Use 'clibana.query' for definition.
(with-sort column)
(with-sort column order)
Sort result based on values in 'column' Parameter 'order' is expected to be one of: :asc, :desc, "asc", "desc" Default order is ascending
Sort result based on values in 'column' Parameter 'order' is expected to be one of: :asc, :desc, "asc", "desc" Default order is ascending
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close