Facet Search 2.5 BETA - Advanced Search not working with special language characters

Jul 29, 2008 at 11:40 AM
Edited Jul 29, 2008 at 12:11 PM
Hi Team,

First of all this is a great initiative and we have used version 2.0 for some time and are welcoming the new support for Advanced Search.

However after installing the 2.5 beta release uploaded on July 18, 2008 I noticed a problem with our Danish special characters.

The quick search works fine but the facet web part reports a "the search query is malformed" error message when the advanched search contains one or more Danish characters. Here are the Danish characters æÆøØåÅ but I would think any special languge chars would cause the same problem.

From the Event Log:

Event Type: Error
Event Source: Enterprise Library Logging
Event Category: None
Event ID: 100
Date:  29/07/2008
Time:  14:07:54
User:  N/A
Computer: MOSSWF01
Description:
Timestamp: 29-07-2008 12:07:54
Message: HandlingInstanceID: 5bda6935-0122-45d5-8a29-ca5064bbe389
An exception of type 'Microsoft.Office.Server.Search.Query.QueryMalformedException' occurred and was caught.
------------------------------------------------------------------------------------------------------------
07/29/2008 14:07:54
Type : Microsoft.Office.Server.Search.Query.QueryMalformedException, Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
Message : Forespørgslen er fejlformuleret. Omformuler forespørgslen.
Source : Microsoft.Office.Server.Search
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Microsoft.Office.Server.Search.Query.ResultTableCollection Execute()
Stack Trace :    at Microsoft.Office.Server.Search.Query.FullTextSqlQuery.Execute()
   at Microsoft.SharePoint.Portal.ExtendedSearch.WebControls.GenericQuery`1.Execute(EventArgs args)
   at Microsoft.SharePoint.Portal.ExtendedSearch.WebControls.SearchProcessor.ExecuteGenericQuery[T](Int32 resultsPerPage)
   at Microsoft.SharePoint.Portal.ExtendedSearch.WebControls.SearchProcessor.GetResults(Int32 resultsPerPage)
   at Microsoft.SharePoint.Portal.ExtendedSearch.WebControls.SearchProcessor.GetCachedData(String selectColumns, Int16 resultsPerPage, Int32 longCacheTimeout, Int32 fastCacheTimeout, Boolean& usingCachedData, Boolean& run2ndTime)
   at Microsoft.SharePoint.Portal.ExtendedSearch.WebControls.SearchFacets.CreateFacetsList()
   at Microsoft.SharePoint.Portal.ExtendedSearch.WebControls.SearchFacets.CreateChildControls()

Additional Info:

MachineName : MOSSWF01
TimeStamp : 29-07-2008 12:07:54
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=a646907c4a695009
AppDomainName : /LM/W3SVC/473878798/Root-1-128618064986692500
ThreadIdentity : MOSSWF01\Administrator
WindowsIdentity : MOSSWF01\Administrator

Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: MOSSWF01
Application Domain: /LM/W3SVC/473878798/Root-1-128618064986692500
Process Id: 3800
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 5852
Thread Name:
Extended Properties:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.



Hope this is an easy fix and if I need to report our finidings elsewhere please let us know

Thanks
Freddy
Coordinator
Jul 29, 2008 at 6:59 PM
Do I undertsand you correctly, that Core search is working fine and Faceted Search throws query malformed error? Please post or send me your snapshots.
Jul 30, 2008 at 8:15 AM
Hi Leonidly,

Here is a screenshot of the results.aspx page when used from the advanced search.
Screenshot of the Malformed Query exception from the Advanced Search Results.aspx page

Same query initiated from the quick search Screenshot of the Facet Search web parts working from the Quick Search

Information about the test server.

It's a Danish MOSS 2007 32 bit version with Service Pack 1 running on an English Windows 2003 Standard Server with Service Pack 1.
The Word Stemming check box on the core web part has been enabled
Screenshot of the Core Web Part with Word Stemming Enabled

If you like to get your hands on the installation we could schedule a online GoToMeeting session and share screen?

Thanks
Freddy