(active? [_ {:strs [state]}])
Returns true if replica is in active state
Returns true if replica is in active state
(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
(delete-collection connection collection-name)
Delete a SolrCloud collection
Delete a SolrCloud collection
(down? [_ {:strs [state]}])
Returns true if replica is in down state
Returns true if replica is in down state
(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
(leader? [_ {:keys [leader]}])
Returns true if given replica is a leader
Returns true if given replica is a leader
(node-name [_ {:strs [node_name]}])
Returns the node name of the replica
Returns the node name of the replica
(not-active? replica)
Returns true if replica is not in active state
Returns true if replica is not in active state
(recovering? [_ {:strs [state]}])
Returns true if replica is in recovery state
Returns true if replica is in recovery state
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close