about summary refs log tree commit diff stats
path: root/internal/server/mux.go
diff options
context:
space:
mode:
authorAlan Pearce2024-07-12 21:10:47 +0200
committerAlan Pearce2024-07-12 21:20:15 +0200
commita5f58bc7fe205b8ff84f6b654513e40bfbc61ae9 (patch)
treef3bc9d7cc99fa0df6d730ccbb9ae0389938e9af5 /internal/server/mux.go
parent9440d2fc4250e733e1dbe25303bd2407642ff28c (diff)
downloadsearchix-a5f58bc7fe205b8ff84f6b654513e40bfbc61ae9.tar.lz
searchix-a5f58bc7fe205b8ff84f6b654513e40bfbc61ae9.tar.zst
searchix-a5f58bc7fe205b8ff84f6b654513e40bfbc61ae9.zip
fix: opensearch searches not using input query
Diffstat (limited to 'internal/server/mux.go')
-rw-r--r--internal/server/mux.go2
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)