Skip to content

Commit ae36a5a

Browse files
reakaleekclaude
andcommitted
Search: Remove suggest multi-field from ai_questions mapping
Keep the suggest completion field only on ai_autocomplete_questions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 36841d3 commit ae36a5a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Elastic.Documentation/Search/DocumentationMappingConfig.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ internal static MappingsBuilder<DocumentationDocument> ConfigureCommonMappings(M
7373
.MultiField("completion", mf => mf.SearchAsYouType()
7474
.Analyzer("synonyms_fixed_analyzer")
7575
.SearchAnalyzer("synonyms_analyzer")
76-
.IndexOptions("offsets"))
77-
.MultiField("suggest", mf => mf.Completion()))
76+
.IndexOptions("offsets")))
7877
.AddField("ai_autocomplete_questions", f => f.Text()
7978
.Analyzer("synonyms_fixed_analyzer")
8079
.SearchAnalyzer("synonyms_analyzer")

0 commit comments

Comments
 (0)