From 9032daf759685eff2027b0c82738df1a7104ac3d Mon Sep 17 00:00:00 2001 From: Alex Ioannidis Date: Thu, 12 Dec 2024 15:05:30 +0100 Subject: [PATCH] tests: fix default index config --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 2dc45df..43ceda6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -51,11 +51,11 @@ def app(): ), SQLALCHEMY_TRACK_MODIFICATIONS=True, SERVER_NAME="app", + INDEXER_DEFAULT_INDEX="records-record-v1.0.0", OAISERVER_ID_PREFIX="oai:inveniosoftware.org:recid/", OAISERVER_QUERY_PARSER_FIELDS=["title_statement"], - OAISERVER_RECORD_INDEX="_all", + OAISERVER_RECORD_INDEX="records-record-v1.0.0", OAISERVER_REGISTER_SET_SIGNALS=True, - INDEXER_DEFAULT_INDEX="records-record-v1.0.0", ) if not hasattr(app, "cli"): from flask_cli import FlaskCLI