You can verify that IBM Content Search Services indexing is working correctly by creating a document, submitting an index request, and running a content search query to confirm the document is indexed and searchable.
About this task
In this verification test you send a query that searches for text that you know is in a document.
If the query successfully finds the document, then you know that your IBM Content Search Services configuration is working properly. If the query fails, there are
some steps at the bottom of the verification test to help you fix the problem.
Procedure
To verify the IBM Content Search Services
installation:
- Start Administration Console for Content Platform Engine if you did not already do so:
-
On any computer, open a browser and navigate to the Administration Console for Content Platform Engine logon page:
- In
a standard availability environment, the logon page is at
http://CPE_Server:port/acce.
CPE_Server is the name of the system where Content Platform Engine is deployed. port is the HTTP port that is
used by the application server where Content Platform Engine is
deployed.
- In a high availability environment, the logon page is at
http://virtual_server:port/acce.
virtual_server is the name of the load balancer or proxy server where the
clusters of Content Platform Engine is deployed. port is
the port number of the load balancer or proxy server.
- Log on as the gcd_admin user.
- Make sure that you completed the tasks explained in Configuring Content Platform Engine for IBM Content Search Services
- Create a document:
- In the navigation pane, under an object store, right-click
the folder (or one of its subfolders) and choose New
Document.
- Complete the New Document wizard steps.
- Submit an index request for the document:
- In the details pane, click the tab for the newly created
document.
- Click Actions, and choose Index
for Content Search.
Wait a few minutes to allow
time for the index request to be submitted and completed.
-
Verify that the document is successfully indexed:
- In the navigation pane, under the object store, click Search.
- In the Search tab of the details
pane, click New Object Store Search.
- In the New Object Store Search tab
of the details pane, click SQL View.
- Enter the following SQL query in the Query box and click Run.
SELECT d.This FROM your_class_name d
INNER JOIN ContentSearch c
ON d.This = c.QueriedObject
WHERE CONTAINS(d.*, 'your_search_string')
- In the Search Results tab, verify
that the SQL query found your document.
Results
If
your query finds the document you were looking for, then IBM Content Search Services is working properly. If it does not find the document, check the SQL Text query syntax and issue
it again. If it still fails, see Checking IBM Content Search Services for common errors to carry
out initial steps to try to fix the problem.
What to do next
After you verify the IBM Content Search Services installation, you can create synonyms for your search terms to
improve the results of your search queries. By using synonyms, you can search for words that are
specific to your organization, such as acronyms and technical jargon.