search_index: Search the BM25 Index
Description
Search the BM25 Index
Usage
search_index(index, query, n = 10, stem = FALSE)
Value
A data.table of results ranked by score.
Arguments
- index
A data.table created by nlp_index_tokens.
- query
A character string.
- n
Number of results to return.
- stem
Logical; must match the setting used during indexing.