SearchResult: The SearchResults Class

Description Usage Arguments Value Examples

View source: R/AllClasses.R

Description

A glass generated after parsing a search query with the method parseToSearchResults. Contains a list of all information gleaned from the search query.

Usage

1
SearchResult(es_query, results, first_hit, last_hit, total_hits)

Arguments

es_query

A quosure of the current es_query.

results

A list of all result from the qeury.

first_hit

numeric(1) the first bundle currently shown.

last_hit

numeric(1) the last bundle currently shown.

total_hits

numeric(1) the number of bundles that can be shown.

Value

A Search Result object

Examples

1
2
 sr <- new("SearchResult")
 sr

HCABrowser documentation built on Nov. 8, 2020, 7:24 p.m.