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