Low Search not insensitive to umlauts?
I have a problem with accent and diacritic insensitivity with Low Search. For example, on our site (www.adventuregamers.com) searching for "Temujin" yields 0 results, but searching for "Temüjin" gives a hit. Are umlauts excluded somehow?
Replies
Low 18 Oct 2012 16:18
Hi Marek,
What version of Low Search and EE are you using?
What does the index of that particular entry look like? You can look it up by going to the SQL manager, browse the exp_low_search_indexes table and looking for the right entry id.
Marek 18 Oct 2012 16:23
Hi Low,
It's EE 2.5.2 and LS 2.1.0
The index_text for the entry is: "| temuejin | temuejin | temuejin | | 872 southpeak southpeak | | released worldwide |"
Low 18 Oct 2012 16:34
(I'm on my way back to the Netherlands at the moment; so in between flights. support might be a bit flakey today)
Okay, can you turn on template debugger, perform the search that isn't producing the correct results and look up the lines that start with "Low Search"? What does that tell you?
Marek 18 Oct 2012 16:38
Appreciate the support while you're in transit :)
Here's a dump of everything Low Search related:
(0.012556 / 1.38MB) Parsing Tags in Template
(0.012605 / 1.39MB) Tag: {exp:low_search:form collection="games" search_mode="all" result_page="games/search"}
(0.012734 / 1.39MB) Closing Tag Found
(0.012836 / 1.39MB) Tag: {exp:low_search:results query="eyJrZXl3b3JkcyI6InRlbXVqaW4iLCJzZWFyY2hfbW9kZSI6ImFsbCIsInJlc3VsdF9wYWdlIjoiZ2FtZXNcL3NlYXJjaCIsImNvbGxlY3Rpb24iOnsiMCI6IjEifX0" limit="50" status="open|suppressed"}
(0.012965 / 1.39MB) Closing Tag Found
(0.013063 / 1.39MB) Processing Tags
(0.013114 / 1.40MB) Module Tag: Low_search/form
(0.013152 / 1.40MB) Module Tag: Low_search/results
(0.013195 / 1.40MB) Including Files for Plugins and Modules
(0.019476 / 1.72MB) Files for Plugins and Modules All Included
(0.020366 / 1.74MB) Beginning Final Tag Data Processing
(0.020400 / 1.74MB) Calling Class/Method: Low_search/form
(0.020630 / 1.74MB) -> Class Called: Low_search
(0.022919 / 1.87MB) -> Method Called: form
(0.024562 / 1.90MB) Low Search: form tag - no or invalid query given
(0.025744 / 1.94MB) Calling Extension Class/Method: Safecracker_ext/form_declaration_modify_data
(0.026107 / 1.93MB) -> Data Returned
(0.026181 / 1.92MB) Calling Class/Method: Low_search/results
(0.027197 / 1.93MB) -> Class Called: Low_search
(0.027515 / 1.93MB) -> Method Called: results
(0.043178 / 2.04MB) Low Search: starting search (fulltext)
(0.044209 / 2.04MB) Low Search: Searched but found nothing. Returning no results.
(0.044247 / 2.04MB) Returning No Results Content
(0.044697 / 1.96MB) -> Data Returned
(0.044864 / 1.93MB) Parsing Tags in Template
(0.044924 / 1.93MB) Tag: {exp:low_search:keywords query="eyJrZXl3b3JkcyI6InRlbXVqaW4iLCJzZWFyY2hfbW9kZSI6ImFsbCIsInJlc3VsdF9wYWdlIjoiZ2FtZXNcL3NlYXJjaCIsImNvbGxlY3Rpb24iOnsiMCI6IjEifX0"}
(0.045040 / 1.93MB) No Closing Tag
(0.045104 / 1.93MB) Processing Tags
(0.045155 / 1.93MB) Module Tag: Low_search/keywords
(0.045201 / 1.93MB) Including Files for Plugins and Modules
(0.045222 / 1.93MB) Files for Plugins and Modules All Included
(0.045238 / 1.93MB) Beginning Final Tag Data Processing
(0.045260 / 1.94MB) Calling Class/Method: Low_search/keywords
(0.045397 / 1.93MB) -> Class Called: Low_search
(0.045719 / 1.93MB) -> Method Called: keywords
(0.045909 / 1.93MB) -> Data Returned
(0.045959 / 1.93MB) - End Tag Processing -
Low 18 Oct 2012 16:56
How many entries do you have in that collection at the moment?
Also, can you look up the database query in the output profiler? It should contain the keyword. What does that say?