GetIndexReader() public static method

public static GetIndexReader ( string location ) : IndexQuery
location string
return IndexQuery
示例#1
0
        public void begin()
        {
            try
            {
                index = IndexQuery.GetIndexReader(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "indexer"));

                lock (readyLock)
                {
                    objectState = State.Ready;
                }
            }
            catch (Exception err)
            {
                Trace.TraceError("Error while loading the index {0}", err);
            }

            return;
        }