We help IT Professionals succeed at work.

Characterization field returns empty when Index Server Catalog is queried

rsgibson
rsgibson asked
on
Hello all,

I am using IIS5 Win2k Server, sp2.  I have created a catalog and am querying
successfully from an asp page except for the characterization field.  This
field does not get populated.  I've attached my asp code below.  Any help
would greatly be appreciated.

Thanks in advance!

-rg

==========================================

<!-- Beginning of Main Content -->

<%
if Request.Form("qtype") = "" then
%>
 Show advanced search form here...
<%
else
 dim ixQuery, ixRs, docTitle, strURL

 set ixQuery = Server.CreateObject("ixsso.Query")
  ixQuery.Catalog = "CatalogName"
  ixQuery.Columns =
"filename,size,rank,characterization,vpath,DocTitle,write"
  ixQuery.SortBy = "rank[d]"
  ixQuery.CiFlags = "DEEP"
  ixQuery.CiScope = "/"
  ixQuery.MaxRecords = 300
  ixQuery.Query = "(" & Request.Form("strQuery") & ") & (! #vpath *\_vti*) &
(! #vpath *\_private\*) & (! #vpath *\_derived\*) & (! #vpath *\_themes\*) &
(! #vpath *\_overlay\*) & (! #vpath *\_fpclass\*) & (! #vpath *\_borders\*)
& (! #vpath *\includes\*) & (! #vpath *\scripts\*) & (! #vpath *\images\*)"

 set ixRs = ixQuery.CreateRecordset("nonsequential")
 ixRs.PageSize = 15

 if ixRs.RecordCount <=0 then
  Response.Write("<p>No matches found</p>")
 else
  do while not ixRs.eof
   docTitle = ixRs("doctitle")
   if docTitle = "" then
    docTitle = "Untitled"
   end if

   select case Left(ixRs("vpath"),9)
    case "/articles"
     if right(ixRs("vpath"),9) <> "index.asp" then
      strURL = "http://www.domainname.com/articles/index.asp?artid=" &
left(right(ixRs("vPath"),10),6)
     else
      strURL = "http://www.domainname.com" & ixRs("vpath")
     end if
    case else strURL = "http://www.domainname.com" & ixRs("vpath")
   end select

   Response.Write("<p><a href='" & strURL & "'>" & docTitle & "</a><br>")
   Response.Write("&nbsp;&nbsp;&nbsp;<b>Size:</b> " & ixRs("Size") & "<br>")
   Response.Write("&nbsp;&nbsp;&nbsp;<b>Author:</b> " & ixRs("Write") &
"<br>")
   Response.Write("&nbsp;&nbsp;&nbsp;<b>URL:</b> " & strURL & "<br>")
   Response.Write("&nbsp;&nbsp;&nbsp;<b>Digest:</b> " &
ixRs("characterization") & "</p>")

   ixRs.MoveNext
  loop
 end if

 set ixRs = nothing
 set ixQuery = nothing

end if
%>
<!-- End of Main Content -->
Comment
Watch Question

Commented:
In the mmc Indexing service
Verify for your catalog :

Generation

Generate Abstract (true ?)

Author

Commented:
Is that supposed to be a property?  I have a "generator" property, but no Generation or Gernerate Abstract.  Where would I set that?

Author

Commented:
Oops.. I found it.

Author

Commented:
Thanks for you help...

Commented:
Thanks

Happy to help you

Commented:
Heya,

I'm having the same problem, except I have Generation set to true...Any Ideas?

http://www.experts-exchange.com/jsp/qShow.jsp?ta=asp&qid=20285402

Explore More ContentExplore courses, solutions, and other research materials related to this topic.