File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
src/Elastic.Markdown/Exporters/Elasticsearch Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,6 @@ namespace Elastic.Markdown.Exporters.Elasticsearch;
2525[ EnumExtensions ]
2626public enum IngestStrategy { Reindex , Multiplex }
2727
28- internal sealed record SynonymSetRequest
29- {
30- [ JsonPropertyName ( "synonyms" ) ]
31- public required string [ ] Synonyms { get ; init ; }
32- }
33-
34- [ JsonSourceGenerationOptions ( PropertyNamingPolicy = JsonKnownNamingPolicy . SnakeCaseLower ) ]
35- [ JsonSerializable ( typeof ( SynonymsSet ) ) ]
36- [ JsonSerializable ( typeof ( SynonymRule ) ) ]
37- internal sealed partial class SynonymSerializerContext : JsonSerializerContext { } ;
38-
3928public class ElasticsearchMarkdownExporter : IMarkdownExporter , IDisposable
4029{
4130 private readonly IDiagnosticsCollector _collector ;
@@ -483,3 +472,8 @@ internal sealed record SynonymRule
483472 public required string Id { get ; init ; }
484473 public required string Synonyms { get ; init ; }
485474}
475+
476+ [ JsonSourceGenerationOptions ( PropertyNamingPolicy = JsonKnownNamingPolicy . SnakeCaseLower ) ]
477+ [ JsonSerializable ( typeof ( SynonymsSet ) ) ]
478+ [ JsonSerializable ( typeof ( SynonymRule ) ) ]
479+ internal sealed partial class SynonymSerializerContext : JsonSerializerContext ;
You can’t perform that action at this time.
0 commit comments