Found a solution to the problem, Don. All I needed to do is login into pgsql as nsadmin and once there, type:
i /www/myweb/www/doc/sql/rank-for-search.sql
I figured this out by typing out the script you include for loading the data model. The 'i' command did load the function rank-for-search.sql.
I'm a happy searcher now.