I want to thank Rich Rockwell at Thomson for his insights into this part of SharePoint Server 2007. In this post, I'm merely the messenger, he's really the author.
Let's say that we want to use a couple custom metadata columns in Advanced Search and we want to display the values in search results. We are also using lists as look-up lists for the values for the metadata.
Now, we know that have to set up the Metadata Property Mappings to do that, but when we search for the crawled property to map to, we receive two values comtaining "product": "Product(Text)" and "ows_Product(Text)". Which one should we use?
The first attempt was to use the one called Product(Text). The result was that instead of seeing the "Title" values from the lookup table, we saw the ID number of the row (e.g, we got "2" instead of "AutEx AIOI"), and an advanced search for Product = AutEx AIOI returned no results, while an advanced search for Product = 2 returned items with a product of "AutEx AIOI." So we changed the mapping to "ows_Product(Text)" and that gave us the "Title"/text value ("AutEx AIOI") and works in both the display for the search results page and for the advanced search.
Bill English
Mindsharp
Let's say that we want to use a couple custom metadata columns in Advanced Search and we want to display the values in search results. We are also using lists as look-up lists for the values for the metadata.
Now, we know that have to set up the Metadata Property Mappings to do that, but when we search for the crawled property to map to, we receive two values comtaining "product": "Product(Text)" and "ows_Product(Text)". Which one should we use?
The first attempt was to use the one called Product(Text). The result was that instead of seeing the "Title" values from the lookup table, we saw the ID number of the row (e.g, we got "2" instead of "AutEx AIOI"), and an advanced search for Product = AutEx AIOI returned no results, while an advanced search for Product = 2 returned items with a product of "AutEx AIOI." So we changed the mapping to "ows_Product(Text)" and that gave us the "Title"/text value ("AutEx AIOI") and works in both the display for the search results page and for the advanced search.
Bill English
Mindsharp
No comments:
Post a Comment