View source: R/annoy_interface.R
| annoy_search_bigmatrix | R Documentation |
bigmemory::big.matrixQuery a persisted Annoy index created by annoy_build_bigmatrix() or
reopened with annoy_open_index(). Supply query = NULL for self-search
over the indexed reference rows, or provide a dense numeric matrix,
big.matrix, or external pointer for external-query search. Results can be
returned in memory or streamed into destination big.matrix objects.
annoy_search_bigmatrix(
index,
query = NULL,
k = 10L,
search_k = -1L,
xpIndex = NULL,
xpDistance = NULL,
prefault = NULL,
block_size = annoy_default_block_size()
)
index |
A |
query |
Optional query source. Supply |
k |
Number of neighbours to return. |
search_k |
Annoy's runtime search budget. Use |
xpIndex |
Optional writable |
xpDistance |
Optional writable |
prefault |
Optional logical override controlling whether the native backend prefaults the Annoy file while loading it for search. |
block_size |
Number of queries processed per block. |
A list with components index, distance, k, metric, n_ref,
n_query, exact, and backend.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.