getQueryEngineDescription | R Documentation |
Query a node for the list of query engines available on the node
getQueryEngineDescription(x, ...) ## S4 method for signature 'D1Node' getQueryEngineDescription(x, queryEngineName)
x |
The CNode or MNode to query |
... |
(Additional arguments - not yet used.) |
queryEngineName |
The query engine name to get a description for. |
list The query engine description
## Not run: library(dataone) cn <- CNode("PROD") engineDesc <- getQueryEngineDescription(cn, "solr") cat(sprintf("Query engine version: %s\n", engineDesc$queryEngineVersion)) cat(sprintf("Query engine name: %s\n", engineDesc$name)) engineDesc <- getQueryEngineDescription(cn, "solr") head(engineDesc$queryFields, n=3L) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.