diff options
author | Alan Pearce | 2024-07-12 21:10:47 +0200 |
---|---|---|
committer | Alan Pearce | 2024-07-12 21:20:15 +0200 |
commit | a5f58bc7fe205b8ff84f6b654513e40bfbc61ae9 (patch) | |
tree | f3bc9d7cc99fa0df6d730ccbb9ae0389938e9af5 /internal/server | |
parent | 9440d2fc4250e733e1dbe25303bd2407642ff28c (diff) | |
download | searchix-a5f58bc7fe205b8ff84f6b654513e40bfbc61ae9.tar.lz searchix-a5f58bc7fe205b8ff84f6b654513e40bfbc61ae9.tar.zst searchix-a5f58bc7fe205b8ff84f6b654513e40bfbc61ae9.zip |
fix: opensearch searches not using input query
Diffstat (limited to 'internal/server')
-rw-r--r-- | internal/server/mux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/mux.go b/internal/server/mux.go index 8c34599..e869e14 100644 --- a/internal/server/mux.go +++ b/internal/server/mux.go @@ -295,7 +295,7 @@ func NewMux( source.Importer.String(), source.Key, "search", - ).AddQuery("query", "{searchTerms}"), + ).AddRawQuery("query", "{searchTerms}"), }, } enc := xml.NewEncoder(w) |