DocSet-class {ssrch} | R Documentation

## Container for simple documents with arbitrary numbers/shapes of records

### Description

Container for simple documents with arbitrary numbers/shapes of records

utilities for ssrch

### Usage

    kw2docs(sdata)

    docs2kw(sdata)

    docs2recs(sdata)

    searchDocs(string, obj, ...)

    retrieve_doc(x, obj, ...)

### Arguments

`sdata` | instance of srchData class
`string` | character(1) query string
`obj` | instance of DocSet class
`...` | passed to base::grep
`x` | character(1) document identifier

### Value

an environment

an environment

an environment

a data.frame with tokens queried (hits) and associated document ids (docs)

result of calling obj@doc_retriever on arguments x, ...

### Examples

    getClass("DocSet")

[Package ssrch version 1.10.0 Index]