Ejemplo n.º 1
0
 public Indexer(IRController controller)
 {
     this.controller = controller;
     termsTFs        = new Dictionary <string, int>((StringComparer.InvariantCultureIgnoreCase));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create new instance of ranker class that rank the relvent documents according to given query
 /// </summary>
 /// <param name="controller">The controller of the engine include all the data require for ranking the relevent documents</param>
 public Ranker(IRController controller)
 {
     _controller = controller;
 }
Ejemplo n.º 3
0
 IRController _controller; //Engine controller includes all the data require for searching the relevent documents
 /// <summary>
 /// Create new instance of searcher class that search for relvent documents according to given query
 /// </summary>
 /// <param name="controller">The controller of the engine include all the data require for searching the relevent documents</param>
 public Searcher(IRController controller)
 {
     _controller = controller;
 }