Resolve an internal doc ID to the string document ID.
(&self, internal_id: u32)
| 117 | |
| 118 | /// Resolve an internal doc ID to the string document ID. |
| 119 | pub fn resolve_doc_id(&self, internal_id: u32) -> Option<&str> { |
| 120 | self.doc_id_reverse.get(&internal_id).map(|s| s.as_str()) |
| 121 | } |
| 122 | |
| 123 | /// Total number of documents in the index. |
| 124 | pub fn doc_count(&self) -> usize { |
no test coverage detected