diff --git a/internal/services/search.go b/internal/services/search.go index ced6f60..4bc5810 100644 --- a/internal/services/search.go +++ b/internal/services/search.go @@ -111,9 +111,9 @@ type FieldSearchParams struct { // FieldValue represents a single field value with metadata type FieldValue struct { - Value string - Count int64 - Score float64 + Value string `json:"value"` + Count int64 `json:"count"` + Score float64 `json:"score"` } // SearchFieldValues handles field-specific search for autocomplete dropdowns