Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
samihafidiDLW committed Aug 1, 2024
1 parent 78d9eb8 commit 02ef0ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/DancingGoat/Search/SimpleSearchIndexingStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public class SimpleSearchCollectionStrategy : DefaultTypesenseCollectionStrategy
private readonly IWebPageQueryResultMapper webPageMapper;
private readonly IContentQueryExecutor queryExecutor;

public override async Task<ITypesenseCollectionSettings> GetTypesenseCollectionSettings()
public override async Task<ITypesenseCollectionSettings> GetTypesenseCollectionSettings(bool enableNestedFields = false)
{
var baseSettings = await base.GetTypesenseCollectionSettings();
var baseSettings = await base.GetTypesenseCollectionSettings(enableNestedFields);
baseSettings.Fields.Add(new Field(nameof(SimpleSearchResultModel.Title), FieldType.String, false));
return baseSettings;
}
Expand Down

0 comments on commit 02ef0ac

Please sign in to comment.