SearchLib.Search.IndexQuery.LoadIndex C# (CSharp) 메소드

LoadIndex() 개인적인 메소드

private LoadIndex ( ) : void
리턴 void
        private void LoadIndex()
        {
            _searcher = new IndexSearcher(FSDirectory.Open(new DirectoryInfo(_location)), true);
        }

Usage Example

예제 #1
0
        public static IndexQuery GetIndexReader(string location)
        {
            var indexer = new IndexQuery(location);
            indexer.LoadIndex();

            return indexer;
        }
All Usage Examples Of SearchLib.Search.IndexQuery::LoadIndex