internal SubFingerprintDao(ISolrOperations <SubFingerprintDTO> solr, IDictionaryToHashConverter dictionaryToHashConverter, IHashConverter hashConverter, ISolrQueryBuilder solrQueryBuilder) { this.solr = solr; this.dictionaryToHashConverter = dictionaryToHashConverter; this.hashConverter = hashConverter; this.solrQueryBuilder = solrQueryBuilder; var hashinConfig = new DefaultHashingConfig(); fingerprintLength = hashinConfig.NumberOfLSHTables * hashinConfig.NumberOfMinHashesPerTable; }
/// <summary> /// Initializes a new instance of the <see cref="DotLiquidTemplateRenderer"/> class. /// </summary> /// <param name="hashConverter"></param> /// <param name="logger"></param> public DotLiquidTemplateRenderer(IHashConverter hashConverter, ILogger <DotLiquidTemplateRenderer> logger) { _hashConverter = hashConverter; _logger = logger; }
internal LocalitySensitiveHashingAlgorithm(IMinHashService minHashService, IHashConverter hashConverter) { this.minHashService = minHashService; this.hashConverter = hashConverter; }
internal SimilarityUtility(IHashConverter hashConverter) { this.hashConverter = hashConverter; }
public SubFingerprintDao(IDatabaseProviderFactory databaseProvider, IModelBinderFactory modelBinderFactory, IHashConverter hashConverter) : base(databaseProvider, modelBinderFactory) { this.hashConverter = hashConverter; }