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.
Esempio n. 1
0
		public MyXMLParser()
		{
			xml = new XElement("days");
			allEvents = new LinkedList<CalendarEvent>();
			allDays = new SortedList<long, DayEventCollection>();
			index = new IndexMaker("LuceneIndex","date");
			pageCounter = 0;
		}
Esempio n. 2
0
 public MyXMLParser()
 {
     xml         = new XElement("days");
     allEvents   = new LinkedList <CalendarEvent>();
     allDays     = new SortedList <long, DayEventCollection>();
     index       = new IndexMaker("LuceneIndex", "date");
     pageCounter = 0;
 }