diff --git a/debian/koha-common.install b/debian/koha-common.install
index 2a5573e604..8288c39d2a 100644
--- a/debian/koha-common.install
+++ b/debian/koha-common.install
@@ -1,5 +1,6 @@
misc/release_notes/release_notes_3*.txt usr/share/doc/koha-common
debian/tmp/usr/* usr
+debian/tmp/etc/koha/searchengine
debian/tmp/etc/koha/pazpar2
debian/tmp/etc/koha/zebradb/[!z]*
debian/templates/* etc/koha
diff --git a/debian/templates/koha-conf-site.xml.in b/debian/templates/koha-conf-site.xml.in
index 0858059da9..4b1c867b76 100644
--- a/debian/templates/koha-conf-site.xml.in
+++ b/debian/templates/koha-conf-site.xml.in
@@ -274,6 +274,7 @@
0
+ /etc/koha/searchengine/queryparser.yaml
diff --git a/etc/koha-conf.xml b/etc/koha-conf.xml
index 53d7ce8b35..ad7bce706c 100644
--- a/etc/koha-conf.xml
+++ b/etc/koha-conf.xml
@@ -293,5 +293,6 @@ __PAZPAR2_TOGGLE_XML_POST__
0
__BIB_INDEX_MODE__
__AUTH_INDEX_MODE__
+ __KOHA_CONF_DIR__/searchengine/queryparser.yaml