You can verify that the IBM Content Search Services upgrade was successful
by using Administration Console for Content Platform Engine to
create a search index job and checking to see whether the job returns
the correct index objects.
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 upgrade:
- 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.
- Open a folder that contains a document that
contains text that you will search on later.
If you do not have such a document, you can
create one for the purposes of this test, and then delete it later. Make sure that the account you
logged on as has at least the View content access level to the document,
since the security check performed on a query is done using the access rights of the documents that
are found by the query.
- On the Document tab, click Actions and
select . A notice indicates that
a content search index job was created successfully.
- Click the object store node for the document that you set
to index for content search and select the Index Jobs Manager node
in the tree.
-
In the Index Jobs Manager, check that the Job Status indicates that the
job ended normally.
Depending on the size of the indexing job, it might take a few
minutes for the indexing job to complete. If the Job Status indicates that the indexing is in
progress, wait a few minutes to give the job time to complete. If the Job Status does not indicate
progress, check the p8_server_error.log file on the application
server.
- Click the Search node and select New
Object Store Search.
-
Select SQL View.
-
Remove the default query text in the SQL Text field.
-
In the SQL Text field, enter the following query and click
OK:
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 objects are returned for your search.
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.