fn inverted_index_metadata_weight( k: &FileId, v: &Arc<InvertedIndexMetas>, ) -> u32
Calculates weight for inverted index metadata.