TestSolr {rsolr}R Documentation

Testing Solr

Description

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

Usage

TestSolr(schema = NULL, start = TRUE, restart = FALSE)

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


[Package rsolr version 0.0.13 Index]