Liking cljdoc? Tell your friends :D

flux.collections


active?clj

(active? [_ {:strs [state]}])

Returns true if replica is in active state

Returns true if replica is in active state
sourceraw docstring

all-replicasclj

(all-replicas connection collection)
source

create-collectionclj

(create-collection connection collection-name num-shards)
(create-collection connection collection-name num-shards replication-factor)
(create-collection connection
                   collection-name
                   num-shards
                   replication-factor
                   params)

Create a SolrCloud collection

Create a SolrCloud collection
sourceraw docstring

delete-collectionclj

(delete-collection connection collection-name)

Delete a SolrCloud collection

Delete a SolrCloud collection
sourceraw docstring

down?clj

(down? [_ {:strs [state]}])

Returns true if replica is in down state

Returns true if replica is in down state
sourceraw docstring

hosted-by?clj

(hosted-by? replica host-port)

Returns true if given replica is hosted locally by given host/port

Returns true if given replica is hosted locally by given host/port
sourceraw docstring

leader?clj

(leader? [_ {:keys [leader]}])

Returns true if given replica is a leader

Returns true if given replica is a leader
sourceraw docstring

node-nameclj

(node-name [_ {:strs [node_name]}])

Returns the node name of the replica

Returns the node name of the replica
sourceraw docstring

not-active?clj

(not-active? replica)

Returns true if replica is not in active state

Returns true if replica is not in active state
sourceraw docstring

recovering?clj

(recovering? [_ {:strs [state]}])

Returns true if replica is in recovery state

Returns true if replica is in recovery state
sourceraw docstring

wait-until-activeclj

(wait-until-active connection collection host-port)

Waits (infinitely) until all solr replicas hosted by given host/port belonging to given collection are in active state

Waits (infinitely) until all solr replicas hosted by given host/port belonging to given collection are in active state
sourceraw docstring

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

× close