MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / configure_payload_indexes

Method configure_payload_indexes

nodedb-vector/src/collection/lifecycle.rs:311–317  ·  view source on GitHub ↗

Configure payload bitmap indexes from a list of field names.

(&mut self, fields: &[String])

Source from the content-addressed store, hash-verified

309
310 /// Configure payload bitmap indexes from a list of field names.
311 pub fn configure_payload_indexes(&mut self, fields: &[String]) {
312 use super::payload_index::PayloadIndexKind;
313 for field in fields {
314 self.payload
315 .add_index(field.as_str(), PayloadIndexKind::Equality);
316 }
317 }
318}

Callers

nothing calls this directly

Calls 2

add_indexMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected