Beispiel #1
0
 private IList <DocumentScore> Collect(IList <QueryContext> query, IFullTextReadSession readSession)
 {
     using (var collector = new Collector(readSession, _scorerFactory))
     {
         return(collector.Collect(query));
     }
 }
Beispiel #2
0
 public CBOWSearch(IFullTextReadSession session, IScoringSchemeFactory scoringFactory)
     : base(session, scoringFactory)
 {
 }
Beispiel #3
0
 protected Search(
     IFullTextReadSession session, IScoringSchemeFactory scoringFactory)
 {
     Session        = session;
     ScoringFactory = scoringFactory;
 }
Beispiel #4
0
 public Collector(IFullTextReadSession readSession, IScoringSchemeFactory scorerFactory = null)
 {
     _readSession   = readSession;
     _scorerFactory = scorerFactory ?? new TfIdfFactory();
 }