encodeSolr function

Encode the input for Solr Queries

Encode the input for Solr Queries

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

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

Arguments

  • x: : a string to encode
  • ...: (not yet used.)

Returns

the encoded form of the input

Examples

encodeSolr("this & that")
  • Maintainer: Matthew B. Jones
  • License: Apache License 2.0
  • Last published: 2022-06-10