Files
gos/src/Gos.Infrastructure/Search/Aggregations/SpeakerLanguageAggregator.cs
T
2022-07-06 21:35:05 +02:00

16 lines
551 B
C#

using Gos.Infrastructure.Search.Indexes;
using Gos.Infrastructure.Search.QueryBuilders;
using Nest;
namespace Gos.Infrastructure.Search.Aggregations
{
public class SpeakerLanguageAggregator : BaseAggregator
{
public SpeakerLanguageAggregator(IElasticClient elasticClient, IIndexProviderFactory indexProviderFactory, IQueryBuilderFactory queryBuilderFactory)
: base(elasticClient, indexProviderFactory, queryBuilderFactory)
{
}
protected override string FieldName => "speakerLanguageId";
}
}