Events Not Showing Up in Search Results
Hi,
If you try to search for "freshman leadership council" on the site I'm working on, http://test.ufsa.ufl.edu, it doesn't bring up any results. I have an entry called "Freshman Leadership Council Presents SG Meet and Greet" in a channel called "Calendar: Events" and I added the channel to Low Search as a new collection, but it won't show it in the search results. And, it doesn't happen for just this event... searching for any event title won't return any search results related to the event you searched for.
The example event entry is located at this page: http://test.ufsa.ufl.edu/events/detai...
I made sure that the collection was up to date, the fields were searchable and the entry had an open status. This is the low search tag I'm using on the results page:
{exp:low_search:results query="{segment_2}" status="open" limit="10" disable="categories|member_data" pagination="bottom"}
Any ideas why this is happening and how to fix it?
Thanks,
Eric
Replies
Low 15 Mar 2012 08:37
Hi Eric,
How are you creating the events? Is it a regular Channel or are you using Solspace's Calendar module? If you're using a regular Channel, are you using the entry_date as the event start date? And if so, have you tried adding show_future_entries="yes" to the low_search:results tag?
Low 15 Mar 2012 08:39
By the looks of your Submit an Event form, you're using Solspace Calendar. I'm not sure if these two modules play nice together. I'll investigate.
Low 15 Mar 2012 09:52
Can you turn on Template Debugging and see what it says when showing search results? You should be able to see several items starting with "Low Search:".
Eric 15 Mar 2012 16:57
Hi Low,
Thanks for the suggestions. I added show_future_entries="yes", but it still couldn't find the event.
I am using Solspace Calendar for the events.
I turned on Template Debugging and this is what it showed when I searched for that event:
(0.016195 / 10.56MB) - Beginning Tag Processing -
(0.016219 / 10.55MB) Parsing Tags in Template
(0.016251 / 10.56MB) Tag: {exp:low_search:results query="YTo2OntzOjg6ImtleXdvcmRzIjtzOjI3OiJmcmVzaG1hbiBsZWFkZXJzaGlwIGNvdW5jaWwiO3M6MTE6InNlYXJjaF9tb2RlIjtzOjM6ImFsbCI7czoxMToicmVzdWx0X3BhZ2UiO3M6Njoic2VhcmNoIjtzOjEwOiJjb2xsZWN0aW9uIjthOjI6e2k6MDtzOjE6IjIiO2k6MTtzOjE6IjEiO31zOjEwOiJsb29zZV9lbmRzIjtiOjE7czo0OiJzaXRlIjtzOjE6IjEiO30" status="open" limit="10" disable="categories|member_data" pagination="bottom"}
(0.016334 / 10.56MB) Closing Tag Found
(0.016437 / 10.56MB) Tag: {exp:channel:entries site="ufsa" limit="1"}
(0.016486 / 10.56MB) Closing Tag Found
(0.016519 / 10.56MB) Processing Tags
(0.016544 / 10.56MB) Module Tag: Low_search/results
(0.016561 / 10.56MB) Module Tag: Channel/entries
(0.016572 / 10.57MB) Including Files for Plugins and Modules
(0.028192 / 13.27MB) Files for Plugins and Modules All Included
(0.028841 / 13.31MB) Beginning Final Tag Data Processing
(0.028855 / 13.31MB) Calling Class/Method: Low_search/results
(0.029254 / 13.32MB) -> Class Called: Low_search
(0.030722 / 13.58MB) -> Method Called: results
(0.037821 / 13.72MB) Low Search: starting search (fulltext)
(0.041644 / 13.72MB) Low Search: Searched but found nothing. Returning no results.
(0.041660 / 13.72MB) Returning No Results Content
(0.041723 / 13.62MB) -> Data Returned
(0.041743 / 13.62MB) Calling Class/Method: Channel/entries
(0.042199 / 13.62MB) -> Class Called: Channel
(0.043357 / 13.87MB) -> Method Called: entries
(0.072182 / 18.23MB) Calling Extension Class/Method: Assets_ext/channel_entries_query_result
(0.072935 / 18.33MB) Calling Extension Class/Method: Low_search_ext/channel_entries_query_result
(0.073529 / 18.44MB) Calling Extension Class/Method: Matrix_ext/channel_entries_tagdata
(0.074485 / 18.50MB) Calling Extension Class/Method: Pt_field_pack_ext/channel_entries_tagdata
(0.075520 / 18.39MB) -> Data Returned
(0.075565 / 18.36MB) - End Tag Processing -
Low 15 Mar 2012 19:05
Can you send me Super Admin login credentials so I can take a look myself? You can send the info to hi at gotolow dot com. Thanks.
Low 16 Mar 2012 09:43
Hi Eric,
Turns out you forgot to add the Events collection to the low_search:form tag. Adding it will search that collection too and give you the right results.
Eric 16 Mar 2012 17:40
Yep, I forgot that collections were specified in the search form. Thanks for finding that!