Function quickwit_common::extract_metastore_uri_and_index_id_from_index_uri[][src]

pub fn extract_metastore_uri_and_index_id_from_index_uri(
    index_uri: &str
) -> Result<(&str, &str)>
Expand description

For the moment, the only metastore available is the a one file per index store, located on the same storage as the index. For a simpler UX, we let the user define an index_url instead of a metastore and an index_id. This function takes such a index_url and breaks it into s3://my_bucket/some_path_containing_my_indices / my_index -—————————————––/ -—–/ metastore_uri index_id