Class is used for index making and index reading. Once index is made its not neccesarry to make it again with new run of application. It will read previously made index.
コード例 #1
0
ファイル: MyXMLParser.cs プロジェクト: irfiit/wikipedia
		public MyXMLParser()
		{
			xml = new XElement("days");
			allEvents = new LinkedList<CalendarEvent>();
			allDays = new SortedList<long, DayEventCollection>();
			index = new IndexMaker("LuceneIndex","date");
			pageCounter = 0;
		}
コード例 #2
0
 public MyXMLParser()
 {
     xml         = new XElement("days");
     allEvents   = new LinkedList <CalendarEvent>();
     allDays     = new SortedList <long, DayEventCollection>();
     index       = new IndexMaker("LuceneIndex", "date");
     pageCounter = 0;
 }