SunQuest
           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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 23rd, 2004, 01:35 PM
bcnae99 bcnae99 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 bcnae99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question IIS Index Search

Hello all....

I am developing an intranet and not familiar with search scripts.

I have a file structure with allot of .doc, .xls, and .pdf files in various directories. I am trying to find a way to perform a search against the index that iis has created.

My ultimate goal would be to enter in the name or part of a name of a file I wanted and it return a link for me.

I’m sorry it this doesn’t make any sense, but I am a newbie at this, so please go easy on me!

Brian

Reply With Quote
  #2  
Old June 25th, 2004, 05:36 AM
mladenst mladenst is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 16 mladenst User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 28 m 52 sec
Reputation Power: 0
You're probably thinking of the search of the base which was created by indexing service. This is possible to do, but you need to write a script or a programme that would be able to do that. A good start point would be :
http://msdn.microsoft.com/library/d...progis_9nad.asp

Reply With Quote
  #3  
Old June 25th, 2004, 09:20 AM
bcnae99 bcnae99 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 bcnae99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the lead........

I downloaded the samples and started playing...but still having a hard time!

I do a search and it comes back with nothing but the code for the .idq file in the explorer window:

#
# This is the query file for the query.htm query form.
#

[Query]

# The CiCatalog variable must point to where the catalog (index) files
# are stored on your system. You will probably have to change this
# value. If this value is not specified, a default value is read from
# the registry from:
# HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ContentIndex\IsapiDefaultCatalogDirectory
#
# An alternate form of the catalog specification is query://machine/catalog
# This enables doing queries on a remote machine. Note that the user
# context issuing the query must have sufficient rights to access the
# network or the query will fail with access denied. By default the
# anonymous account is a local account that can't logon remotely. Either
# use a domain anonymous account or basic authentication. NTLM authentication
# will not work.

# CiCatalog=web <= COMMENTED OUT - default registry value used
CiCatalog=\\embxweb01\c$\Inetpub\catalog.wci

# These are the columns that are referenced in the .htx files
# when formatting output for each hit.

CiColumns=filename,size,characterization,vpath,DocTitle,write

# Do a recursive search (ie all directories under CiScope).
# The opposite is SHALLOW

CiFlags=DEEP

# The CiRestriction is the query. Here, it's just pass in from the
# form in the .htm file.

CiRestriction=%CiRestriction%

# Don't allow more than 300 total hits in the result set. It can be
# expensive for the server to allow this value to get too large.

CiMaxRecordsInResultSet=100

# Display CiMaxRecordsPerPage hits on each page of output.

CiMaxRecordsPerPage=10

# CiScope is the directory (virtual or real) under which results are
# returned. If a file matches the query but is not in a directory beneath
# CiScope, it is not returned in the result set.
# A scope of / means all hits indexed in the virtual namespace matching
# the query are returned. A scope of \ means all hits are returned.

CiScope=/

# This is the .htx file to use for formatting the results of the query.

CiTemplate=/Query.Htx

# This is the list of property names to use in sorting the results.
# Append [a] or [d] to the property name to specify ascending or
# descending. Separate keys in multi-key sorts with commas.
# For example, to sort on file write date ascending, then file size
# descending, use CiSort=write[a],filesize[d]

CiSort=rank[d]

# Setting CiForceUseCi to true means that the index is assumed to be
# up to date, so queries that might otherwise force a walk of the
# directory structure (find files older than X), will instead use
# the index and run more quickly. Of course, that means that the results
# might miss files that match the query.

CiForceUseCi=true

#
# Setting CiLocale allows the web master to override the locale sent from
# the browser. Supported locals include (from ISO 639:1988 language codes
# and ISO 3166 country codes):
#
# BG Bulgarian
# ZH Chinese
# ZH-CN Chinese/china
# ZH-TW Chinese/taiwan
# HR Croatian
# CS Czech
# DA Danish
# NL Dutch
# EN English
# EN-GB English-United kingdom
# EN-US English-United States
# FI Finnish
# FR French
# FR-CA French-Canadian
# FR-FR French-France
# DE German
# EL Greek
# IS Icelandic
# IT Italian
# JA Japanese
# KO Korean
# NO Norwegian
# PL Polish
# PT Portuguese
# PT-BR Portuguese-Brazil
# RO Romanian
# RU Russian
# SK Slovak
# SL Slovenian
# ES Spanish
# ES-ES Spanish-Spain
# SV Swedish
# TR Turkish
#
# The locale effects the formatting of dates, times, and numbers. Currency
# is formatted according to the locale of the web server. Locale is also
# used to select the word breaker, and the stop word list.
#
# The web master may want to allow the browser to send the locale when
# attempting to query for text in variety of languages. For example,
# given a single HTML page, one query couold be for German text (CiLocale=De)
# and another could be for Spanish text (CiLocale=Es). If CiLocale is
# not found in the IDQ file the locale send by the web browser is used. If
# no locale is send from the browser, the locale of the web server is used.
#
# The web browser sends its locale via the HTTP_ACCEPT_LANGUAGE parameter
#
#CiLocale=En-US <== specified by the web master
#CiLocale=%CiLocale% <== send from the HTML page
#CiLocale= <== value used from the web browser

#
# The CiDialect parameter specifies the version of the query language to
# use. 1 is the language used in previous versions of Indexing Service.
# 2 is a more advanced language. The default in 2 is for free-text queries.
# So for the query 'dog and cat', dialect 1 will find documents containing
# both words. Dialect 2 will find documents containing either word.
# Use dialect 1 to maintain backward-compatibility with previous versions
# of Indexing Service and dialect 2 to take advantage of new features.
# The default if no dialect is specified is 2.
#

CiDialect=2


What am i missing? Please Help :-)

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS Index Search


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 4 hosted by Hostway