PascalEugster
10/19/2023, 12:08 PMhuwred
10/19/2023, 12:36 PMD_Inventor
10/19/2023, 5:55 PMProBot ✨
10/20/2023, 6:25 AMPascalEugster
10/20/2023, 6:25 AMD_Inventor
10/20/2023, 6:27 AMD_Inventor
10/20/2023, 6:29 AMD_Inventor
10/20/2023, 6:33 AMLucene.Net.Analysis.De
.
Then you create a configure class like this:
csharp
public class ConfigureMyIndex : IConfigureNamedOptions<LuceneDirectoryIndexOptions>
{
public void Configure(string name, LuceneDirectoryIndexOptions options)
{
if (!name.Equals("ExternalIndex", StringComparison.Ordinal)) return;
options.Analyzer = new DutchAnalyzer();
}
public void Configure(LuceneDirectoryIndexOptions options)
{
throw new NotImplementedException("This method is just part of the interface, but is not actually being used");
}
}
D_Inventor
10/20/2023, 6:33 AMsnekman
10/20/2023, 6:44 AMPascalEugster
10/20/2023, 6:48 AMsnekman
10/20/2023, 6:51 AMPascalEugster
10/20/2023, 7:33 AM