16 lines
551 B
C#
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";
|
|
}
|
|
} |