(add-route layer-ns {:keys [threshold] :as route})
Adds a new route in the given layer-ns
Note: Ensure that the layer-ns is defined before using this function. THIS FUNCTION WILL OVERWRITE ANY EXISTING ROUTE WITH THE SAME NS & NAME
Adds a new route in the given layer-ns Note: Ensure that the layer-ns is defined before using this function. THIS FUNCTION WILL OVERWRITE ANY EXISTING ROUTE WITH THE SAME NS & NAME
(delete-layer layer-ns)
Removes the layer associated with the specified layer-ns from the index. Also clears all the routes
Removes the layer associated with the specified layer-ns from the index. Also clears all the routes
(delete-route layer-ns route-name)
Removes route from layer
Removes route from layer
(get-route layer-ns route-name)
Gets route from layer
Gets route from layer
(get-top-route {:keys [layer-ns threshold aggregation-method]} query-vector)
For the given layer returns the route with highest semantic score based on the given aggregation method
For the given layer returns the route with highest semantic score based on the given aggregation method
(update-route layer-ns route-name route)
Updates route with the given name in the given layer-ns
Note: Ensure that the route is defined before using this function. THIS FUNCTION WILL ADD DATA TO EXISTING ROUTE
Updates route with the given name in the given layer-ns Note: Ensure that the route is defined before using this function. THIS FUNCTION WILL ADD DATA TO EXISTING ROUTE
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close