Exemple #1
0
 public SolrQueryExecuter(ISolrQueryResultParser <T> resultParser, ISolrConnection connection, ISolrQuerySerializer querySerializer, ISolrFacetQuerySerializer facetQuerySerializer)
 {
     this.resultParser         = resultParser;
     this.connection           = connection;
     this.querySerializer      = querySerializer;
     this.facetQuerySerializer = facetQuerySerializer;
     DefaultRows = ConstDefaultRows;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="resultParser"></param>
 /// <param name="connection"></param>
 /// <param name="querySerializer"></param>
 /// <param name="facetQuerySerializer"></param>
 /// <param name="mlthResultParser"></param>
 public SolrQueryExecuter(ISolrQueryResultParser <T> resultParser, ISolrConnection connection, ISolrQuerySerializer querySerializer, ISolrFacetQuerySerializer facetQuerySerializer, ISolrMoreLikeThisHandlerQueryResultsParser <T> mlthResultParser)
 {
     this.resultParser         = resultParser;
     this.mlthResultParser     = mlthResultParser;
     this.connection           = connection;
     this.querySerializer      = querySerializer;
     this.facetQuerySerializer = facetQuerySerializer;
     DefaultRows         = ConstDefaultRows;
     Handler             = DefaultHandler;
     MoreLikeThisHandler = DefaultMoreLikeThisHandler;
 }