Escolar Documentos
Profissional Documentos
Cultura Documentos
Search Service
Steps to configure IBM Content Search Service on P8 Content Manager using ACCE
and perform customized text search by constructing SQL queries.
By Sudha Halebeedu
Abstract: Administrative Console for Content Engine (ACCE) is a web-based client user interface for executing
administrative tasks in IBM FileNet Content Engine. It has a search facility where in meta-data search can be performed on
document classes using IBM Content Search Service as your search engine. There is no readily available mechanism to
perform a full text search using the search dialogue. ACCE search dialogue provides an alternative search facility based on a
custom SQL query. This custom query interface can be exploited to perform full text searches. By forming a SQL query
which relates the system search index table and the custom document class of choice, the search engine can be tweaked to
perform a text search and return the resulting documents back to the user. This is a valuable feature that provides a
practical example of how to utilize ACCE to configure and perform content based searches.
About the author: Sudha H Prasanna is FileNet P8 Quality Assurance Engineer at IBM-ISL. She is
knowledgeable in most of the IBM Content Manager Installers like Content Engine, Process Engine, Application
Engine, Workplace XT, CFS-IS, CFS-CMOD and application servers like WebSphere Application Server, Oracle
WebLogic Server, JBoss Application Server, databases like DB2, MSSQL, Oracle and their configurations.
Reach out to her at h.p.sudha@in.ibm.com
Prerequisites
1. Install IBM Content Search Services 5.2. Refer the below link for further details.
http://pic.dhe.ibm.com/infocenter/p8docs/v5r2m0/index.jsp?topic=%2Fcom.ibm.p8.install.doc
%2Fp8pin273.htm
2. Install IBM FileNet P8 5.2. Refer to the Info center link for installation details.
http://pic.dhe.ibm.com/infocenter/p8docs/v5r2m0/index.jsp?topic=%2Fcom.ibm.p8toc.doc%2Fichomepage.html
Overview
Administrative Console for Content Engine (ACCE) is a web-based client user interface for
executing administrative tasks in IBM FileNet Content Engine. It has a search facility where in metadata search can be performed on document classes using IBM Content Search Service as your search
engine. There is no readily available mechanism to perform a full text search using the search dialogue.
ACCE search dialogue provides an alternative search facility based on a custom SQL query. This
custom query interface can be exploited to perform full text searches. By forming a SQL query which
relates the system search index table and the custom document class of choice, the search engine can be
tweaked to perform a text search and return the resulting documents back to the user. This is a valuable
feature that provides a practical example of how to utilize ACCE to configure and perform content
based searches.
Detailed Instructions
I. Configure IBM Content Search Services servers on P8 Content
Engine
To configure IBM Content Server services on Content Engine
1.
2. Double-click Text Search Servers and click on New to create CSS server instance in ACCE.
Ensure the IBM CSS server is running before you proceed to create Text Search Server.
Figure 2. Enter the name of the IBM Content Search Services server
3. Enter the IP address or host name of the IBM Content Search Services server, Port number to
communicate with IBM FileNet Content Engine Server and the authentication code used to identify the
IBM CSS server to Content Engine Server. Click Next.
4. Check the summary page and click Finish to complete the Text Search Server creation in ACCE.
5. Go to Text Search Server tab and click Refresh to see IBM Content Search Services server
created.
5. Configure Object store for CBR, select the object store on which you want to enable text search.
6. Enable Object store for CBR and set the language for or indexing of documents, Click Save.
2. Open RootFolder that contains documents on which you want to perform text search.
3.
4.
5.
Switch to SQL View tab, clear SQL Statement text box and construct SQL query.
A CBR query includes a CONTAINS function call to perform a full-text search. The SQL statement for
a query begins with SELECT This, followed by the SQL commands for column definitions and search
criteria.
6.
Check the query status, verify the objects are returned for your search.
7.
Similarly, change the SQL command with different column definitions and search criteria.
8.
Check the query status, verify the objects are returned for a given search criteria.
IV.
2. Click Save.
3. Create new string properties and associate them with Folder class.
6. Click Next and verify the summary page, click on Finish to complete the string property creation.
9. Click Save.
10. Enable CBR for each string property associated with Folder class, select the folderproperty1
property from the 'Property Definitions' list in the Properties tab.
15. Click on New Object Store Search to construct SQL query in SQL View tab.
Select d.this, d.Creator, d.folderproperty1, d.folderproperty2, d.folderproperty3, c.rank[content.rank]
FROM Folder d inner join contentsearch c on d.this = c.queriedobject WHERE contains(d.*, 'folder*')
Figure 32. SQL Statement
2.
3.
Click Save.
Create new string properties and associate them with Custom Object class.
4.
5.
Select the Data Type from the list and click Next.
6.
Click Next and verify the summary page, click Finish to complete the string property creation.
Figure 39.
7. Add properties to the Custom Object class from Property Definitions tab and click OK to add
properties.
8. Click Save.
9. Enable CBR for each string property associated with Custom Object class, select the
custObjProp1 property from the list of properties in the 'Property Definitions' in the Properties tab.
Scroll down to enable CBR for the property.
Similarly, enable CBR for the other custom object properties 'custObjProp2', 'custObjProp3'.
10. Create the objects for the Custom Object class.
12. Click Next and check the summary page click Finish to complete the custom object creation.
Similarly, create custom objects to perform the full text search on the objects as shown below:
13. Scroll down to set the values to the string properties for each custom objects created above and
Click Save.
Similarly set the values for the other custom objects also.
14. Click on New Object Store Search to construct SQL query in SQL View tab.
Select d.this, d.Creator, d.custObjProp1, c.rank[content.rank] FROM customobject d inner join
contentsearch c on d.this = c.queriedobject WHERE contains(d.*, 'samplevalue*')
Conclusion
This article has guided you through how to configure IBM Content Search
Services server in Administration Console for Content Engine and
performing full text search on Document class, Folder class and Custom
Object class by constructing the SQL queries.
References
http://pic.dhe.ibm.com/infocenter/p8docs/v5r2m0/index.jsp?topic=%2Fcom.ibm.p8.relnotes.doc%2Fwn_css.htm
http://pic.dhe.ibm.com/infocenter/p8docs/v5r2m0/index.jsp?topic=%2Fcom.ibm.p8.ce.admin.tasks.doc%2Faboutacce
%2Facce_start.htm&resultof%3D
%2522%2561%2563%2563%2565%2522%2520%2522%2561%2563%2563%2522%2520