Installation verification on Windows
Complete the following steps to verify that Net Search Extender is correctly
installed.
- Follow these steps to call the administration script nsesample.bat to set up the text indexes:
- Call db2cmd to open a DB2 command window.
- Change to <sqllib>\samples\db2ext
- From the DB2 command window, call nsesample.bat <yourdb>
where <yourdb> is the name of a database. Note that this command
creates the database if it does not already exist.
- Check the generated output file nsesample.log in the current
directory.
- Then call the following sample queries to execute in the 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.