Searching for One Character Words in Index Server

Last reviewed: October 29, 1997
Article ID: Q174777

The information in this article applies to:

  • Microsoft Index Server version 1.1

SYMPTOMS

When you search for a string, for example, "C++" (without the quotes), Index Server will return the following error message:

   The query contained only ignored words. (0x80041605) encountered 
   while processing the query "c++".

CAUSE

Both the neutral and English wordbreakers strip the trailing "++" characters, because they are not part of a linguistic word.

An escape feature exists for special characters such as "&" and "|", because they have special meaning in the query syntax. However, the "+" character has no such special meaning.

Also, even with escapes, the query "c(" will be converted to "c", which is a noise-word-only query.

WORKAROUND

Remove the letter "c" from the noise files: Noise.enu and Noise.dat. In that case searching for "c++" will be the same as searching for the letter "c".

NOTE: After you edit the noise files, you will need to reindex all of the virtual roots.

Keywords          : indxhowto kbother
Version           : 1.1
Platform          : winnt
Hardware          : ALPHA x86


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.