Spy-Server Configuration Screen Searching section

Last modified: 24 December 2003.
  • Home
  • Installation
  • Indexing
  • Configuration
  • Purchasing

  • Introduction

    Use the Searching section of the Spy-Server configuration screen to do these jobs: Once you have made any changes, click on the Make Changes button to effect the change.
    To remove a value for a field, replace the existing value with a space and press Make Changes.


    Partial screenshot of the online configuration screen Searching section:
    Config screen Searching section


    Current search database details

    Spy-Server can search one or more search databases. The top of the Searching section lists the search database counts, followed by parameters used in all searches.
  • Index description
  • Default target window
  • Rules file for word stemming and Synonyms

    The Searching section then:

    • lists all the current search databases
      Click on each search database filename to view its details, reload, change or remove it.

    • provides an option to add another search database.

    See the Indexing page for full details of Spy-Server search database filenames and directories.


  • Set the index description

    The Index Description is displayed by default in the heading of each page produced by Spy-Server.  The index description is initially picked up from the description of the first search database you make.  If you do not like this, then you can set a permanent override by entering your preferred text in the Index Description box and press Make Changes.

    Incidentally, you can also change an individual search database's description by setting an indexing run Advanced option
    Description=...new description...


    Specify the default browser window target

    If HTML frames are used on a web site, it is important that any Spy-Server result is displayed in the correct frame pane.  The indexers detect any use of frames and store the pane name as the "target" for each page.

    The default target is _self which is a special name that indicates that the hit should be shown in the current browser pane.

    If you want to specify a default target pane then enter this in the Default target box and press Make Changes.  Note that the default target will not override the target for a page stored in the search database, so the default target will only be used in the case where there is no target specified.

    There are various other special pane target names that you might want to use:

  • _blank opens a new browser window
  • _top shows the result in the whole of the current browser screen
  • _parent shows the result in the parent frame

  • Change the rules used by Spy-Server for word stemming and synonyms

    See the Rules file page for details of how Spy-Server uses a rules file to do word stemming and synonyms.  These features make it more likely to find results for users' searches.

    If you want to change or remove the rules file, enter the URL in the Rules file box and press Make Changes.

    Now check that the rules are working OK.


    Add to or change the search database list

    The Searching section initially shows a summary list of all the search databases that it is searching.

    Config screen Searching section search database list
    • To add a search database to the list, select a database from the drop-down list and click Add search database.  The search database must already exist - make one using an Indexing Run in the Indexing section.

    • Click on a search database filename to display its details.

      Config screen Searching section database detail

      To return to the summary, click on the small green button.

      The details of each search database are displayed, along with configuration parameters:

      • Additional Base URL
      • Whether the search database is included in the default search
      • Highlighting page
        The details also state if there are regular indexing runs that rebuild this search database.


    Reloading the current search database

    Press the Reload search database button to reload the current search database.

    In most cases this is not necessary because the current search database will be reloaded automatically when an indexing run completes.  However if you have just uploaded a new search database created by Spy-CD-Wizard, then you will need to press Reload search database to use the new search database.


    Change the search database

    To change the search database, select a different filename in the Search database box and press Make Changes.  Confirm that the new search database details are shown correctly.  Also review the Index description and change it if necessary.

    See the Indexing page for full details of Spy-Server search database filenames and directories.


    Specify any additional Base URLs

    When Spy-Server or Spy-CD-Wizard indexes a site to create a search database, it stores a basic filename for each page URL.  If there is a common initial host name for a site, then this is stored as a Base URL.  If the Base URL is http://www.phdcc.com/ and the filename is spy-server/index.html then the page displayed when the user clicks on a hit in a results sheet will be http://www.phdcc.com/spy-server/index.html.

    Search databases created by Spy-Server usually have the site host name as the Base URL.  However, those created by Spy-CD-Wizard will usually have an empty Base URL.  If you need to specify a Base URL for this case, then put the new Base URL into the Additional Base URL box and press Make Changes.

    Note that the Additional Base URL will not override the Base URLs that are contained within the search database.  However it will be used if there is no Base URL in the search database.


    Include in default search

    If the Included in search box is checked, then Spy-Server includes this search database in default searches.

    You can set up searches where the user is provided with a list of the available search databases, with check boxes letting the user choose which ones to include in the search.  See the Subsets page for full details.


    Enable word highlighting by specifying the highlighting page

    See the Word highlighting page for details of how to set up word highlighting for Microsoft Internet Explorer 4 or later in Windows.

    Once you have put the necessary word highlighting files on your server, enter the URL to the highlighting page in the Highlighting page box and press Make Changes.

    Now check that highlighting works OK.


    Spy-Server online
    Find in Site search engines for MS-servers, Java-servers and CDs/DVDsSpy-Server is part of the FindinSite software range - search engines for MS-servers, Java-servers and CDs/DVDs