The information in this article applies to:
SUMMARYIt is not possible to define a property in a Search catalog that contains a dash "-" character in the name. If a document defines a property that contains a dash, it is possible to reference this property via a name that does not contain a dash. MORE INFORMATIONConsider the following META tag:
If an HTML file containing this META tag is cataloged by Search, you can find the document with the following query:
In order to search for and retrieve a document property in Search, it is necessary to add that property to the Search schema and mark the property with the Index and Retrieve flags. It is not possible to define a property in Search with a dash ("-") character in the name. The following steps enable the searching and retrieval of the META property defined by the above META tag.
You can now search for the corp-sponsor property with the following syntax:
You can also display the value of corp-sponsor by referencing corp_sponsor in the record set returned by the Query object:
REFERENCESSite Server Documentation - "Columns Derived from META Tags" Additional query words: hyphen underscore dash
Keywords : prodsitesrv3 |
Last Reviewed: January 12, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |