示例#1
0
        public void FillIndex()
        {
            var actualUsers     = GetAll().Where(u => !u.Inactive).ToList();
            var searchableUsers = actualUsers.Select(MapToSearchableUser);

            _elasticUserIndex.Index(searchableUsers);
        }
示例#2
0
        public void FillIndex()
        {
            var searchableUsers = GetAll().Select(MapToSearchableUser);

            _elasticUserIndex.Index(searchableUsers);
        }