473,563 Members | 2,709 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Index Server & Site Server + PDFs

I fire the following code on Index Server (different obj) and it returns
a PDFs no problem, but when I change the object to use the MSSearch for
Site Server I don't get any PDFs. Anything in the code that would cause
this? I can see the PDFs getting crawled in Site Server, but when I try
and search I don't get any pdfs. :<


<%
Set objQuery = Server.CreateOb ject ("MSSearch.Quer y")
objQuery.Catalo g = "test"
objQuery.Query = "jerkstore. pdf"
objQuery.Column s = "Title, DocAddress, Description, Rank"
objQuery.SortBy = "Rank[d], Title"
objQuery.MaxRec ords = 100
Set objRS = objQuery.Create Recordset ("sequential ")
Response.Write objRS.Propertie s ("RowCount") & " documents match the
query<BR><BR>"
Response.Write "<TABLE BORDER=1>"
For I = 0 To objRS.Fields.Co unt - 1
Response.Write "<TH><STRON G>" & objRS (I).Name & "</STRONG></TH>"
Next
Do While Not objRS.EOF
Response.Write "<TR>"
For I = 0 To objRS.Fields.Co unt - 1
Response.Write "<TD>" & objRS (I) & "</TD>"
Next

Response.Write "</TR>"
objRS.MoveNext
Loop
Response.Write "</TABLE>"
objRS.Close
Set objRS = Nothing
Set objQuery = Nothing
%>
Jul 19 '05 #1
6 2296
why not try

objQuery.Query = "@filename jerkstore.pdf"
"Dave Karmens" <dk*******@HOTM AIL.COM> wrote in message
news:Ou******** ******@TK2MSFTN GP10.phx.gbl...
I fire the following code on Index Server (different obj) and it returns
a PDFs no problem, but when I change the object to use the MSSearch for
Site Server I don't get any PDFs. Anything in the code that would cause
this? I can see the PDFs getting crawled in Site Server, but when I try
and search I don't get any pdfs. :<


<%
Set objQuery = Server.CreateOb ject ("MSSearch.Quer y")
objQuery.Catalo g = "test"
objQuery.Query = "jerkstore. pdf"
objQuery.Column s = "Title, DocAddress, Description, Rank"
objQuery.SortBy = "Rank[d], Title"
objQuery.MaxRec ords = 100
Set objRS = objQuery.Create Recordset ("sequential ")
Response.Write objRS.Propertie s ("RowCount") & " documents match the
query<BR><BR>"
Response.Write "<TABLE BORDER=1>"
For I = 0 To objRS.Fields.Co unt - 1
Response.Write "<TH><STRON G>" & objRS (I).Name & "</STRONG></TH>"
Next
Do While Not objRS.EOF
Response.Write "<TR>"
For I = 0 To objRS.Fields.Co unt - 1
Response.Write "<TD>" & objRS (I) & "</TD>"
Next

Response.Write "</TR>"
objRS.MoveNext
Loop
Response.Write "</TABLE>"
objRS.Close
Set objRS = Nothing
Set objQuery = Nothing
%>

Jul 19 '05 #2
OK, I changed it to:

objQuery.Query = "@filename service"

And I get several PDFs, but when I remove the @filename I get 0 PDFs.

Hilary Cotter wrote:
why not try

objQuery.Query = "@filename jerkstore.pdf"
"Dave Karmens" <dk*******@HOTM AIL.COM> wrote in message
news:Ou******** ******@TK2MSFTN GP10.phx.gbl...
I fire the following code on Index Server (different obj) and it returns
a PDFs no problem, but when I change the object to use the MSSearch for
Site Server I don't get any PDFs. Anything in the code that would cause
this? I can see the PDFs getting crawled in Site Server, but when I try
and search I don't get any pdfs. :<


<%
Set objQuery = Server.CreateOb ject ("MSSearch.Quer y")
objQuery.Cata log = "test"
objQuery.Quer y = "jerkstore. pdf"
objQuery.Colu mns = "Title, DocAddress, Description, Rank"
objQuery.Sort By = "Rank[d], Title"
objQuery.MaxR ecords = 100
Set objRS = objQuery.Create Recordset ("sequential ")
Response.Writ e objRS.Propertie s ("RowCount") & " documents match the
query<BR><BR> "
Response.Writ e "<TABLE BORDER=1>"
For I = 0 To objRS.Fields.Co unt - 1
Response.Writ e "<TH><STRON G>" & objRS (I).Name & "</STRONG></TH>"
Next
Do While Not objRS.EOF
Response.Write "<TR>"
For I = 0 To objRS.Fields.Co unt - 1
Response.Writ e "<TD>" & objRS (I) & "</TD>"
Next

Response.Write "</TR>"
objRS.MoveNext
Loop
Response.Writ e "</TABLE>"
objRS.Close
Set objRS = Nothing
Set objQuery = Nothing
%>


Jul 19 '05 #3
That is only returning PDFs with the filename that match the query...

Hilary Cotter wrote:
why not try

objQuery.Query = "@filename jerkstore.pdf"
"Dave Karmens" <dk*******@HOTM AIL.COM> wrote in message
news:Ou******** ******@TK2MSFTN GP10.phx.gbl...
I fire the following code on Index Server (different obj) and it returns
a PDFs no problem, but when I change the object to use the MSSearch for
Site Server I don't get any PDFs. Anything in the code that would cause
this? I can see the PDFs getting crawled in Site Server, but when I try
and search I don't get any pdfs. :<


<%
Set objQuery = Server.CreateOb ject ("MSSearch.Quer y")
objQuery.Cata log = "test"
objQuery.Quer y = "jerkstore. pdf"
objQuery.Colu mns = "Title, DocAddress, Description, Rank"
objQuery.Sort By = "Rank[d], Title"
objQuery.MaxR ecords = 100
Set objRS = objQuery.Create Recordset ("sequential ")
Response.Writ e objRS.Propertie s ("RowCount") & " documents match the
query<BR><BR> "
Response.Writ e "<TABLE BORDER=1>"
For I = 0 To objRS.Fields.Co unt - 1
Response.Writ e "<TH><STRON G>" & objRS (I).Name & "</STRONG></TH>"
Next
Do While Not objRS.EOF
Response.Write "<TR>"
For I = 0 To objRS.Fields.Co unt - 1
Response.Writ e "<TD>" & objRS (I) & "</TD>"
Next

Response.Write "</TR>"
objRS.MoveNext
Loop
Response.Writ e "</TABLE>"
objRS.Close
Set objRS = Nothing
Set objQuery = Nothing
%>


Jul 19 '05 #4
> I fire the following code on Index Server (different obj) and it returns
a PDFs no problem, but when I change the object to use the MSSearch for
Site Server I don't get any PDFs. Anything in the code that would cause
this? I can see the PDFs getting crawled in Site Server, but when I try
and search I don't get any pdfs. :<


Do you have the iFilter installed for PDFs?

Jul 19 '05 #5
Yup.

Jtyc wrote:
I fire the following code on Index Server (different obj) and it returns
a PDFs no problem, but when I change the object to use the MSSearch for
Site Server I don't get any PDFs. Anything in the code that would cause
this? I can see the PDFs getting crawled in Site Server, but when I try
and search I don't get any pdfs. :<

Do you have the iFilter installed for PDFs?

Jul 19 '05 #6
Yup.

Jtyc wrote:
I fire the following code on Index Server (different obj) and it returns
a PDFs no problem, but when I change the object to use the MSSearch for
Site Server I don't get any PDFs. Anything in the code that would cause
this? I can see the PDFs getting crawled in Site Server, but when I try
and search I don't get any pdfs. :<

Do you have the iFilter installed for PDFs?

Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
6320
by: Lab309 | last post by:
The problem I'm trying to solve is as follows: The website has two subdirectories: /ordinary and /phpstuff. Users typing hostname/ordinary get the file index.htm by default, and this works fine. Users typing hostname/phpstuff don't get anything because there is no index.htm there, only index.php. What can I put in an index.htm file that'll...
25
2800
by: John Morgan | last post by:
Though I have designed and implemented a number of large reasonably well received web sites I do not consider myself a graphics designer I am now for the first time going to work with a graphics designer. I notice that in the draft design the idea will be that many 'pages' will in fact be pdf files. I suppose I exaggerate slightly but the...
2
1466
by: P1ayboy | last post by:
Does anyone know of anyways to search or index pdf's using .net?
0
967
by: Brett Ossman | last post by:
Users are recently encountering problems loading PDFs from our web site. Two contributing factors seem to be an Acrobat upgrade to version 7.x and possibly larger PDFs (multiple MBs). Any thoughts? Thanks
1
1505
by: strycat | last post by:
Hi, According to http://www.php.net/manual/en/faq.using.php#faq.using.freepdf you can use Panda to create PDFs with PHP. Does anyone know how to do this? I've tried installing Panda and recompiling PHP but I'm not getting anywhere. Is there a How-To somewhere? I should note that there is also a comment on that same page saying Panda...
26
3720
by: Craig Morrison | last post by:
I'm getting this: PHP Notice: Undefined index: D1 in /var/www/html..... From this line of code: $id_option = $_POST; Which is posted by this:
2
7957
by: Sergej | last post by:
Hi! Everything on my php&mysql site is with charset utf8, and now I've to create pdf from the site... Fpdf doesn't support utf8... I saw ufpdf but it seems a quite unstable and with bugs. Could someone tell me other way to create pdf from utf8? Thansk. Greetings from Sardinnia,
5
3385
by: iaminsik | last post by:
I implemented a TRIE in memory by myself in C. But, as you know, when a size of data increases, loading time of data becomes longer. I want to implement a TRIE in file, which means division of INDEX & DATA in file and whenever a user asks a data, TRIE accesses a disk according to INDEX.
4
6286
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59 Notice: Undefined index: args in /home/mattehz/public_html/acssr/trunk/inc_error.php on line 92 Warning: Invalid argument supplied for...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7885
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7948
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.