TestSolr: Testing Solr

Description Usage Arguments Value Author(s)

View source: R/test.R

Description

Launches an instance of the embedded Solr and creates a core for testing and demonstration purposes.

Usage

1

Arguments

schema

The SolrSchema object describing the schema for the new Solr core

start

Whether to actually start the server (it can be started later by interacting with the returned object). If there is already a server running, the return value points to that instance.

restart

Force the Solr server to restart.

Value

An instance of ExampleSolr, a reference class. Typically, one just accesses the uri field, and passes it to a constructor of SolrFrame or SolrCore.

Author(s)

Michael Lawrence


rsolr documentation built on April 22, 2021, 9:07 a.m.