| quick_search | R Documentation |
Quick search - Index texts and search immediately
quick_search(texts, query, limit = 5)
texts |
Character vector of texts to index |
query |
Search query |
limit |
Number of results |
Results object
## Not run:
results <- quick_search(
texts = c("Python is great", "Java is verbose", "Rust is fast"),
query = "programming language"
)
print(results$top()$text)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.