Query a node for the list of query engines available on the node

Description

Query a node for the list of query engines available on the node

Usage

1
2
3
4
getQueryEngineDescription(x, ...)

## S4 method for signature 'D1Node'
getQueryEngineDescription(x, queryEngineName)

Arguments

x

The CNode or MNode to query

...

(Additional arguments - not yet used.)

queryEngineName

The query engine name to get a description for.

Value

list The query engine description

Examples

1
2
3
4
5
6
7
library(dataone)
cn <- CNode("STAGING")
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.