Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
General Reference
 Enabling Business Data Search
Community Content
In this section
Statistics Annotations (1)
Enabling Business Data Search

Enterprise Search in Microsoft Office SharePoint Server 2007 and the Business Data Catalog give you the ability to include business data from back-end applications, such as SAP or Siebel, in search queries. To enable business data search for an entity registered in the Business Data Catalog, you should supply the additions to the metadata that you need for search, and then configure search.

1. Supply Additions in Metadata for Search

A Business Data Catalog crawl has two phases:

  • ID enumeration in which the crawl fetches all entity instance IDs.

  • Detail fetch in which the crawl fetches details for each entity instance.

An IDEnumerator method returns the list of IDs (unique keys) for each entity that should be searchable, and the SpecificFinder metadata object returns details for each entity instance. This enables indexing of the entities whose IDs the IDEnumerator method returns.

To enable search in the Business Data Catalog, you must provide the following additions to your metadata:

  • Define an IDEnumerator method that returns the list of IDs (unique keys) of the entity that you want to make available in search results. For details, see Step 5 (Optional): Define IDEnumerator Methods and Enable Business Data Search.

  • Make sure the entity also has a SpecifcFinder metadata object defined for it.

  • If you require incremental crawl, make sure that one of the return fields in the IDEnumerator for the entity represents the time the entity instance (or row in database terminology) was last updated in the line-of-business (LOB) application. You should then set the __BdcLastModifiedTimestamp property of the entity with the name of the TypeDescriptor object in the return value of the IDEnumerator method that represents the last modified date.

  • The LastIdSeen filter enables chunking for IDEnumerator methods. For Web services and other nonstreaming back-end applications that return large amounts of data, you should use the LastIdSeen filter in your IDEnumerator method to improve performance, as follows:

    SELECT TOP 100 Id FROM Customers WHERE Id>=@LastIdSeen
    ORDER BY Id

2. Configure Search

You must configure Enterprise Search to search an application in the Business Data Catalog. The following topics explain how to do this:

After you complete these steps, content from your back-end application is available for search queries. Next, you must customize the search user interface, or create custom search applications, to execute queries against the business data content. For information about performing these next steps, see the following topics:

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Data Type of __BdcLastModifiedTimestamp return parameter is crucial      James Forrester   |   Edit   |   Show History
It should be noted that the return parameter of the IDEnumerator method to which the __BdcLastModifiedTimestamp refers must be of System.DateTime data type.
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker