Default NNTP Query Form Returns Blank Table Cells

ID: Q183723


The information in this article applies to:
  • Microsoft Index Server version 2.0


SYMPTOMS

When you issue queries using the sample NNTP query form that is shipped with Index Server 2.0, you may receive a result set that contains blank cells in the result table.


CAUSE

The code for the query form does not take into consideration that the default catalog is set to index both newsgroup articles and documents contained on the web server. The blank entries in the table are actually documents that were found on the web site that match the query. Because non- NNTP documents do not have the properties that are displayed on the result page, the cells are populated with null data.


RESOLUTION

To resolve this problem, you either need to create a separate catalog that indexes only NNTP articles, or modify the code of the NNTP sample search form so that it only returns documents with .nws extensions. The modification to the existing code is to modify the Q.Query line as follows:


   Q.Query = "(" & CompSearch & ") and #filename *.nws" 

Keywords :
Version : WINNT:2.0
Platform : winnt
Issue type : kbprb


Last Reviewed: May 6, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.