github.com/ravendb/ravendb-go-client@v0.0.0-20240229102137-4474ee7aa0fa/suggestion_with_terms.go (about) 1 package ravendb 2 3 var _ SuggestionBase = &SuggestionWithTerms{} 4 5 type SuggestionWithTerms struct { 6 SuggestionCommon 7 Terms []string 8 } 9 10 func NewSuggestionWithTerms(field string) *SuggestionWithTerms { 11 res := &SuggestionWithTerms{} 12 res.Field = field 13 return res 14 }