IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 20th, 2004, 09:59 AM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 10th Plane (9500 - 9999 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 9,894 ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 2 Weeks 5 Days 14 h 53 m 10 sec
Reputation Power: 820
Facebook
IIS Indexing PDF's

Hi everyone, I'm hving a bit of trouble with IIS6 on win2k3...

I've made a site, and I want part or the site be able to search through the contents of a directory. The dir will just have pdfs in it, and I want to be able to go through them all looking for particular strings...

I've got Index Servic running, and it has indexed the correct directory, and I've instelled the Adobe Ifilter, to allow indexing of pdf files...

All seems to be fine so far, and it even works when I click on hte "Query the catalogue" link in the snap in! So it is going through the pdfs fine...

My problem [query] is this...
I found a link to [ http://www.planet-source-code.com/v...&txtCodeId=6209 ] somewhere in devarticles, and in this document, the author says
Quote:
Find the physical directory that contains the queryhit.htm page (I think it's in Inetpub/samples/search/ but I'll have to check tomorrow.)* Open up the queryhit.htm, queryhit.htx, and queryhit.idq files that are used in the Index Server example query using your Interdev 6.0 and look at the code.


The whole point was to edit the files, to make them fit your site... I have no such directory, and even searching my computer for files of *.htx" extentions yields no results...

So, basically, am I just wasting my time trying to get the catalogue search thingy to be part of my site, or is it actually possible?

Thanks for reading!

<edit>Sorry for rambling, but it's all quite tricky to explian! I hope you understood, and can help!!</edit>
__________________
Support requests via PM will be ignored!
Sites: Route of Queue | Sinthetic - Alternative UK Hiphop
Read These: The General Rules Thread | The General FAQ Thread | NEW USERS - How to post a question

Sign up with Matched.co.uk and earn up to £15 per website every month!


Reply With Quote
  #2  
Old April 22nd, 2004, 03:22 AM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 10th Plane (9500 - 9999 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 9,894 ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 2 Weeks 5 Days 14 h 53 m 10 sec
Reputation Power: 820
Facebook
No-one?!

Reply With Quote
  #3  
Old April 22nd, 2004, 09:30 PM
Doug G Doug G is online now
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,713 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 m 44 sec
Reputation Power: 688
I don't know, sorry.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #4  
Old April 27th, 2004, 12:29 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 10th Plane (9500 - 9999 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 9,894 ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 2 Weeks 5 Days 14 h 53 m 10 sec
Reputation Power: 820
Facebook
Just in case anyone's interested, this is the ASP script I came up with to access the Indexed catalogue from my site...
Feel free to butcher away...
Code:
<%@ Language="VBScript" %>
<% Option Explicit %>
<html>
<body>
...
Suchen nach...<br>
<form action="searchpdfs.asp" method="get" style="display:inline;">
    <input type="text" name="query" size="40" />
    <input type="submit" value="Search" />
</form>
</center>
<%
Dim strQuery
Dim objQuery
Dim rstResults
Dim objField

strQuery = Request.QueryString("query")
If strQuery <> "" Then
    Set objQuery = Server.CreateObject("ixsso.Query")

    With objQuery
        .Catalog    = "datasheets"
        .Query      = "%"&strQuery&"%"
        .MaxRecords = 100
        .SortBy = "rank [d]"
        .Columns = "filename, path, size, write, " _
            & "characterization, " _
            & "rank, hitcount"
    End With

    Set rstResults = objQuery.CreateRecordset("nonsequential")
    Set objQuery = Nothing

    If rstResults.EOF Then
        Response.Write "Sorry. No results found."
    Else
        Response.Write "<p><strong>"
        Response.Write rstResults.RecordCount
        Response.Write "</strong> Ergebnisse:</p>"

        Do While Not rstResults.EOF
%>
<div style="font-family:tahoma; font-size:12px; color:black; text-align:left; border:1px solid #808080; background:#bcc6ca; padding:4px;" onMouseOver="this.style.background='#c2d9e4';" onMouseOut="this.style.background='#bcc6ca';">
	<div style="font-size:14px; font-weight:bold;"><%=rstResults.Fields("rank")%> ~ <%=rstResults.Fields("filename")%></div>
	<div style="font-size:14px;"><%=rstResults.Fields("characterization")%></div>
	<div style="font-size:14px;"><%=CurrentURL%>/<%=strTempPath%></div>
	<div style="font-size:14px; font-weight:bold;"><%=rstResults.Fields("size")%> | <%=rstResults.Fields("hitcount")%> | <%=rstResults.Fields("write")%></div>
</div><br />
<%
            rstResults.MoveNext
        Loop
    End If
    Set rstResults = Nothing
End If
%>
</body>
</html>

Last edited by ChiefWigs1982 : May 3rd, 2004 at 02:09 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS Indexing PDF's


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway