|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
IIS/Indexing service help!!
I posted this in the ASP forum but it's obviously the wrong place. I keep learning more about this subject the more i get into the IIS but i still don't know enough to do what i want. I'm running Windows XP Pro SP1 with IIS 5.1 installed. I'm trying to write a webpage form to access Indexing Service and search a set of documents on the server. The Index for the set of doc's is already set up and i have chosen to use the .IDQ/.HTX method to call the Index. I chose this method because it seemed like the easiest and there was sample form on the Microsoft site. Here is the code from my files:
Here's the code of my .IDQ file: [Query] CiCatalog=c:\Quotes CiScope=/ CiColumns=fileName, characterization, size, path, rank CiRestriction=%CiRestriction% CiTemplate=/Scripts/Quotes.htx CiSort=rank[d] CiFlags=DEEP CiMaxRecordsInResultSet=300 CiMaxRecordsPerPage=10 Here's the code of my .HTX file: <H4> <%if CiMatchedRecordCount eq 0%> No documents matched the query "<%EscapeHTMLCiRestriction%>".</H4> <%else%> <H4>Documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of <%if CiMatchedRecordCount eq CiMaxRecordsInResultSet%> the first <%endif%> <%CiMatchedRecordCount%> matching the query "<%EscapeHTMLCiRestriction%>". <%endif%> </H4> Here is the code of my HTML form: <HTML> <HEAD> <TITLE>Indexing Service Search Form</TITLE> </HEAD> <BODY> <FORM ACTION="Quotes.idq" METHOD="GET"> Search for: <INPUT TYPE="TEXT" NAME="CiRestriction" SIZE="30" MAXLENGTH="100" VALUE=""> <INPUT TYPE="SUBMIT" VALUE="Execute Query"> <INPUT TYPE="RESET" VALUE="Clear"> </FORM> </BODY> </HTML> My problem is that when i enter a search word into the form the IDQ code shows up in the browser window. I'm guessing that there is a breakdown between the HTM and the IDQ file or the IDQ file and the Indexing service. I thought that I directed the IDQ file properly by setting IIS to direct the IDQ extension to my IDQ.DLL file. Do i need to do anything else? Is my code missing something? Where should these files be stored? For your info the Filenames are Quotes.idq, Quotes.htm and Quotes.htx thank you for your help. |
|
#2
|
|||
|
|||
|
Index server is a foreign place for me, sorry. Perhaps someone familiar with index server can jump in, or maybe there is something at www.iisfaq.com
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > IIS/Indexing service help!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|