Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Indexing Service

Status
Not open for further replies.

onedizzydevil

Programmer
Mar 24, 2001
103
US
I am using the Indexing Service and an MP3 IFilter to index music files and I have all of the field names from MSDN and I can search it fine without too many problems; however, I want to be a to click on a "More Details" link and be able to show all the field data on a specific entry. I was trying to use the "WorkID" which is listed as the "Internal ID for document. This is used within Indexing Service."

In the Query I am using objQuery.Query = "{prop name=WorkID}"&Request.Querystring("WorkID") as it says in the MSDN instructions. But nothing shows up and I know it exisits because I received from a list of results on a previous page.

Below is the showDetails code on the page, I am sending in the this Querystring ?pageNo=1&showResults=0&showDetails=1&txtQuery=Buffet&WorkID=3259):

<!-- ::Start Section:: showDetails -->
<!-- ::Comments:: Variables Define at TOP -->


<%
if Request.Querystring(&quot;showDetails&quot;)=&quot;1&quot; Then

Set objQuery = Server.CreateObject(&quot;ixsso.Query&quot;)
objQuery.Query = &quot;{prop name=WorkId}&quot;&Request.Querystring(&quot;WorkId&quot;)
objQuery.Columns = &quot;WorkId, filename&quot;
objQuery.Catalog = &quot;D:\Index Server Catalogs\JukeBox&quot;
objQuery.SortBy = &quot;filename [a]&quot;

Set rsQuery = objQuery.CreateRecordset(&quot;nonsequential&quot;)
%>

<%=rsQuery(&quot;filename&quot;)%>

<% end if %>
<!-- ::End Section:: showDetails -->


Thanks for any help on this matter.

Wayne Sellars

&quot;Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top