Profile crawlers

Two crawlers are used together to index profile information managed in Commerce Server:

  • The ProfileCrawler can index any of the Commerce Server profiles.

  • A derived version, UserProfileCrawler , is used for indexing the User Object, and for associating address and other information to the index.

ProfileCrawler.gif

The ProfileCrawlertakes a ProfileType, which tells it the name of the profile in Commerce Server, which in this case is UserObject.

The UserProfileCrawler inherits from ProfileCrawler, and is used to include the user addresses and other user information. The AddressPropertiesToIndex property is where you specify which address fields are to be include in the index. All address properties are added to the _content index field.