Keywords search across all collections
I just want to do a simple old search across all collections, but i just get "no results" no matter what i search for. Please help me before i end it all :(
I have indexes, i have weights etc etc, just nothing comes back.
my code is as below:
{exp:low_search:form collection="events|news"packages|pages|resources|team_members" search_mode="all" result_page="search/resources-results" form_class="navbar-form pull-right" status="open"}
{/exp:low_search:form}
Replies
john 19 Sep 2013 16:40
Oh for gods sake, there's a " where there should be a | jeez. What a day. So sorry Low.
Low 19 Sep 2013 17:57
Relax, have a drink, breathe. :)
Low 20 Sep 2013 08:02
By the way, omitting the collection="" parameter altogether will search through all. Just like not setting the channel="" parameter with the channel:entries tag.
john 20 Sep 2013 08:15
Ahh, so if i do collection="" then that is basically search nothing. I stupidly put collection="" thinking if i omitted any collections is would search all. But evidently if i omit the param altogether it will search across all collections.
I was having such a dreadful day yesterday, nothing worked, and then this wasn't working and it was head vs desk time :)
Thanks again Low.
Low 20 Sep 2013 08:16
collection="" should also search all collections, actually. Should, mind you. :)