Пример #1
0
        public IEnumerable <LearningCourseDTO> IndexCourse(LearningCourseDTO course)
        {
            var indexer = new LuceneIndexer();

            indexer.AddUpdateLuceneIndex(course);
            return(indexer.GetAllIndexRecords());
        }
Пример #2
0
        public IEnumerable <LearningCourseDTO> GetIndexedCourses()
        {
            var indexer = new LuceneIndexer();

            return(indexer.GetAllIndexRecords());
        }