Installation
Internet Information Server V4.0 and authfilt.dll
If you installed SEARCH'97 Information Server V3.6 with Microsoft's Internet Information Server V4.0, and you then uninstall SEARCH'97 Information Server V3.6, the Verity ISAPI filter, authfilt.dll, is not removed from Internet Information Server.authfilt.dll in Internet Information Server, do the following:
authflt.dll security filter is set globally as an ISAPI filter. To limit the scope of the authflt.dll security filter, remove the ISAPI filter from the global context and apply it directly to the desired web server instance.
NOTE: If you use
-refresh in subsequent indexing jobs, the pointers to the deleted documents are removed.
inetsrch.ini file.If you use CGI for search, you do not need to restart your HTTP server before searching.
If you are running the Netscape Enterprise Server 2.0 on Solaris, you must also stop and restart the back-end search server. To do this, click the Stop Search Server button in the Admin Server Control section of Server Instance Options. It will restart automatically when required.
You can also directly kill the search server vhttp process from the command-line. The admin and search servers are both vhttp processes, running on different ports. By default, the search server port number is 8990. To determine your search server's port number, open the configuration file,
inetsrch.ini file, located in installdir/s97is/bin, and look for:
- [S97IS\Primary\RedirDefaults]
- redirPort=8990
-nostorage option is being maintained for use at the discretion of Verity Technical Support only. Unauthorized use of this option can cause indexing problems and system instability.
Verity Development is currently investigating a patch for this problem.
collsvc, has its own message databases. To run collsvc with a non-English locale, you must do two things:
collsvc message database files into the new locale directory.
collsvc messages will be in English, regardless of the locale.
collsvc -locale option.
C:\Verity\IS\s97is\locale\german
collsvc, see the Verity Spider User's Guide.
For example, from
/users/user1/spiderfile to /export/home/ns-home/docs7000/html with the relative path ../../../export/home/ns-home/docs7000/html.
/s97is/locale/language/system are never deleted. You may wish to periodically shut down the SEARCH'97 Admin server and delete them manually. Note that the numbered log files, such as 2.log, correspond to indexing jobs and contain the job's error and status messages. You may want to back up these files to another location for reviewing at a later time.To stop the admin server on UNIX, do the following:
cache directories of collections to which the job was indexing. You may want to delete these files manually. These files are in the collname/cache directory, where collname is the same as the collname.clm file name.
The GUI Spider creates five-collections-in-one meta collections, where each internal collection contains a single document type. The command-line Verity Spider V3.6, on the other hand, builds a single, universal collection containing all document types. This greatly increases the performance of indexing.
-timeout option, using a value less than 10 seconds. Keep in mind, however, that reducing the timeout value may cause you to miss sites which just take awhile to get to.
inetstd.hts, so users can view results. For an explanation of the JavaScript workaround, see "SearchURL Can Encounter 1k Limit" below.
NOTE: Due to the fact that the result link uses JavaScript, you cannot open the link in a new window to view a document. Simply click a link to view a result document in the same browser window.
Using HLNumber in a View Template
To use HLNumber to find out how many highlights are in a document, you must first stream the document using HTMLBodyPrint or HTMLBodyPrintPre. HLNumber is a property of the document object valid only in a view template, and is not set until a document is streamed. Calling HLNumber before using either HTMLBodyPrint or HTMLBodyPrintPre will not return a value. SearchURL Can Encounter 1k Limit
When using the GET method in forms, URLs are limited to 1 kilobyte in size. Because of the way it generates URLs, the URL_HTML variable can, under certain circumstances, create an URL longer than 1K. This can happen when your query text is longer than 80 characters, or when your search form contains more than four fields. This can create problems on results lists and document view pages. The solution is to disable SearchURL. The only practical effect this will have is to disable the Go Back to Results link on the view page, and require users to use the back button instead.SearchURL, do the following:
netsrch.ini file. Put it in the search defaults section for the SEARCH'97 Information Server instance on which you want to disable SearchURL.
[S97IS\Primary\Server\SearchDefaults]:- SupportSearchURL = no
SearchURL and the Go Back to Results link from your view templates.
Following is an example template with the necessary JavaScript:
- <html><head><title>SEARCH'97 Information Server - Default Template</title></head>
- <body bgcolor="#ffffff" text="#000000" link="#0000ee" vlink="551a8b" alink="ff0000">
- <img src="/search97img/rbanner.gif"><br>
- <% if Count( result.documents ) > 0 %>
- Your search matched <b>$$DocsFound</b> of <b>$$DocsSearched</b> documents.<br>
- <b>$$DocsCount</b> are presented, ranked by relevance.</br>
- <% if Count( result.pageurls ) > 1 %>
- <% for i = 1 to Count( result.pageurls ) %>
- <% if i != pagenumber %>
- <script language="javascript">
- function PageURL<% i %>()
- { document.fPageURL<% i %>.submit() }
- </script>
- <form method="POST" action="$$web.scriptname"
- name="fPageURL<% i %>">
- <% result.GetPageUrlKeys(i) %>
- </form>
- <% endif %>
- <% endfor %>
- <hr><center><% if pageNumber > 1 then %>
- <A HREF="javascript:PageURL<% pageNumber - 1 %>()">[Prev]</A>
- <% endif %>
- <% for i = 1 to Count( result.pageurls ) %>
- <% if i != pagenumber %>
- <A HREF="javascript:PageURL<% i %>()">$$i</A>
- <% else %>
- $$i
- <% endif %>
- <% endfor %>
- <% if pageNumber < Count( result.pageUrls ) then %>
- <A HREF="javascript:PageURL<% pagenumber + 1 %>()">[Next]</A>
- <% endif %></center>
- <% endif %><hr>
- <table>
- <tr><th>Rank</th><th>Score</th>
- <th align=left>Title/Information</th></tr>
- <% j = 1 %>
- <% foreach doc in result.documents %>
- <tr><td valign=top align=center>$$doc.Rank</td>
- <td valign=top align=center>$$doc.Score</td>
- <td><% if !IsEmpty(doc.GetUrlKeys()) then %>
- <script language="javascript">
- function DocURL<% j %>()
- { document.fDocURL<% j %>.submit() }
- </script>
- <form method="POST" action="$$web.scriptname" name="fDocURL<% j%>">
- <% doc.GetUrlKeys() %>
- </form>
- <A HREF="javascript:DocURL<% j%>()">
- <strong>$$doc.Title</strong></A>
- <% else %>
- <A HREF="$$doc.URL_HTML"><strong>$$doc.Title</strong></A>
- <% endif %>
- <i><font size=-1><% Left(doc.snippet,240) %>...</font></i>
- </td></tr>
- <% j = j + 1 %>
- <% endfor %>
- </table>
- <% if Count( result.PageURLS ) > 1 then %>
- <hr><center><% if pageNumber > 1 then %>
- <A HREF="javascript:PageURL<% pageNumber - 1 %>()">[Prev]</A>
- <% endif %>
- <% for i = 1 to Count( result.pageurls ) %>
- <% if i != pagenumber %>
- <A HREF="javascript:PageURL<% i %>()">$$i</A>
- <% else %>
- $$i
- <% endif %>
- <% endfor %>
- <% if pageNumber < Count( result.pageUrls ) then %>
- <A HREF="javascript:PageURL<% pagenumber + 1 %>()">[Next]</A>
- <% endif %></center>
- <% endif %><hr>
- <% else %>
- <center><b>No documents matched your query.</b></center>
- <% endif %></body></html>
To avoid this, make sure there are no CR-LF pairs in the lines which preceed the header and cookie-related methods. Also, if you edit SEARCHScript under Windows NT, make sure you are using a text editor that understands the UNIX convention (LF) for end-of-line.
"%changepw ../../user_db/verity.pwf admin set <newpassword>
The MM YY format is invalid and should not be used.
The MDY, DMY, YMD and YDM formats are not in and of themselves date formats expected by Information Server. Rather, they are used to specify parsing rules for numeric-only dates.
The default value for English is MDY and is set in the
ImpDateFmt field under the [Common] section of the configuration file, inetsrch.ini.
- [Common]
- ImpDatefmt=MDY
datefmt option in Appendix A of the Verity Collection Building Guide V2.4.