Not all entries/words are found - but why?
Low search doesn't give me results, even if the words are definitely within a certain entry (also in the tilte). But I can't figure out why.
Upgraded to the latest version, rebuilt all collections. With many words the module just works as it should, but there are entries, they can't be found even if there are a defined searched word multiple times in the entries as well as different fields (title, body, searchwords, ...)
For example: looking for 'Songcontest' here > http://www.simply4friends.at/blog/ind...
gives me 8 results - but NOT this one:
http://www.simply4friends.at/blog/ind...
While I try to figure out why - I also looked for the word in the 'find & replace' section of the module. Here the weird was, that the exact word didn't deliver any results - just a part of it 'ongcontest' worked and than also the full word worked here 'songcontest' - but still not with the searchform on the site.
Any ideas what can be wrong?
kind regards
Roman
Replies
Low 12 Jun 2015 12:51
The Find & Replace utility is case sensitive, so that might be causing that.
As for the missing entry: there might be other reasons the entry isn't included in the final results. It could be a status, future/expiration dates, maybe even caching.
If you enable the template debugger and look up all lines that mention low_search or Low Search, what does that say?
Roman Sindelar 12 Jun 2015 15:19
Hi Low.
Thank you for your quick reply.
These are the lines I found:
(0.027298 / 5.25MB) Tag: {exp:low_search:results default:limit="12"}
(0.027443 / 5.25MB) Tag: {exp:low_search:results default:limit="2000" default:orderby_sort="low_search_score|asc}
(0.027625 / 5.26MB) Module Tag: Low_search/results
(0.027643 / 5.26MB) Module Tag: Low_search/results
(0.031541 / 5.55MB) Calling Class/Method: Low_search/results
(0.031704 / 5.55MB) -> Class Called: Low_search
(0.056540 / 6.75MB) Low Search: Applying Low_search_filter_keywords
(0.056540 / 6.75MB) Low Search: Applying Low_search_filter_keywords
(0.059043 / 6.76MB) Low Search: Keywords: songcontest
(0.059447 / 6.77MB) Low Search: Starting search (fallback)
(0.130991 / 6.77MB) Low Search: Calculating relevance score
(0.134558 / 6.79MB) Low Search: Applying collection modifier to search results
(0.134725 / 6.78MB) Low Search: Setting fixed_order param
(0.134926 / 6.78MB) Low Search: Parameters set: keywords="songcontest" loose_ends="both" search_mode="any" limit="12" fixed_order="1955|5097|5100|3099|47|5070|4642|48|5102|3652"
(0.134945 / 6.78MB) Low Search: Pre-applying search vars to tagdata
(0.136066 / 6.79MB) Low Search: Calling the channel module
(0.204132 / 11.81MB) Calling Extension Class/Method: Low_search_ext/channel_entries_query_result
(0.278767 / 14.66MB) Calling Class/Method: Low_search/results
(0.280529 / 14.67MB) -> Class Called: Low_search
(0.280823 / 14.68MB) Low Search: Prepping if low_search_no_results conditional
(0.281184 / 14.67MB) Low Search: Applying Low_search_filter_keywords
(0.280823 / 14.68MB) Low Search: Prepping if low_search_no_results conditional
(0.281184 / 14.67MB) Low Search: Applying Low_search_filter_keywords
(0.281406 / 14.67MB) Low Search: Keywords: songcontest
(0.281539 / 14.67MB) Low Search: Starting search (fallback)
(0.353663 / 14.67MB) Low Search: Calculating relevance score
(0.356329 / 14.68MB) Low Search: Applying collection modifier to search results
(0.356523 / 14.68MB) Low Search: Setting fixed_order param
(0.356733 / 14.68MB) Low Search: Parameters set: keywords="songcontest" loose_ends="both" search_mode="any" limit="2000" fixed_order="1955|5097|5100|3099|47|5070|4642|48|5102|3652"
(0.356753 / 14.68MB) Low Search: Pre-applying search vars to tagdata
(0.364810 / 14.68MB) Low Search: Calling the channel module
(0.379461 / 15.04MB) Calling Extension Class/Method: Low_search_ext/channel_entries_query_result
(0.619938 / 15.53MB) Tag: {exp:low_search:form result_page="search/results"}
(0.620282 / 15.54MB) Module Tag: Low_search/form
(0.623544 / 15.57MB) Calling Class/Method: Low_search/form
(0.623607 / 15.57MB) -> Class Called: Low_search
Low 12 Jun 2015 15:21
Try adding status="not closed" to the Results tag.
Roman Sindelar 12 Jun 2015 15:27
Hi Low - now I have a glue. Seems that all the entries with a different status than 'open' (e.g. 'gallery' for the photoblog) can't be found by the module. Is there a possibility to integrate them as well? What do I have to enter in the search/result page?
Roman Sindelar 12 Jun 2015 15:46
Now it works and everything what someone is looking for is showing! GREAT. Thank you for your quick help!