R/index.R
tnt_num_docs.Rd
Number of searchable documents
tnt_num_docs(idx)
A tnt_index.
tnt_index
A single numeric value (committed document count).
idx <- tnt_index_df(data.frame(t = "hello world"), text = t) tnt_num_docs(idx) #> [1] 1