encodeSolr: Encode the input for Solr Queries

Description Usage Arguments Value Examples

Description

Treating all special characters and spaces as literals, backslash escape special characters, and double-quote if necessary.

Usage

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

## S4 method for signature 'character'
encodeSolr(x, ...)

Arguments

x

: a string to encode

...

(not yet used.)

Value

the encoded form of the input

Examples

1
encodeSolr("this & that")

dataone documentation built on July 2, 2018, 1:02 a.m.