From b90fba5f5029daf71fcefecd2e155b92ddf91866 Mon Sep 17 00:00:00 2001 From: Leonid Moguchev Date: Mon, 19 Feb 2024 01:45:27 +0300 Subject: [PATCH] search.suggest --- effdsl.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/effdsl.go b/effdsl.go index 60273fa..aa726e1 100644 --- a/effdsl.go +++ b/effdsl.go @@ -28,6 +28,9 @@ type ( RewriteParameter = objs.RewriteParameter SortOrder = objs.SortOrder + + SuggestSort = objs.SuggestSort + SuggestMode = objs.SuggestMode ) //--------------------------------------------------------------------------------------// @@ -101,6 +104,15 @@ var ( WithIncludes = objs.WithIncludes WithExcludes = objs.WithExcludes SourceFilter = objs.SourceFilter + + // search_source_filtering.go + Suggesters = objs.Suggesters + TermSuggester = objs.TermSuggester + Term = objs.Term + WithTermSuggestAnalyzer = objs.WithTermSuggestAnalyzer + WithTermSuggestSize = objs.WithTermSuggestSize + WithTermSuggestSort = objs.WithTermSuggestSort + WithTermSuggestMode = objs.WithTermSuggestMode ) //--------------------------------------------------------------------------------------//