Function search_strings_by_prefix

Source
pub async fn search_strings_by_prefix(
    strings: Vec<String>,
    query: String,
    limit: i32,
    return_none_for_empty_query: bool,
    client_id: i32,
) -> Result<FoundPositions, Error>
Expand description

Searches specified query by word prefixes in the provided strings. Returns 0-based positions of strings that matched. Can be called synchronously

ยงArguments

  • strings - The strings to search in for the query
  • query - Query to search for
  • limit - The maximum number of objects to return
  • return_none_for_empty_query - Pass true to receive no results for an empty query
  • client_id - The client id to send the request to