In IBM Content Manager (CM8) environments, optionally configure a default document type to use for full-text searches.
Configure IBM Content Manager Services for Lotus Quickr. See the topic Configuring the search service
in the IBM Content Manager Services for Lotus Quickr
information center for more information.
In CM8 environments, full-text search (typing words and searching without adding parameters) only returns indexed documents created or modified in IBM® Lotus® Quickr™ or Lotus Quickr connectors. Results are sorted by date last modified instead of relevance.
Defining a default document type adds a parameter (a document type) to every full-text search. This returns indexed documents of that type regardless of where they were created or modified, greatly widening the scope of the search. And results are ordered by relevance.
This does limit results to one document type. However, after searching users can use the Document Type
filter to search for documents of different types.
Perform these steps to configure a default document type:
- Decide on a CM8 Resource item type as the default document type, and on the CM8 server configure that item type to be text-searchable. See the topic Adding attribute information to an item type in the CM8 information center for information on making an item type text-searchable.
- Log in to the WebSphere Application Server administration console.
- Expand Resources.
- Expand Resource Environment.
- Click Resource Environment Providers.
- Click SearchPropertiesService.
- Click Custom properties.
- Click these links and specify properties:
Restart the search center application:
- ecmDefaultDocumentTypeForced: Specify as true. This forces search to use a default document type.
- ecmDefaultDocumentTypeName: Specify a name to display when the type is selected in the Document Types dialog. This should be the same as the CM8 Resource item type name.
- ecmDefaultDocumentTypeLabel: Specify a CM8 Resource item type name. This must be the symbolic name of the document type in the ECM system. Use the Content Manager administration client to inspect document types and find the symbolic name.
- In the WebSphere Application Server administration console expand Applications.
- Click Enterprise Applications.
- Select searchApp.
- Click Stop. Wait until you see a message that says the application stopped successfully.
- Select searchApp again.
- Click Start. Wait until you see a message that says the application started successfully.
Parent topic: Configuring ECM search: qp85