Treating all special characters and spaces as literals, backslash escape special characters, and double-quote if necessary.
encodeSolr(x, ...)# S4 method for character
encodeSolr(x, ...)
: a string to encode
(not yet used.)
the encoded form of the input
# NOT RUN {
encodeSolr("this & that")
# }
Run the code above in your browser using DataLab