protected DocumentMapping ToMappingModel(ISearchMap map)
 {
     return(MappingFactory.CreateDocument(map));
 }