Low Search and channels that are on one page
Is Low Search able to handle channels that end up being all on one page? Basically I have a Static Page channel (managed through Structure) and then I have a channel for Awards. The entries for Awards are pulled into a Static Page entry via an EE embed. So for that Static Page entry it also has all the Awards entry output on it. So I'm trying to figure out if there's a way to have someone be able to search and if they had used an award name be able to link to that Awards Static Page. Part of the problem I see is if I just add that Awards channel to the results tag that I'd get a search result entry for every award. For the user that wouldn't make sense. You'd have multiple links to the same page.
I kinda assume there isn't a good way to handle this.
Replies
Low 25 May 2019 07:12
Like with native EE itself, Low Search does not make assumptions on how your content is structured or how an entry is displayed on your site. An entry can appear as main content, aside content, footer, header, meta, in a list of other entries, etc etc.
LS treats each entry equally (as does the channel:entries tag) and it's up to the way you set up the CMS on how you give meaning to each channel. In that sense, LS (nor native EE) is not aware on how your channels relate to one another.
You can include/exclude entries/channels from LS results, and you can create rules that certain entries from a certain channel link to a certain page. But those are rules (ie. if-statements in the template) you have to set up yourself; it's not something LS can determine.