Microsoft KB Archive/320942

= Wildcard Searches Do Not Return Expected Results on Indexing Service 3.0 =

Article ID: 320942

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition
 * Microsoft Windows Indexing Service 2.0

-



This article was previously published under Q320942



SYMPTOMS
When you use Indexing Service 3.0 to query a catalog on a server, if the query contains the wildcard function (for example, micro*), the query does not return the expected results.



CAUSE
By default, when the query contains the wildcard function, the query for that string is interpreted literally.



RESOLUTION
The default dialect for Indexing Service 3.0 is Dialect 2, which is free-text mode. In free-text mode, the wildcard character (*) represents itself instead of the wildcard function. To enable wildcard functionality, you must change the dialect to Dialect 1, or phrase mode. To do this, add the following line in your Active Server Pages (ASP) search page, where  is the name of your instantiation of the Index Server Query server-side object:

 .Dialect = 1



MORE INFORMATION
For more information about the Dialect property, see the following Microsoft Developer Network (MSDN) Web site:

Query.Dialect

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/indexsrv/html/ixrefqls_84c3.asp

Keywords: kbfix kbprb KB320942

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.