Multiple Search Pages with different config not supported

Created on 14 June 2023, over 2 years ago

Problem/Motivation

When creating multiple search pages with different URLs and different exlusions, we can see both Content (Exclude) pages with different numbers of records, but when actually running the two searches, the set of data we get back from both searches is exactly the same.

Steps to reproduce

Go to the Search Pages configuration. (admin/config/search/pages)
Add a Search Page of type 'content exclude', and exclude everything but one type.
Add another Search Page of type 'content exclude' and exclude everything but another type.
Rerun indexes and test both search pages. Results should not be the same, but for me they are.

Proposed resolution

Resolve the issues with the indexing that seem to not make index items distinct per content exclude type, or move content exclude config OUT of the search page config and into the general Search Pages config where its obvious that its global.
Update documentation.

Remaining tasks

Confirm issue with testing.
Decide if the config should be per search page or global.
Update code to match requirements.
Test

User interface changes

Possible UX changes if the config is global.

Data model changes

Data model changes if there needs to be an extra key for the search page machine name.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom ChrisDarke London

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024