Пример #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);
        }