One of the specific pages contains the danish word "dækskift" , but when I search for the term, it doesn't show up in the results. When I search for the word "dæk" , I get results from pages where the "dæk" is part of the word "sygdomsdækning". I've already double checked that the field containing the word "dækskift" is "indexed" by xslt-search.
Has anyone experienced this problem before, and how did you solve it?
Can you browse to the page with "dækskift" in your browser and then look at the browser's 'View Page Source' -- are any of the characters escaped or is there anything at all unusual about how the word is shown in the source? That is usually the issue in such cases.
I've already checked for that. The danish characters aren't escaped or in any other way "encrypted". I can send you the URL to the site, but not here since it's an internal-corporate website, and we don't want google to index the site if I post the URL here.
This issue has been fixed. The reason "dækskift" wasn't showing was that the node which it was displayed on was hidden from the menu and if nodes were hidden from the menus it was excluded from the XSLTsearch with the 'possibleNodes' variable.
XSLTsearch and danish characters
I've implemented xslt search on a danish website.
One of the specific pages contains the danish word "dækskift" , but when I search for the term, it doesn't show up in the results. When I search for the word "dæk" , I get results from pages where the "dæk" is part of the word "sygdomsdækning". I've already double checked that the field containing the word "dækskift" is "indexed" by xslt-search.
Has anyone experienced this problem before, and how did you solve it?
I've tried to add the following:
codes.Add("Æ", (char)198);
codes.Add("æ", (char)230);
codes.Add("Å", (char)197);
codes.Add("å", (char)229);
codes.Add("Ø", (char)216);
codes.Add("ø", (char)248);
in the XSLTsearch.cs file in the escapeString and unescapeString methods. This didn't solve the problem either.
/Martin
Can you browse to the page with "dækskift" in your browser and then look at the browser's 'View Page Source' -- are any of the characters escaped or is there anything at all unusual about how the word is shown in the source? That is usually the issue in such cases.
cheers,
doug.
Hi Douglas,
I've already checked for that. The danish characters aren't escaped or in any other way "encrypted". I can send you the URL to the site, but not here since it's an internal-corporate website, and we don't want google to index the site if I post the URL here.
cheers,
Martin.
Hi, Martin,
Can you send me a note with the URL through my website? http://www.percipientstudios.com/about/contact.aspx
Perhaps I will be able to see something.
cheers,
doug.
This issue has been fixed. The reason "dækskift" wasn't showing was that the node which it was displayed on was hidden from the menu and if nodes were hidden from the menus it was excluded from the XSLTsearch with the 'possibleNodes' variable.
is working on a reply...