Esempio n. 1
0
        public OneNoteManager(bool isDebug)
        {
            this.isDebug = isDebug;
            lucene       = new NetLuceneProvider(false);
            lucene.debug = this.isDebug;

            BuildMetaInfo();
        }
Esempio n. 2
0
        public OneNotePageIndexer()
        {
            lucene = new NetLuceneProvider();

            string outputXML;

            oneNote.GetHierarchy(null, HierarchyScope.hsPages, out outputXML);
            allPageInfo = XDocument.Parse(outputXML);
        }
        private void Main(string[] args)
        {
            var lucene = new NetLuceneProvider(true);

            lucene.SetWorkingDirectory();
            if (debug)
            {
                Console.WriteLine(String.Join(",", lucene.GetAllValuesByField("id")));
            }
            if (debug)
            {
                Console.Read();
            }
        }