Liking cljdoc? Tell your friends :D

ductile.query


boolclj

(bool opts)

Inputs: [opts :- BoolQueryParams] Returns: BoolQuery

Boolean Query

Inputs: [opts :- BoolQueryParams]
Returns: BoolQuery

Boolean Query
raw docstring

filter-map->terms-queryclj

(filter-map->terms-query filter-map)
(filter-map->terms-query filter-map query)

transforms a filter map to en ES terms query

transforms a filter map to en ES terms query
raw docstring

filteredclj

(filtered opts)

Filtered query

Filtered query
raw docstring

idsclj

(ids ids)

Inputs: [ids :- [s/Str]] Returns: IdsQuery

Ids Query

Inputs: [ids :- [s/Str]]
Returns: IdsQuery

Ids Query
raw docstring

nestedclj

(nested opts)

Nested document query

Nested document query
raw docstring

nested-termsclj

(nested-terms filters)

make nested terms from a filter: [[[:observable :type] ip] [[:observable :value] 42.42.42.1]] -> [{:terms {observable.type [ip]}} {:terms {observable.value [42.42.42.1]}}]

we force all values to lowercase, since our indexing does the same for all terms.

make nested terms from a filter:
  [[[:observable :type] ip] [[:observable :value] 42.42.42.1]]
  ->
  [{:terms {observable.type [ip]}} {:terms {observable.value [42.42.42.1]}}]

we force all values to lowercase, since our indexing does the same for all terms.
raw docstring

prepare-termsclj

(prepare-terms filter-map)

termclj

(term key values)
(term key values opts)

Term Query

Term Query
raw docstring

termsclj

(terms key values)
(terms key values opts)

Terms Query

Terms Query
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close