config_overlay: Get Solr configuration overlay

Description Usage Arguments Value Examples

View source: R/config_overlay.R

Description

Get Solr configuration overlay

Usage

1
config_overlay(conn, name, omitHeader = FALSE, ...)

Arguments

conn

A solrium connection object, see SolrClient

name

(character) The name of the core. If not given, all cores.

omitHeader

(logical) If TRUE, omit header. Default: FALSE

...

curl options passed on to crul::HttpClient

Value

A list with response from server

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
# start Solr with Cloud mode via the schemaless eg: bin/solr -e cloud
# you can create a new core like: bin/solr create -c corename
# where <corename> is the name for your core - or creaate as below

# connect
(conn <- SolrClient$new())

# get config overlay
conn$config_overlay("gettingstarted")

# without header
conn$config_overlay("gettingstarted", omitHeader = TRUE)

## End(Not run)

solrium documentation built on May 19, 2021, 9:06 a.m.