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

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

            _elasticUserIndex.Index(searchableUsers);
        }