readSolrDoc

0th

Percentile

Read the data from a Solr document

Solr documents are used to represent general data in a reasonably simple format made up of lists, integers, logicals, longs, doubles, dates, etc. each with an optional name. These correspond very naturally to R objects.

Keywords
IO
Usage
readSolrDoc(doc, ...)
Arguments
doc

the object containing the data. This can be the name of a file, a parsed XML document or an XML node.

additional parameters for the methods.

Value

An R object representing the data in the Solr document, typically a named vector or named list.

References

Lucene text search system.

See Also

readKeyValueDB, xmlToList, xmlToDataFrame, xmlParse

Aliases
  • readSolrDoc
  • readSolrDoc,XMLInternalDocument-method
  • readSolrDoc,XMLInternalNode-method
  • readSolrDoc,character-method
  • readSolrDoc,AsIs-method
Examples
# NOT RUN {
f = system.file("exampleData", "solr.xml", package = "XML")
readSolrDoc(f)
# }
Documentation reproduced from package XML, version 3.98-1.19, License: BSD_2_clause + file LICENSE

Community examples

Looks like there are no examples yet.