SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    blonde.... Sarah's Avatar
    Join Date
    Jul 2001
    Location
    Berkshire, UK
    Posts
    7,442
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    IIS and Microsoft indexing facility - how do I get a search working?

    When I inherited a a website I also got some very randem code which USED to allow me to search teh site. But on placing this on a new server typically the search doesn't work and I know have to figure what was done.

    This is the scenario:

    IIS 5
    Indexed the files using the microsoft indexing facility
    my search form code:

    Code:
    <form action="query.idq" method="GET">
    Enter your query below:
    <input type="TEXT" name="CiRestriction" size="65" maxlength="100" value="">
    <input type="SUBMIT" value="Go">
    info in query.idq page (what code is this??)
    Code:
    CiColumns=filename,size,rank,characterization,vpath,DocTitle,write
    CiFlags=DEEP
    CiRestriction=%if FreeText eq on% $contents "%CiRestriction%" %else% %CiRestriction% %endif%
    CiMaxRecordsInResultSet=300
    CiMaxRecordsPerPage=%CiMaxRecordsPerPage%
    CiScope=%CiScope%
    CiTemplate=/script/%TemplateName%.htx
    CiSort=%CiSort%
    CiForceUseCi=true
    I then have a query_ds.htx file and a search_stn.html file and loads more.

    So does anyone recognise this as a certain type of code? can anyone point me in the right direction of what I 'should' be doing. I have no problem ditching this code and writing something new. As long as it uses the index facility as detailed above.

    I can write this in PHP and create an indexed table BUT as the website isn't in a dB as yet that would be a lot of work but if that is what I need to do then fine.

    I appreciate any thoughts / comments / laughter anything

    Thanks

    Sarah
    Regular user

  2. #2
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •