entry element [Linguistic Dictionary Schema]
Published: July 2010
Applies to: Microsoft FAST Search Server 2010 for SharePoint
Description of an entry in the linguistic dictionary. Required.
<entry key='entryKey' value='entryValue' />
The following sections describe attributes, child elements, and parent elements.
Attributes
Name | Description |
|---|---|
key | Required. A string representing the key of the dictionary entry, that is, the entry string itself that must match text in the processed item. |
value | Optional. A string representing a value that is associated with a dictionary entry. In the case of property extraction, this is the value that is added to the target crawled property if the value of key match the item. |
Child Elements
None.
Parent Elements
Name | Description |
|---|---|
A list of entry elements for the dictionary. |
The following example defines a property extraction dictionary that extracts terms related to wine terminology. To make the extractor case-insensitive, add all case variations to the dictionary.
<dictionary> <entry key="Wine" value="wine" /> <entry key="wine" value="wine" /> <entry key="red wine" value="red wine" /> <entry key="Red wine" value="red wine" /> <entry key="white wine" value="white wine" /> <entry key="White wine" value="white wine" /> <entry key="Chardonnay" value="chardonnay" /> <entry key="chardonnay" value="chardonnay" /> </dictionary>
The associated property extractor may extract these wine-related terms to a new crawled property. The matching will handle different casing of the terms, and normalize the casing in the resulting crawled property.