Installation verification on UNIX
Complete the following steps to verify that Net Search Extender is correctly
installed.
- Follow these steps to call the administration script nsesample to
set up the text indexes:
- Change to <instance_owner_home>/sqllib/samples/db2ext
- Call ./nsesample <yourdb>. Note that this command
creates the database if it does not already exist.
- Check the generated output file nsesample.log in your home
directory.
- Then call some sample queries to execute in the same DB2 command window:
- Connect to your database using db2 connect to <yourdb>
- Execute the sample queries using db2 -tvf search
- Check the results of the queries contained in the script. Note that every
query should return one or more hits.
If there are no errors in the nsesample.log file and all the
queries are working, Net Search Extender is successfully installed.