Index Server Maddness

Results 1 to 2 of 2

Thread: Index Server Maddness

  1. #1
    Rob Guest

    Default Index Server Maddness

    While working with Index Server as Search function for the Site I&#039m building I am finding that it is bringing up files. Is there any way to make the query just serach for .asp files. When iterating through the Do While loop in the Recordset I used a conditional statement to weed out the .inc files but the numbers of RS.AbsolutePosition have holes in them. Anyone have any ideas???

  2. #2
    Rob Guest

    Default RE: Index Server Figured It Out

    If anyone ever needs this here&#039s the solution I used to just search asp pages ( include files) on your site......<BR><BR> set Q = Server.CreateObject("ixsso.Query")<BR> set util = Server.CreateObject("ixsso.Util")<BR><BR> Q.Query = CompSearch & " and #filename *.asp"<BR> Q.SortBy = "rank[d]"<BR> Q.Columns = "DocTitle, vpath, filename, size, write, characterization, rank, path"<BR> Q.MaxRecords = 300<BR><BR>The trick is " and #filename *.asp" appended on the SearchString which here is called CompSearch.<BR><BR>Rob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts