Getting filename query to honor index exclusions
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Index Server > Getting filename query to honor index exclusions




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Getting filename query to honor index exclusions  
Jim~C


Report This Message To A Moderator Edit/Delete Message


 
03-04-05 07:48 AM

Hi,

I'm using Index Server on Win Server 2k3 with the ixsso object to query the
"Web" catalog. Here's a code snippet:

Set objQuery = Server.CreateObject("ixsso.Query")
With objQuery
.Catalog    = "Web"
.Query      = "(@all " & strQuery & ") &! #path *\_vti_*"
.MaxRecords = 50
.SortBy = "rank [d]"
.Columns = "doctitle, filename, path, vpath, write, size, rank"
End With
Set rstResults = objQuery.CreateRecordset("nonsequential")

The problem is that the query does not honor the indexing restrictions setup
for certain folders when searching for filenames. For example, even though I
disable indexing on a particular folder, I still get filename matches from
that folder.

I want the index server query to honor these folder exclusions when it finds
matches not only in content but also by filename.

Does anyone know how I can accomplish this?

Thanks in advance!
Jim







[ Post a follow-up to this message ]



    Re: Getting filename query to honor index exclusions  
Hilary Cotter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-04-05 10:55 PM

Can you give us an example? I think the problem could be with your scopes
and how they map to the virtual directories.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

"Jim~C" <jdchanATnovusint.com> wrote in message
news:%23lZWQqHIFHA.1948@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> I'm using Index Server on Win Server 2k3 with the ixsso object to query
the
> "Web" catalog. Here's a code snippet:
>
>     Set objQuery = Server.CreateObject("ixsso.Query")
>     With objQuery
>         .Catalog    = "Web"
>         .Query      = "(@all " & strQuery & ") &! #path *\_vti_*"
>         .MaxRecords = 50
>         .SortBy = "rank [d]"
>         .Columns = "doctitle, filename, path, vpath, write, size, rank"
>     End With
>     Set rstResults = objQuery.CreateRecordset("nonsequential")
>
> The problem is that the query does not honor the indexing restrictions
setup
> for certain folders when searching for filenames. For example, even though
I
> disable indexing on a particular folder, I still get filename matches from
> that folder.
>
> I want the index server query to honor these folder exclusions when it
finds
> matches not only in content but also by filename.
>
> Does anyone know how I can accomplish this?
>
> Thanks in advance!
> Jim
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:48 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register